summaryrefslogtreecommitdiff
path: root/gnosis.el
AgeCommit message (Collapse)Author
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-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-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
2024-01-01gnosis-review-commit: Only commit the total number of notes reviewedThanos Apollo
2024-01-01Clean/Trim review functionsThanos Apollo
- Redo review as gnosis-review where user selects notes to review - Notes are passed to gnosis-review--session, where all logic is handled This makes it easier to add new features in the future & maintain
2024-01-01gnosis-review-get-due-notes: Flatten returned listThanos Apollo
2024-01-01gnosis-prompt-tag: Add "q" on optionsThanos Apollo
Fixing issue when having require-match t, user can't select "q"
2024-01-01When reviewing by tag, check if note id is suspendedThanos Apollo
2024-01-01Fix typos & indentationThanos Apollo
2024-01-01Add gnosis-suspend-noteThanos Apollo
2024-01-01Add gnosis-review-commitThanos Apollo
Creates git repo and commit review session
2024-01-01Use file-name-as-directoryThanos Apollo
2023-12-31Redo gnosis-dev.elThanos Apollo
2023-12-31Add gnosis-db-versionThanos Apollo
Version for gnosis-db current implementation. Remove duplicate code as well.
2023-12-30Add note type 'double'Thanos Apollo
Essentialy a note type that generates 2 basic card types form the input of one, by reversing the question/answer.
2023-12-30gnosis-tag-prompt: fix optional valuesThanos Apollo
- Fix prompt formatting issues - Add optional match value, by default nil - This is used to require match for suspending/reviewing specific notes, match should be nil only when adding new notes
2023-12-30Database: Add second-image column for table extrasThanos Apollo
second-image will be path of an image to gnosis-images-dir, which will be displayed AFTER user-input.
2023-12-30Add gnosis-select-imageThanos Apollo
Prompt user to select image from gnosis-images-dir and return it's path as a string.
2023-12-30Add gnosis-directory-filesThanos Apollo
Return a list of file paths as strings in DIR, filter results with REGEX. This funciton will be used to prompt user to select files, such as images.
2023-12-30Make sure gnosis-db has been in/zed before selecting/inserting valueThanos Apollo
Add gnosis-db-init to gnosis--insert-into & gnosis-select
2023-12-30Fix typosThanos Apollo
2023-12-30Adding notes/decks: Warn user if using testing envThanos Apollo
- Add gnosis-testing variable, when any function such as those in gnosis-dev create a testing env, they should also change this value to t
2023-12-30Rename gnosis-unique-tags -> gnosis-get-tags--uniqueThanos Apollo
2023-12-30Rewrite gnosis-prompt-tag as gnosis-tag-promptThanos Apollo
Optionally take custom prompt.
2023-12-30Redo gnosis-db: emacsql-sqlite-open fixThanos Apollo
Redo with emacsql-sqlite as emacsql-sqlite-open has proven to be buggy
2023-12-30Add gnosis-db-initThanos Apollo
Function to create gnosis essential files & db schemas
2023-12-29gnosis-dev: Change default testing valuesThanos Apollo
2023-12-29Update cloze reviewThanos Apollo
- Fix 'looping issues' - Fix revealing all clozes as false & other face issues - Now reveal unanswered clozes as unanswered - Display user-input answer
2023-12-29Add gnosis-review-cloze-reveal-unansweredThanos Apollo
This is just a rewritten version of the previous gnosi-review-cloze-reveal. Loop for clozes, and 'reveal them' with gnosis-face-cloze-unanswered
2023-12-29gnosis-display: Rewrite cloze-revealThanos Apollo
Rewrite as cl-defun with keywords, change previous default values. New: Optionally add custom face
2023-12-29Redo gnosis-completing-readThanos Apollo
'gnosis-completing-read' alternative version to completing-read. Rewritten to just configure text properties of strings. Display opitons with additional info with text properties, padding & choosable face.
2023-12-29gnosis-mode: Disable read-only modeThanos Apollo
2023-12-29cloze: Reveal only one cloze if successful inputThanos Apollo
If user-input is correct (t), reveal cloze with gnosis-face-correct, then prompt for the next one. If user-input is incorrect (nil) reveal all clozes with gnosis-face-false.
2023-12-29display: start with \n for the main/question partThanos Apollo
2023-12-29with-gnosis-buffer: Updaete macro to enable gnosis-modeThanos Apollo
2023-12-29Add gnosis-completing-readThanos Apollo
This function is under development, it will be used to display additional info on the minibuffer, such as number of (review-option . due cards).
2023-12-28gnosis-display: Update basic answer facesThanos Apollo
2023-12-28gnosis-review: Fix loopsThanos Apollo
NOTE: They end-up becoming similar for :do part, maybe an abstracted function would be smarter
2023-12-28gnosis-review: Fix bugs on clozes, reveal one cloze per loopThanos Apollo
2023-12-28Add gnosis-supsended-pThanos Apollo
2023-12-28gnosis-display: Use gnosis-face-cloze to display clozesThanos Apollo