summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-27gnosis-dev: Use emacsql-sqlite-open & expand-file-nameThanos Apollo
2024-01-27Add Makefile to generate docsThanos Apollo
2024-01-27Update docstrings & indentation styleThanos Apollo
2024-01-27gnosis-compare-strings: Refactor using string-differenceThanos Apollo
Use Lavenshtein distance to ignore typos
2024-01-27Add gnosis-string-differenceThanos Apollo
Custom variable, threshold value for string comparison.
2024-01-27gnosis-db: adjust for emacsql 4.0.0Thanos Apollo
Use emacsql-sqlite-open as suggested in this issue: <https://github.com/magit/emacsql/issues/113>
2024-01-27Autload gnosis-add-deck & gnosis-delete-deckThanos Apollo
2024-01-26Add gnsois-review-get-due-tagsThanos Apollo
2024-01-26gnosis-select: Update docstringThanos Apollo
2024-01-26gnosis-get-notes-for-deck: Use flatten argumentThanos Apollo
2024-01-26gnosis-review-get-due-notes: Use flatten argumentThanos Apollo
2024-01-26Fix gnosis-get-deck-due-notesThanos Apollo
Returns list of due notes for deck.
2024-01-26gnosis-get-tags--unique: Use optional flatten argumentThanos Apollo
2024-01-26gnosis-select: Add flatten optional argumentThanos Apollo
2024-01-26gnosis-algorithm-next-interval: Adjust for last-intervalThanos Apollo
2024-01-26Remove duplicate gnosis-db-initThanos Apollo
2024-01-26Redo initialization & Update version headerThanos Apollo
2024-01-19Merge branch '#fix-docs'Thanos Apollo
Export org to .info & .texi files Previous version merge didn't include exported file changes
2024-01-19Update documentation .texi & info filesThanos Apollo
2024-01-19Merge branch 'version-0.1.4'0.1.4Thanos Apollo
- Update gnosis commentary & documentation - Refactor note creation & review Values for note types are not hard coded anymore, making gnosis easier to extend & maintain. - Apply suggestions from emacs-devel with a few adjustments Changes suggested by Philip Kaludercic via the emacs-devel mailing list <https://lists.gnu.org/archive/html/emacs-devel/2024-01/msg00682.html>
2024-01-19Update documentation for version 0.1.4Thanos Apollo
- Restracture customization section - Add Customization & Development section - Add Creating Custom Note Types section
2024-01-19gnosis-dev: Update commentary & update prompt for testing envThanos Apollo
2024-01-19Refactor gnosis-review-noteThanos Apollo
Simarly to gnosis-add-note recent changes, more extensible & flexible. This makes it easier to maintain & add new note types in the future.
2024-01-19gnosis-review-commit: Use vc to create git repoThanos Apollo
vc should also be used to "stage" and "commit" changes to db.
2024-01-19Update commentaryThanos Apollo
2024-01-19Revert "gnosis-db-init: Redo without length="Thanos Apollo
This reverts commit 2473e9127a8f8ece2bcb1052d5450834bbbbb4c8. During the this pull request on MELPA <https://github.com/melpa/melpa/pull/8890> Nicholas Vollmer pointed out that length= does not exist in Emacs < 28.1, but since we are using compat we can still use it. This was also suggested by Philip Kaludercic in this email in emacs-devel: <https://lists.gnu.org/archive/html/emacs-devel/2024-01/msg00682.html> I verified this by running emacs-27.2, length= was available thanks to compat
2024-01-19Merge branch '#emacs-devel-suggestions' into testingThanos Apollo
Changes suggested by Philip Kaludercic via the emacs-devel mailing list <https://lists.gnu.org/archive/html/emacs-devel/2024-01/msg00682.html> Philip pointed out that gnosis relies heavily on completing-read for user interactions, but for users that do not use completion packages such as vertico it's inconvenient to say the least. This should be addressed. Another important change was making gnosis-add-note more extensible. Adding your own custom note types should be easier now as well as the maintainability. Many of the changes made here are not tested properly. Merging into testing branch for further review and refactoring.
2024-01-19gnosis-edit-update-note: Use memq instead of memberThanos Apollo
2024-01-19gnosis-edit-note-contents: Use eq & nullThanos Apollo
2024-01-19gnosis-edit-mode: Update lighterThanos Apollo
2024-01-19gnosis-review--session: Refactor using read-multiple-choiceThanos Apollo
2024-01-19gnosis-review-is-due-p: Redo without if statementThanos Apollo
2024-01-19Fix typos & indentationThanos Apollo
2024-01-19gnsois-suspended-p: Redo without if statementThanos Apollo
2024-01-19Refactor note creationThanos Apollo
- 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
2024-01-19Refactor directory and database naming conventionsThanos Apollo
- 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
2024-01-18Merge branch 'version-0.1.3' to master0.1.3Thanos Apollo
- Add documentation - Fix docstrings & types of custom vars Improve algorithm implementation - Adjust next ef and interval depending on consecutive & total failures/successes - Fix bugs for custom reviews where last-interv would be 0
2024-01-18gnosis-algorithm-next-interval: Always pass last-interval >=1Thanos Apollo
2024-01-18gnosis: Update docstringsThanos Apollo
2024-01-18doc: Fix typosThanos Apollo
2024-01-18README: Redo just with an intro & link to user manualThanos Apollo
2024-01-18Add documentationThanos Apollo
Documentation is generated from gnosis.org
2024-01-18gnosis-edit-note-contents: Insert note id as read-onlyThanos Apollo
- Make sure note id value will not be changed Change suggested by Nicholas Vollmer
2024-01-18Rename gnosis-display functionsThanos Apollo
- No need to have them as 'hidden' with double dash (--) Change suggested by Nicholas Vollmer
2024-01-18gnosis--prompt: Update docstringThanos Apollo
Fix quotes
2024-01-18gnosis-db: Remove warning from docstringThanos Apollo
No need to warn user not to change the value of a defconst Change suggested by Nicholas Vollmer
2024-01-18Rename gnosis-cloze-char to gnosis-cloze-stringThanos Apollo
Change suggested by Nicholas Vollmer
2024-01-17Remove unnecessary progn's from cl-loopThanos Apollo
cl-loop's do clause is an implicit progn.
2024-01-17gnosis-db-init: Redo without length=Thanos Apollo
Length= is available only for Emacs 28.1 > Pointed out by Nicholas Vollmer
2024-01-17gnosis-algorithm-next-interval: Adjust for failure-factorThanos Apollo
- Make sure it's not above 0.8, unless user is using failure factor > 8