From 4da784814ee2a1767aeb67cda2d8dfd8141a4260 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 12 Dec 2023 16:13:54 +0200 Subject: Update gnosis notes table --- gnosis.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnosis.el b/gnosis.el index e087874..bb74bb8 100644 --- a/gnosis.el +++ b/gnosis.el @@ -151,17 +151,19 @@ use it like this: (defun gnosis-init () "Create notes content table." (interactive) + ;;(make-directory (concat user-emacs-directory "gnosis")) (condition-case nil (gnosis--drop-table 'notes) - (error (message "No NOTES table to drop, recreating new one."))) + (error (message "No NOTES table to drop."))) (gnosis--create-table 'notes '([(id integer :primary-key) (type text) (main text) options answer tags - rev_log - rev_score]))) + (ef integer :default 1.3) + (rev_times integer :default 0) + (rev_interval integer :default 0)]))) ;; Gnosis mode ;; ;;;;;;;;;;;;;;;;; -- cgit v1.2.3