summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-14gnosis-algorithm-interval: Add cond for when last interval is 0Thanos Apollo
- This could occur in custom review sessions, option should be added to have the same for success 0, but I didn't have any issues _yet_, will revisit this soon - Update docstrings & add comments for this - Fix successful-reviews value
2024-01-14gnosis-algorithm-interval: Update docstringThanos Apollo
2024-01-14gnosis-dev: fix typosThanos Apollo
2024-01-14Add gnosis-face-next-review & update docstrings for facesThanos Apollo
2024-01-14[fix] Fix review of cloze typeThanos Apollo
Fix typos and previously used logic
2024-01-14Add gnosis-display--next-reviewThanos Apollo
Display next review value
2024-01-14Add gnosis-edit-save-exitThanos Apollo
Function to exit recursive edit & save changes - Add gnosis-edit-exit on gnosis-edit-mode-map
2024-01-11Redo gnosis-dev-testThanos Apollo
2024-01-10gnosis-face-extra: Inherit italicThanos Apollo
Use italic face & change foreground value This way we keep the same face but do not depend on markdown-mode --Suggested by Protesilaos Stavrou--
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-noteThanos Apollo
Use cl-defun and add optional value for unsuspend, this function should also be used to unsuspend notes
2024-01-10gnosis-edit-mode-map: Use exit-recursive-edit instead of throw 'exitThanos Apollo
2024-01-10Redo README as markdownThanos Apollo
2024-01-09Merge branch '#fix-review-due-notes' into testingThanos Apollo
Redo checking if note is due - Avoid depending on emacsql - Seperate checking if it's suspended or not
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-pThanos Apollo
Seperate the comparing of dates, emacsql is way too buggy for comparing lists directly
2024-01-08Merge branch '#clean' into testingThanos Apollo
- Remove unused progn - Add todo's
2024-01-08Add todo's & remove unused prognThanos Apollo
2024-01-08gnosis-review--session: Fix message for no notesThanos Apollo
Redo with if statement & update message
2024-01-06Merge branch 'testing': Fix review of specified tagsThanos Apollo
2024-01-06Update gnosis-get-tags--uniqueThanos Apollo
Flatten returned list
2024-01-04Update gnosis-get-tags--uniqueThanos Apollo
Flatten returned list
2024-01-04gnosis-review: Fix review of due notes of specified tagsThanos Apollo
This should be renamed soon as well...
2024-01-04Redo gnosis-tag-prompt as cl-defunThanos Apollo
2024-01-04Add gnosis-due-tagsThanos Apollo
2024-01-04gnosis-db: Redo as defconstThanos Apollo
2024-01-04gnosis-review: Add review session for due notes of deckThanos Apollo
2024-01-04Add gnosis-define-deckThanos Apollo
Function to export deck notes as & import them as DECK
2024-01-04Add gnosis-export-deckThanos Apollo
"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
2024-01-04Add dd gnosis-export-noteThanos Apollo
"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
2024-01-04Add gnosis-get-notes-for-deckThanos Apollo
Return a list of ID vlaues for each note with value of deck-id DECK
2024-01-04gnosis-add-note-fields: Add condition-case & update docstringThanos Apollo
2024-01-04Remove gnosis-faces.el & notes.elThanos Apollo
Add faces on gnosis.el
2024-01-04Add gnosis-edit-mode & mapThanos Apollo
gnosis-edit-mode, a mode derived from emacs-lisp with that has keybind C-c C-c to a #'lambda that evaluates & kills buffer, exiting recursive-edit loop
2024-01-04Add gnosis-get-deck-due-notesThanos Apollo
Get due notes of specified deck-id
2024-01-04gnosis-algorithm: Ignore initial interval if ef > 3.0Thanos Apollo
- Ignore gnosis-algorithm-interval values if ef > 3.0 - Add warnings not to set gnosis-algorithm-ef > 2.5
2024-01-04Update docstrings & fix typosThanos Apollo
2024-01-04Add gnosis-edit-update-noteThanos Apollo
a loop to update values of fields using gnosis-update
2024-01-03Add gnosis-edit-contentsThanos Apollo
This function creates an Emacs Lisp buffer named *gnosis-edit* and populates it with the values of the note identified by the specified ID. The note values are inserted as keywords for the `gnosis-edit-update-note' function.
2024-01-03Add gnosis-edit-noteThanos Apollo
Prompt user to either edit contents note or change ef values
2024-01-03gnosis-dev: Rewrite gnosis-dev-retestThanos Apollo
Rewrite gnosis-dev-reinit as gnosis-dev-retest, remakes the testing database
2024-01-03gnosis-dev: Check if testing-deck existsThanos Apollo
2024-01-03Add gnosis-edit-efThanos Apollo
Edit easiness factor values and update them on gnosis-db.
2024-01-03Add gnosis-replace-item-at-indexThanos Apollo
Used to change/edit values at gnosis-db, that are represented as lists, such as ef
2024-01-03gnosis-review--session: Redo with read-char-choiceThanos Apollo
Previous implemntation with completing-read takes 1+ keypresses (select option & enter). Using read-char-choice we reduce it to 1. Maybe we can add a custom option for next, to optionally be e.g space to make it more anki like
2024-01-03Rewrite gnosis-suspend-deck as cl-defunThanos Apollo
2024-01-03Update docstringsThanos Apollo
- Update documentation for adding notes. - Replace Get -> Return