0

Is it possible to have more than 3 priority statuses in Orgmode? I'd like to have A B C and D. Thank you.

2

This has been working for me with priorities ranging from A to J:

(setq   org-enable-priority-commands t
    org-highest-priority ?A
    org-default-priority ?J
    org-lowest-priority ?J
)

However, I nearly never make use of F,G,H,I,J ... At the time being I use org 9.3.4. It seems to work without the first line "org-enable-priority-commands t" as well.

So you could write:

(setq   org-highest-priority ?A
    org-default-priority ?B
    org-lowest-priority ?D
)
2
  • Yes, it does work, thanks. I realized that for some reason in some manuals I find the variable org-priority-highest while in others org-highest-priority, and in my latest Emacs only the later works. For instance, @Juancho referred to org-priority-highest, which would not work in my case. Jan 6 at 11:06
  • Both of them should work in recent Emacs (correction: the version of Org mode that is distributed with emacs does not seem to have these aliases): org-highest-priority is aliased to org-priority-highest. But there was a bug that was fixed on 2020-03-10 with these aliases (commit ID 097b4e6ca0d9265710a61f41d4a332eeb20a2e40).
    – NickD
    Jan 12 at 12:11
1

You can change the number of priorities by customizing org-priority-highest and org-priority-lowest, and there is also org-priority-default.

Or you can set it on a per-file basis.

Check for more options in the documentation.

4
  • Thanks, for some reason when I set (setq org-priority-highest ?A) (setq org-priority-lowest ?D), nothing happens. I can only go from A to C. Jan 5 at 8:11
  • 1
    Actually, org-priority-highest does not work, but org-highest-priority works. I suppose there is an error in the documentation? Jan 5 at 8:21
  • No: the two are aliased together, although there was a bug with the aliases. But the version of Org mode that is distributed with emacs does not seem to have these aliases.
    – NickD
    Jan 12 at 12:15
  • The aliases went into version 9.3.3 of Org mode. The version that is distributed with current emacs 28.0.50 seems to be 9.3.
    – NickD
    Jan 12 at 12:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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