summaryrefslogtreecommitdiff
path: root/gnosis.el
AgeCommit message (Expand)Author
2024-03-04gnosis-edit-update-note: Add assert for optionsThanos Apollo
2024-03-04Refactor gnosis-compare-strings...Adjust for when gnosis-string-difference is >= answer length Thanos Apollo
2024-03-04Refactor editing notes for recursive edits...Adjust gnosis-edit-save-exit func for recursive-edit arg. If not given any just pop back to gnosis-dashboard, else exit recursive edit. gnosis-edit-note will be called either in a recursive edit during note review or from the dashboard. Thanos Apollo
2024-03-04Update docstrings...Apply flycheck info fixes Thanos Apollo
2024-03-04packaging: Update package commentaryThanos Apollo
2024-03-04packaging: Require emacs 29.1...To use read-string-from-buffer we need to use emacs-29. As of now compat does not provide this. Thanos Apollo
2024-03-03gnosis-edit-update-note: Update assertions...- Add asserts for extras to allow nil value Thanos Apollo
2024-03-03gnosis-review-algorithm: Add gnosis-get-ef-VALUE...Use ef-increase/decrease/threshold for deck if defined. Otherwise refer to the coresponding variables Thanos Apollo
2024-03-03gnosis-edit-update-note: Add assertsThanos Apollo
2024-03-03Add gnosis-get-ef-thresholdThanos Apollo
2024-03-03Add gnosis-get-ef-decreaseThanos Apollo
2024-03-03Add gnosis-get-ef-increaseThanos Apollo
2024-03-03[fix] gnosis-review--update: Return ef properlyThanos Apollo
2024-03-03gnosis-edi-note: Use local-set-key...Using local-set-key we specify exit-func for gnosis-edit-save-exit to return back to dashboard for "Notes" Thanos Apollo
2024-03-03gnosis-edit-mode: Remove interactiveThanos Apollo
2024-03-03Add gnosis-dashboard-output-decksThanos Apollo
2024-03-03Add gnosis-dashboard-output-deckThanos Apollo
2024-03-03Add gnosis-dashboard-deck-note-count...Return total deck note count in a list. Will be used to output decks. Thanos Apollo
2024-03-03gnosis-dashboard-output-notes: Rewrite...- Specify tabulated-list-format - Fix bug, when a note was deleted it would have broken the dashboard - Specify keybindings using local-set-key Thanos Apollo
2024-03-03gnosis-dashboard: Rewrite using read-multiple-choice...Use multipel choice to select how to create dashboard, for now the options are only for notes & decks. Future versions should filter for tags etc Thanos Apollo
2024-03-03Add gnosis-dashboard-edit-deckThanos Apollo
2024-03-03Add gnosis-edit-deck...Edit contents of a deck with a given ID. This function is meant to be used from within a *gnosis-dashboard* buffer. Uses custom kbd via local-set-key, since gnosis-dashboard mode is also used by gnosis-edit-notes, this is viable alternative, if you have any other recommendations feel free to email them to me Thanos Apollo
2024-03-03Add gnosis-edit-update-deck...- Use gnosis-assert funcs to make error messages descreptive - Use cl-loop to simplify gnosis-update Thanos Apollo
2024-03-03Add gnosis-assert-number-or-nilThanos Apollo
2024-03-03Add gnosis-assert-float-or-nilThanos Apollo
2024-03-03Add gnosis-assert-int-or-nilThanos Apollo
2024-03-03Add gnosis-edit-deck--exportThanos Apollo
2024-03-03gnosis-suspend-deck: Add confirmationThanos Apollo
2024-03-03gnosis-suspend-note: RewriteThanos Apollo
2024-03-03gnosis-delete-deck: RewriteThanos Apollo
2024-03-03gnosis--get-deck-name: Add optional id arg...If id is given, return the name for deck id Thanos Apollo
2024-03-03packaging: Add -dev versionThanos Apollo
2024-03-03Update database to version 2...Add failure-factor, ef-increase, ef-decrease, ef-threshold for decks table. These values will be applied to all notes for deck. Thanos Apollo
2024-03-03gnosis-dashboard-mode: Remove format & sorting...We will be specified using one of the dashboard create funcs. Value will be different depending on how the dashboard will be created. Thanos Apollo
2024-03-03gnosis-dashboard-mode-map: Remove "e"...We will be setting keybindings for editing/suspending locally depending on how the dashboard has been created, for notes or decks etc Thanos Apollo
2024-03-03gnosis-edit-save-exit: Refactor...Add function as argument to be used as exit func. This will make it easier to reuse with other funcs Thanos Apollo
2024-03-01Remove gnosis-review-round...Deprecated Thanos Apollo
2024-03-01Remove gnosis-review-new-ef...Calculate new ef using gnosis-algorithm Thanos Apollo
2024-03-01Rewrite gnosis-review-algorithm...Use gnosis-algorithm-next-ef & gnosis-algorithm-next-interval. Return them as list for simplicity Thanos Apollo
2024-02-28style: Use double space after period...I'm not a double spacer nor have strong opinions on the subject. But since most of emacs community prefers this style, I don't mind using it. Thanos Apollo
2024-02-28gnosis-display-extra: Display extra-image...Instead of using gnosis-display-image 'extra-image on every review note type, just add it to extras. Future refactoring is needed to simplify gnosis-review-TYPEs Thanos Apollo
2024-02-28Remove gnosis-get-note-tags...Use gnosis-get, avoid extra complexity Thanos Apollo
2024-02-28Refactor prompt for images...gnosis-add-note-TYPE now has a :images keyword instead of just an image, that using gnosis-select-images will return a cons of. gnosis-add-note--TYPE handles the car & cadr of :images cons as (image . second-image) Update docstrings as well. Thanos Apollo
2024-02-28gnosis-cloze-replace-words: Update error handling...If cloze given is not valid throw an error. Just having search-forward return error alone is confusing. Thanos Apollo
2024-02-28Add gnsois-cloze-guidance...Put the value of the example/guide in a variable, this way it will be easier for experienced users to set it to nil if they find it annoying. Thanos Apollo
2024-02-28gnosis-prompt-tags--split: Return "untagged" when input value is nil...Having "" tag should be avoided. Thanos Apollo
2024-02-28gnsois-hint-prompt: Use read-string...read-from-minibuffer does the same thing, but since not many package authors use it I thought to avoid it as well, plus we have to make sure the value will be a string. Thanos Apollo
2024-02-28gnosis-select-images: Refactor...Refactor gnsois-select-images to prompt to select for extra-image as well, returns a cons (image . second-images). This way we won't have to recreate a needless function like gnosis-select-second-image. Thanos Apollo
2024-02-28Add gnosis-edit-read-only-values...When creating gnosis-edit buffer for NOTE, we have to make sure the fields will not be deleted accidently be the user and the value of id won't change. Use gnosis-edit-read-only-values in gnosis-edit-note. Thanos Apollo
2024-02-28gnosis-edit-save-exit: Kill window...After using read-only values, we can't clear the buffer. We have to kill it and then recreate it for each time we call gnosis-edit-note Thanos Apollo