summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-12-12 16:13:54 +0200
committerThanos Apollo <[email protected]>2023-12-12 16:13:54 +0200
commit4da784814ee2a1767aeb67cda2d8dfd8141a4260 (patch)
tree65e07ee757a600659a5e7d6bb4fe20712c13c746 /gnosis.el
parent292bda0cebbf1338de162881d5670a178c31dc41 (diff)
Update gnosis notes table
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el8
1 files 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 ;;
;;;;;;;;;;;;;;;;;