From b02e23f59e69f92366d546a770177b5127781235 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sun, 11 Feb 2024 14:09:28 +0800 Subject: bookmark-conf: add a new group MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * bookmark-conf.el ("bodhicaryAvatAra"): Add a group for bookmarks related to my reading of the great work "बोधिचर्यावतारः". --- bookmark-conf.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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?) -- cgit v1.2.3-18-g5258