From: Adam Spiers <orgmode@adamspiers.org> To: emacs-orgmode@gnu.org Subject: [PATCH] org-agenda.el: Add a M-, binding for org-priority-show Date: Tue, 1 Dec 2020 19:51:11 +0000 Message-ID: <20201201195111.11217-1-orgmode@adamspiers.org> (raw) This offers an easy way to check the internal numeric priority used for sorting within the agenda. --- doc/org-manual.org | 8 ++++++++ lisp/org-agenda.el | 1 + 2 files changed, 9 insertions(+) diff --git a/doc/org-manual.org b/doc/org-manual.org index 5a84a6de6..e914af42d 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -9891,6 +9891,14 @@ the other commands, point needs to be in the desired line. Set tags for the current headline. If there is an active region in the agenda, change a tag for all headings in the region. +- {{{kbd(M-\,)}}} (~org-priority-show~) :: + + #+kindex: M-, + #+findex: org-priority-show + Show the numeric priority for the current item. This priority is + composed of the main priority given with the =[#A]= cookies, and by + additional input from the age of a schedules or deadline entry. + - {{{kbd(\,)}}} (~org-agenda-priority~) :: #+kindex: , diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index a482b3db4..40ea31fdc 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -2399,6 +2399,7 @@ (defun org-agenda-mode () (org-defkey org-agenda-mode-map "\C-c\C-p" #'org-agenda-previous-date-line) (org-defkey org-agenda-mode-map "\C-c," #'org-agenda-priority) (org-defkey org-agenda-mode-map "," #'org-agenda-priority) +(org-defkey org-agenda-mode-map [(meta ?,)] #'org-priority-show) (org-defkey org-agenda-mode-map "i" #'org-agenda-diary-entry) (org-defkey org-agenda-mode-map "c" #'org-agenda-goto-calendar) (org-defkey org-agenda-mode-map "C" #'org-agenda-convert-date) -- 2.28.0
next reply other threads:[~2020-12-01 19:52 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-01 19:51 Adam Spiers [this message] 2020-12-09 5:25 ` Kyle Meyer 2020-12-11 22:17 ` Samuel Wales
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://orgmode.org * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20201201195111.11217-1-orgmode@adamspiers.org \ --to=orgmode@adamspiers.org \ --cc=emacs-orgmode@gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Org-mode mailing list This inbox may be cloned and mirrored by anyone: git clone --mirror https://orgmode.org/list/0 list/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 list list/ https://orgmode.org/list \ emacs-orgmode@gnu.org public-inbox-index list Example config snippet for mirrors. Newsgroups are available over NNTP: nntp://news.yhetil.org/yhetil.emacs.orgmode nntp://news.gmane.io/gmane.emacs.orgmode AGPL code for this site: git clone https://public-inbox.org/public-inbox.git