Age | Commit message (Expand) | Author |
2024-01-19 | Refactor 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-19 | Refactor 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-18 | gnosis-algorithm-next-interval: Always pass last-interval >=1 | Thanos Apollo |
2024-01-18 | gnosis: Update docstrings | Thanos Apollo |
2024-01-18 | gnosis-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-18 | Rename gnosis-display functions...- No need to have them as 'hidden' with double dash (--)
Change suggested by Nicholas Vollmer
| Thanos Apollo |
2024-01-18 | gnosis--prompt: Update docstring...Fix quotes
| Thanos Apollo |
2024-01-18 | gnosis-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-18 | Rename gnosis-cloze-char to gnosis-cloze-string...Change suggested by Nicholas Vollmer
| Thanos Apollo |
2024-01-17 | Remove unnecessary progn's from cl-loop...cl-loop's do clause is an implicit progn.
| Thanos Apollo |
2024-01-17 | gnosis-db-init: Redo without length=...Length= is available only for Emacs 28.1 >
Pointed out by Nicholas Vollmer
| Thanos Apollo |
2024-01-17 | Update 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-16 | gnosis: Update docstrings & Add review schema comments | Thanos Apollo |
2024-01-16 | Update package commentary | Thanos 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-15 | gnosis-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-14 | Add gnsois-review-y-or-n & update all other funcs for y-or-n type | Thanos Apollo |
2024-01-14 | Add gnosis-display-y-or-n-answer...Display answer for note with face depending on the value of success
| Thanos Apollo |
2024-01-14 | Add 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-14 | Add gnosis-face-next-review & update docstrings for faces | Thanos Apollo |
2024-01-14 | [fix] Fix review of cloze type...Fix typos and previously used logic
| Thanos Apollo |
2024-01-14 | Add gnosis-display--next-review...Display next review value
| Thanos Apollo |
2024-01-14 | Add gnosis-edit-save-exit...Function to exit recursive edit & save changes
- Add gnosis-edit-exit on gnosis-edit-mode-map
| Thanos Apollo |
2024-01-10 | gnosis-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-10 | gnosis-select & gnosis--insert-into: Update docstrings | Thanos Apollo |
2024-01-10 | gnosis-compare-strings: Redo without let statement | Thanos Apollo |
2024-01-10 | Redo 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-10 | gnosis-edit-mode-map: Use exit-recursive-edit instead of throw 'exit | Thanos Apollo |
2024-01-09 | Merge 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-09 | Rewrite gnosis-review-get-due-notes | Thanos Apollo |
2024-01-09 | Add gnosis-review-is-due-today-p | Thanos Apollo |
2024-01-09 | Rewrite gnosis-review-is-due-p | Thanos Apollo |
2024-01-09 | Add gnosis-past-or-present-p...Seperate the comparing of dates, emacsql is way too buggy for
comparing lists directly
| Thanos Apollo |
2024-01-08 | Merge branch '#clean' into testing...- Remove unused progn
- Add todo's
| Thanos Apollo |
2024-01-08 | Add todo's & remove unused progn | Thanos Apollo |
2024-01-08 | gnosis-review--session: Fix message for no notes...Redo with if statement & update message
| Thanos Apollo |
2024-01-06 | Update gnosis-get-tags--unique...Flatten returned list
| Thanos Apollo |
2024-01-04 | gnosis-review: Fix review of due notes of specified tags...This should be renamed soon as well...
| Thanos Apollo |
2024-01-04 | Redo gnosis-tag-prompt as cl-defun | Thanos Apollo |
2024-01-04 | Add gnosis-due-tags | Thanos Apollo |
2024-01-04 | gnosis-db: Redo as defconst | Thanos Apollo |
2024-01-04 | gnosis-review: Add review session for due notes of deck | Thanos Apollo |
2024-01-04 | Add gnosis-define-deck...Function to export deck notes as & import them as DECK
| Thanos Apollo |
2024-01-04 | Add gnosis-export-deck..."Export notes for deck in FILENAME."
FILENAME: The name of the file to save the exported deck.
This function prompts the user to provide a deck name and allows the
user to specify a filename for exporting notes belonging to that deck.
It then retrieves all the notes associated with the deck and exports
them.
The exported notes are formatted as an Emacs Lisp code block that can
be evaluated to recreate the deck with its associated notes. The
resulting code is saved to a file with the provided FILENAME and a
'.el' extension is added automatically.
Each note is exported using the `gnosis-export-note` function. The
generated code includes a call to `gnosis-define-deck` with the deck
name and all notes formatted as nested lists
| Thanos Apollo |
2024-01-04 | Add dd gnosis-export-note..."Export fields for note with value of id ID."
ID: Identifier of the note to export.
This function retrieves the fields of a note with the given ID and
inserts them into the current buffer. Each field is represented as a
property list entry. The following fields are exported: type, main,
options, answer, tags, extra-notes, image, and second-image.
The exported fields are formatted as key-value pairs with a colon,
e.g., :field value. The fields are inserted sequentially into the
buffer. For certain field values, like lists or nil, special
formatting is applied.
If the value is a list, the elements are formatted as strings and
enclosed in double quotes.
If the value is nil, the field is exported as :field nil.
All other values are treated as strings and exported with double
quotes.
The final exported note is indented using the `indent-region' function
| Thanos Apollo |
2024-01-04 | Add gnosis-get-notes-for-deck...Return a list of ID vlaues for each note with value of deck-id DECK
| Thanos Apollo |
2024-01-04 | gnosis-add-note-fields: Add condition-case & update docstring | Thanos Apollo |
2024-01-04 | Remove gnosis-faces.el & notes.el...Add faces on gnosis.el
| Thanos Apollo |