4

I have some TODO headings with italicized text. These display correctly in Org buffers, but aren't fontified and italicized (slanted) when retrieved as part of an agenda view. Is there a way to ensure that /foo/, which is rendered as /foo/ in an Org buffer, is also displayed as /foo/ in an agenda view?

  • 1
    org-mode uses font-lock; whereas, org-agenda-mode uses text-properties. The text-properties are applied during the data gathering from the org-mode files -- i.e., while searching using org-search-view, org-tags-view, org-agenda-list. No one, except for me, likes to substantially modify and take over functions -- so I will not suggest hacking into org-agenda-format-item because everyone believes that this would be sacrilege. – lawlist May 17 '17 at 0:26
  • 1
    For those people who wish to avoid touching the sacred internal functions such as org-agenda-format-item, one option would be to comb through the virtually finished *Org Agenda* buffer using a custom fix-up/touch-up function attached to the org-agenda-finalize-hook and modify the buffer after-the-fact so to speak. – lawlist May 17 '17 at 0:47
  • Thank you, I will take a look at this soon and report back. – tirocinium May 17 '17 at 20:41
  • I would love to see any working examples anyone has been able to achieve. – Metropolis Jan 8 '18 at 19:13

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.