summaryrefslogtreecommitdiff
path: root/gnosis.el
AgeCommit message (Expand)Author
2024-01-26gnosis-get-tags--unique: Use optional flatten argumentThanos Apollo
2024-01-26gnosis-select: Add flatten optional argumentThanos Apollo
2024-01-26Remove duplicate gnosis-db-initThanos Apollo
2024-01-26Redo initialization & Update version headerThanos Apollo
2024-01-19Refactor gnosis-review-note...Simarly to gnosis-add-note recent changes, more extensible & flexible. This makes it easier to maintain & add new note types in the future. Thanos Apollo
2024-01-19gnosis-review-commit: Use vc to create git repo...vc should also be used to "stage" and "commit" changes to db. Thanos Apollo
2024-01-19Update commentaryThanos Apollo
2024-01-19Revert "gnosis-db-init: Redo without length="...This reverts commit 2473e9127a8f8ece2bcb1052d5450834bbbbb4c8. During the this pull request on MELPA <https://github.com/melpa/melpa/pull/8890> Nicholas Vollmer pointed out that length= does not exist in Emacs < 28.1, but since we are using compat we can still use it. This was also suggested by Philip Kaludercic in this email in emacs-devel: <https://lists.gnu.org/archive/html/emacs-devel/2024-01/msg00682.html> I verified this by running emacs-27.2, length= was available thanks to compat Thanos Apollo
2024-01-19gnosis-edit-update-note: Use memq instead of memberThanos Apollo
2024-01-19gnosis-edit-note-contents: Use eq & nullThanos Apollo
2024-01-19gnosis-edit-mode: Update lighterThanos Apollo
2024-01-19gnosis-review--session: Refactor using read-multiple-choiceThanos Apollo
2024-01-19gnosis-review-is-due-p: Redo without if statementThanos Apollo
2024-01-19Fix typos & indentationThanos Apollo
2024-01-19gnsois-suspended-p: Redo without if statementThanos Apollo
2024-01-19Refactor note creation...- Added `gnosis-note-types` variable to store available note types (MCQ, Cloze, Basic, Double, y-or-n) - Updated `gnosis-add-note` function to dynamically call corresponding note creation functions based on selected type - Updated interactive prompt in `gnosis-add-note` to display available note types This commit enhances the flexibility & extensibility of note creation Thanos Apollo
2024-01-19Refactor directory and database naming conventions...- Updated gnosis-dir to use `locate-user-emacs-file` for consistent file location - Updated gnosis-images-dir to use `expand-file-name` for consistent filepath - Updated gnosis-db to use `expand-file-name` for consistent filepath in emacsql-sqlite initialization Thanos Apollo
2024-01-18gnosis-algorithm-next-interval: Always pass last-interval >=1Thanos Apollo
2024-01-18gnosis: Update docstringsThanos Apollo
2024-01-18gnosis-edit-note-contents: Insert note id as read-only...- Make sure note id value will not be changed Change suggested by Nicholas Vollmer Thanos Apollo
2024-01-18Rename gnosis-display functions...- No need to have them as 'hidden' with double dash (--) Change suggested by Nicholas Vollmer Thanos Apollo
2024-01-18gnosis--prompt: Update docstring...Fix quotes Thanos Apollo
2024-01-18gnosis-db: Remove warning from docstring...No need to warn user not to change the value of a defconst Change suggested by Nicholas Vollmer Thanos Apollo
2024-01-18Rename gnosis-cloze-char to gnosis-cloze-string...Change suggested by Nicholas Vollmer Thanos Apollo
2024-01-17Remove unnecessary progn's from cl-loop...cl-loop's do clause is an implicit progn. Thanos Apollo
2024-01-17gnosis-db-init: Redo without length=...Length= is available only for Emacs 28.1 > Pointed out by Nicholas Vollmer Thanos Apollo
2024-01-17Update gnosis-algorithm-next-interval...- Use keywords! - Add argument for initial-interval, successful-reviews, successful-reviews-c, fails-c, fails-t - Use initial-interval which is could be different for every note, instead of gnosis-algorithm-interval value. - Depending on the value of new arguments for total/consecutive fails/successful reviews calculate a different interval. Thanos Apollo
2024-01-16gnosis: Update docstrings & Add review schema commentsThanos Apollo
2024-01-16Update package commentaryThanos Apollo
2024-01-15[fix] Fix bug from 5fefd3d for multiple cloze review...- Update note after all clozes have been revealed and add comment as reminder Thanos Apollo
2024-01-15gnosis-review--algorithm: Use total successful reviews...Previous implementation was using total successful reviews in a row Thanos Apollo
2024-01-15[fix] gnosis-review-y-or-n...- Remove previous unused user-input keyword - Fix name typo Thanos Apollo
2024-01-14[fix] Fix gnosis-edit-mode-map...Having gnosis-edit-mode-map defined after gnosis-edit-mode does not work, it needs to be defined before Thanos Apollo
2024-01-14Add gnsois-review-y-or-n & update all other funcs for y-or-n typeThanos Apollo
2024-01-14Add gnosis-display-y-or-n-answer...Display answer for note with face depending on the value of success Thanos Apollo
2024-01-14Add gnosis-add-note--y-or-n & gnosis-add-note-y-or-n...Functions to add note type y-or-n, gnosis-add-note--y-or-n is the hidden function that interacts with gnosis-add-note-fields & gnosis-add-note-y-or-n that passes values interactively Thanos Apollo
2024-01-14Add gnosis-face-next-review & update docstrings for facesThanos Apollo
2024-01-14[fix] Fix review of cloze type...Fix typos and previously used logic Thanos Apollo
2024-01-14Add gnosis-display--next-review...Display next review value Thanos Apollo
2024-01-14Add gnosis-edit-save-exit...Function to exit recursive edit & save changes - Add gnosis-edit-exit on gnosis-edit-mode-map Thanos Apollo
2024-01-10gnosis-face-extra: Inherit italic...Use italic face & change foreground value This way we keep the same face but do not depend on markdown-mode --Suggested by Protesilaos Stavrou-- Thanos Apollo
2024-01-10gnosis-select & gnosis--insert-into: Update docstringsThanos Apollo
2024-01-10gnosis-compare-strings: Redo without let statementThanos Apollo
2024-01-10Redo gnosis-suspend-note...Use cl-defun and add optional value for unsuspend, this function should also be used to unsuspend notes Thanos Apollo
2024-01-10gnosis-edit-mode-map: Use exit-recursive-edit instead of throw 'exitThanos Apollo
2024-01-09Merge branch '#fix-review-due-notes' into testing...Redo checking if note is due - Avoid depending on emacsql - Seperate checking if it's suspended or not Thanos Apollo
2024-01-09Rewrite gnosis-review-get-due-notesThanos Apollo
2024-01-09Add gnosis-review-is-due-today-pThanos Apollo
2024-01-09Rewrite gnosis-review-is-due-pThanos Apollo
2024-01-09Add gnosis-past-or-present-p...Seperate the comparing of dates, emacsql is way too buggy for comparing lists directly Thanos Apollo