9

I want to replace the default org-mode priorities with my own.

default: #A #B #C
desired: #1 #2 #3 #4 #5

How can I do this?

0

2 Answers 2

10

You can customize priorities in the group org-priorities. M-x customize-group, then type org-priorities.

Accepted values are A to Z and 0 to 9, so you can actually set your desired priorities.

Be sure to customize the 3 settings:

  • org-highest-priority
  • org-lowest-priority
  • org-default-priority
2
  • If I would like to configure this in .emacs what do I need to write?
    – peschü
    Sep 19, 2015 at 15:57
  • 3
    I found out, it works with (setq org-highest-priority ?G).
    – peschü
    Sep 19, 2015 at 16:15
7

An easier manner: at the beginning of your org file, set the following:

#+PRIORITIES: 1 5 3

You can read more about it here.

3
  • 2
    Welcome to emacs.SE! This is nice to set different priorities for a specific buffer. I would also suggest you include a link to the relevant doc (orgmode.org/manual/Priorities.html)
    – JeanPierre
    Apr 18, 2017 at 17:38
  • One point to bear in mind with custom priorities is that you need "equal" spacing between the low, mid, and high. For example if #+PRIORITIES 1 10 5 will not work because 5-1 = 4 and 10 - 5 = 5. You would need #+PRIORITIES 1 9 5. Oct 10, 2020 at 17:03
  • It's true that it won't work with 10, but the actual reason is that only single characters are allowed as priorities. "Equal spacing" is not necessary.
    – Alex1357
    Jan 22, 2021 at 6:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.