summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2024-02-11 14:09:28 +0800
committerJSDurand <mmemmew@gmail.com>2024-02-11 14:09:28 +0800
commitb02e23f59e69f92366d546a770177b5127781235 (patch)
tree8ace287de4df6662378d6a354890e492b40b14aa
parent8e2a1ec184aa27e0a8073b999cc3baafbea52d96 (diff)
bookmark-conf: add a new group
* bookmark-conf.el ("bodhicaryAvatAra"): Add a group for bookmarks related to my reading of the great work "बोधिचर्यावतारः".
-rw-r--r--bookmark-conf.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/bookmark-conf.el b/bookmark-conf.el
index 04973ba..5f60a74 100644
--- a/bookmark-conf.el
+++ b/bookmark-conf.el
@@ -87,6 +87,7 @@
(setq
blist-filter-groups
(list
+ (cons "बोधिचर्यावतारस्य" #'blist-bodhicaryAvatAra-p)
(cons "PDF" #'blist-pdf-p)
(cons "C" #'blist-c-p)
(cons "Gnus" #'blist-gnus-p)
@@ -173,6 +174,17 @@
;; Some of these are not needed anymore, but I still keep them here as
;; a reference. Or maybe I just don't want to delete them.
+;;;; बोधिचर्यावतारः group
+
+;; I gathered some bookmarks related to this important text, so I
+;; decide to put them in a dedicated group.
+
+(blist-define-criterion "bodhicaryAvatAra" "बोधिचर्यावतारस्य"
+ (or
+ (string-match-p "बोधिचर्यावतारस्य" (bookmark-location bookmark))
+ (string-match-p
+ "बोधिचर्यावतार" (bookmark-name-from-full-record bookmark))))
+
;;;; Gnus group
;; There seems to be only two GNUS bookmark handlers (or one?)