From cc621f0e629dab1d8b3e450c071324f6ebc35f19 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Thu, 18 Apr 2024 22:32:48 -0400 Subject: [PATCH] emacs-configuration: Configure org-tag-alist * user-config/emacs/.emacs.d/config.org (Helm): Adjust helm completions to disable them for the org-set-tag menu. Add an initial set of tag groups and tags. --- user-config/emacs/.emacs.d/config.org | 38 ++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/user-config/emacs/.emacs.d/config.org b/user-config/emacs/.emacs.d/config.org index e457401..064705c 100644 --- a/user-config/emacs/.emacs.d/config.org +++ b/user-config/emacs/.emacs.d/config.org @@ -521,7 +521,9 @@ Setup access to ix.io pastebin ;; See: https://github.com/emacs-helm/helm-org/issues/3 (use-package helm-org :after helm - :config (add-to-list 'helm-completing-read-handlers-alist '(org-set-tags-command . helm-org-completing-read-tags))) + :config + ;; Disable helm completion for the org-set-tag menu, enabling quick selection + (add-to-list 'helm-completing-read-handlers-alist '(org-set-tags))) (use-package helm-rg :after helm @@ -1848,6 +1850,40 @@ Use [[http://gnuplot.sourceforge.net/][gnuplot]] alongside org-mode to generate org-global-properties '(("Effort_ALL" . "0 0:10 0:15 0:30 1:00 2:00 3:00 4:00 5:00 6:00 7:00")) org-columns-default-format "%65ITEM(Task) %TODO %3PRIORITY %8Effort(Effort){:} %CLOCKSUM %SCHEDULED %DEADLINE %TAGS" org-complete-tags-always-offer-all-agenda-tags t + org-tag-alist '((:startgroup) + ("@personal" . ?p) ("@family" . ?f) ("@work" . ?w) + (:endgroup) + (:grouptags) + ("important" . ?i) ("urgent" . ?u) + (:endgroup) + (:newline) + + ("crypt" . ?C) + ("private" . ?p) + ("FLAGGED" . ??) + (:newline) + + ("guix" . ?g) ("security" . ?s) ("ceph" . ?c) + ("emacs" . ?e) ("documentation" . ?d) ("management" . ?m) + ("email" . ?E) ("learning" . ?l) ("interview" . ?I) + (:newline) + + (:startgrouptag) + ("cloud") + (:endgrouptag) + (:grouptags) + ("aws") ("gcp") ("azure") + (:endgroup) + (:newline) + + (:startgroup) + ("daily") + ("weekly") + ("biweekly") + ("monthly") + ("quarterly") + (:endgroup) + (:newline)) ;; Setup external applications used when org-mode opens files ;; See: https://orgmode.org/worg/org-faq.html#external-application-launched-to-open-file-link