0

I want to customize org-agenda-prefix-format but am unable to find something in the reference explaining the syntax and the format strings I can use.

The manual simply states:

You can also customize the prefix using the option org-agenda-prefix-format. This prefix is followed by a cleaned-up version of the outline headline associated with the item.

However, it doesn't explain the exact syntax one needs to use. I also didn't find any references to the syntax when I searched for the issue online.

Can someone point me to a resource that explains the syntax and the format strings one needs to use?

  • I don't have an answer for you; hopefully someone else will. But it sounds like you should maybe use M-x report-emacs-bug (which is also for enhancement requests, not just bugs), and suggest that the manual or some doc strings be beefed up a bit to include the info you think is missing. Even just the information that you couldn't find what you were looking for can sometimes help them improve the doc. – Drew Feb 4 at 22:02
  • I cannot point you to formal references in a manual, but I can tell you that I have written up one or more answers here and/or on stackoverflow with examples. In addition, type M-x describe-variable aka C-h v to see what is already in the doc-string. Then, Google org-agenda-prefix-format and you should get quite a few hits with examples. In one of the Google searches, I see that one answer quoted part of the doc-string for the variable that describes several options and what each stands for .... – lawlist Feb 5 at 5:47
  • @lawlist, thanks! C-h v never occurred to me. The variable description page does indeed give some information I can start with. – Abhik Pal Feb 5 at 7:33

Your Answer

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

Browse other questions tagged or ask your own question.