emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/gnosis d034335bde 18/19: Packaging: Add version 0.4.2.


From: ELPA Syncer
Subject: [nongnu] elpa/gnosis d034335bde 18/19: Packaging: Add version 0.4.2.
Date: Thu, 5 Sep 2024 13:00:34 -0400 (EDT)

branch: elpa/gnosis
commit d034335bde30c7873768bfbbae531a704d011245
Author: Thanos Apollo <public@thanosapollo.org>
Commit: Thanos Apollo <public@thanosapollo.org>

    Packaging: Add version 0.4.2.
    
    * Comment out gnosis-org sections that are under development.
    * Fix display issues on non-grapical interface.
    * Add variable watchers for custom algorithm values.
    * Update assertions for editing notes
    
    This is a minor release with a few bug fixes.
---
 gnosis.el | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/gnosis.el b/gnosis.el
index 40e4061d74..4619fa94fd 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -5,7 +5,7 @@
 ;; Author: Thanos Apollo <public@thanosapollo.org>
 ;; Keywords: extensions
 ;; URL: https://thanosapollo.org/projects/gnosis
-;; Version: 0.4.2-dev
+;; Version: 0.4.2
 
 ;; Package-Requires: ((emacs "27.2") (emacsql "4.0.1") (compat "29.1.4.2") 
(transient "0.7.2"))
 
@@ -50,7 +50,7 @@
 (require 'gnosis-string-edit)
 (require 'gnosis-dashboard)
 
-(require 'gnosis-org)
+;; (require 'gnosis-org)
 
 (require 'animate)
 
@@ -2557,18 +2557,17 @@ If STRING-SECTION is nil, apply FACE to the entire 
STRING."
                                        :tags note-tags))
       (error "Demo deck already exists"))))
 
-;; Export
-;; This is a demo!
-(defun gnosis-export-deck (&optional deck)
-  "Export contents of DECK."
-  (interactive (list (gnosis--get-deck-id)))
-  (with-current-buffer (get-buffer-create "*test*")
-    (insert (format "#+GNOSIS_DECK: %s\n\n" (gnosis--get-deck-name deck)))
-    (cl-loop for note in (gnosis-select '[main answer id type] 'notes `(= 
deck-id ,deck))
-            do (gnosis-org-insert-heading :main (car note)
-                                          :answer (cadr note)
-                                          :id (number-to-string (caddr note))
-                                          :type (cadddr note)))))
+;; TODO: Add Export funcs
+;; (defun gnosis-export-deck (&optional deck)
+;;   "Export contents of DECK."
+;;   (interactive (list (gnosis--get-deck-id)))
+;;   (with-current-buffer (get-buffer-create "*test*")
+;;     (insert (format "#+GNOSIS_DECK: %s\n\n" (gnosis--get-deck-name deck)))
+;;     (cl-loop for note in (gnosis-select '[main answer id type] 'notes `(= 
deck-id ,deck))
+;;          do (gnosis-org-insert-heading :main (car note)
+;;                                        :answer (cadr note)
+;;                                        :id (number-to-string (caddr note))
+;;                                        :type (cadddr note)))))
 
 ;; Gnosis mode ;;
 ;;;;;;;;;;;;;;;;;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]