summaryrefslogtreecommitdiff
path: root/gnosis.el
AgeCommit message (Collapse)Author
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
2023-12-28gnosis-review-note: Check if note is suspendedThanos Apollo
2023-12-28Add gnosis-suspend-tagThanos Apollo
2023-12-28Add gnosis-suspendThanos Apollo
Interactive function to suspend notes with specified values e.g either based on tags or decks.
2023-12-28Add gnosis-suspend-deckThanos Apollo
2023-12-28Rename gnosis--select -> gnosis-selectThanos Apollo
No need to have this function hidden
2023-12-28gnosis-select-by-tag: Update error checkingThanos Apollo
error if not listp input-tags
2023-12-28Rewrite gnosis-reviewThanos Apollo
- Prompt user to select review sesstion type to start
2023-12-28Add gnosis-review-due-tagsThanos Apollo
2023-12-28Rewrite gnosis-review-all-due-notesThanos Apollo
2023-12-28Add gnosis-review-all-with-tagsThanos Apollo
2023-12-28Add gnosis-review-due-notes--with-tagsThanos Apollo
2023-12-28Add gnosis-review-is-due-pThanos Apollo
2023-12-28Add gnosis-get-note-tagsThanos Apollo
2023-12-28Rewrite adding notesThanos Apollo
Adding note(s) consists firstly of a hidden 'gnosis-add-note--TYPE' function that does the computation & error checking to generate a note from given input. Secondly, 'gnosis-add-note-TYPE' normal function, which prompts for user input and passes it to the hidden function.
2023-12-28cloze: Use options as hint & display them for cloze type notesThanos Apollo
2023-12-28Redo adding tags with gnosis-prompt-tag for all typesThanos Apollo
2023-12-28Add gnosis-prompt-tagThanos Apollo
2023-12-28Add gnosis-select-by-tagThanos Apollo
2023-12-28Add gnosis-unique-tagsThanos Apollo
2023-12-28Organize review sectionThanos Apollo
move gnosis-compare-strings above review section
2023-12-28Add gnosis-compare-stringsThanos Apollo
Compare two strings, ignoring case & whitespace
2023-12-28basic: Display user-input with directions after reviewThanos Apollo
2023-12-28display: Update display funcs with new facesThanos Apollo
- Use gnosis-face-false & gnosis-face-correct - Add gnosis-face-hint - Add gnosis-face-directions
2023-12-28cloze: Update regex for cloze cardsThanos Apollo
This fixes previous issues, now we can use anki-like clozes & {c1:cloze} format without any issue
2023-12-27Add gnosis-display--hintThanos Apollo
2023-12-27Add gnosis-display--basic-answerThanos Apollo
2023-12-27Add gnosis-review-basicThanos Apollo
2023-12-27Add gnosis-add-note-basicThanos Apollo
2023-12-27Rename gnosis-face-cloze-false/correct to gnosis-face-correct/falseThanos Apollo