From e240167ae382e18f56992926f042e6e7b3f7800d Mon Sep 17 00:00:00 2001 From: Vedang Manerikar <ved.manerikar@gmail.com> Date: Sun, 1 Dec 2024 16:09:01 +0530 Subject: [PATCH] Create a separate section for org-priorities --- unravel-emacs.org | 22 +++++++++++++++++----- unravel-modules/unravel-org.el | 15 ++++++++++----- 2 files changed, 27 insertions(+), 10 deletions(-) diff --git a/unravel-emacs.org b/unravel-emacs.org index b2eeab8..8f6dd74 100644 --- a/unravel-emacs.org +++ b/unravel-emacs.org @@ -3645,11 +3645,7 @@ on how I use Org. (setq org-highlight-latex-and-related nil) ; other options affect elisp regexp in src blocks (setq org-fontify-quote-and-verse-blocks t) (setq org-fontify-whole-block-delimiter-line t) - (setq org-track-ordered-property-with-tag t) - (setq org-highest-priority ?A) - (setq org-lowest-priority ?C) - (setq org-default-priority ?A) - (setq org-priority-faces nil)) + (setq org-track-ordered-property-with-tag t)) #+end_src ** The =unravel-org.el= section for archival settings @@ -3816,6 +3812,22 @@ Org agenda, in particular, provides commands to filter tasks by tag: (setq org-tags-column 0)) #+end_src +** The =unravel-org.el= Org priorities settings +:PROPERTIES: +:CUSTOM_ID: h:5D8AF9BA-E1D5-4908-834D-E21718199D88 +:CREATED: [2024-11-30 Sat 16:33] +:END: + +#+begin_src emacs-lisp :tangle "unravel-modules/unravel-org.el" + ;;; org-priorities + (use-package org + :ensure nil + :config + (setq org-highest-priority ?A) + (setq org-lowest-priority ?C) + (setq org-default-priority ?A) + (setq org-priority-faces nil)) +#+end_src ** The =unravel-org.el= Org time/state logging :PROPERTIES: :CUSTOM_ID: h:0884658e-9eb5-47e3-9338-66e09004a1a0 diff --git a/unravel-modules/unravel-org.el b/unravel-modules/unravel-org.el index c6b8273..cfb2f8c 100644 --- a/unravel-modules/unravel-org.el +++ b/unravel-modules/unravel-org.el @@ -103,11 +103,7 @@ (setq org-highlight-latex-and-related nil) ; other options affect elisp regexp in src blocks (setq org-fontify-quote-and-verse-blocks t) (setq org-fontify-whole-block-delimiter-line t) - (setq org-track-ordered-property-with-tag t) - (setq org-highest-priority ?A) - (setq org-lowest-priority ?C) - (setq org-default-priority ?A) - (setq org-priority-faces nil)) + (setq org-track-ordered-property-with-tag t)) ;;;; archival, org-archive (use-package org @@ -168,6 +164,15 @@ (setq org-auto-align-tags nil) (setq org-tags-column 0)) +;;; org-priorities +(use-package org + :ensure nil + :config + (setq org-highest-priority ?A) + (setq org-lowest-priority ?C) + (setq org-default-priority ?A) + (setq org-priority-faces nil)) + ;;;; log (use-package org :ensure nil