[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FEATURE request] hope `org-agenda-custom-commands` can support properti

From: stardiviner
Subject: [FEATURE request] hope `org-agenda-custom-commands` can support propertiezed-text.
Date: Tue, 7 Mar 2023 13:09:28 +0800

I want to display text icon using "all-the-icons" package to beautify org-mode commands interface.

In `org-capture-templates`, I can set description text with propertied text like this:

(setq org-capture-templates
      `(("c" ,(format "%s\tsticky note" (all-the-icons-faicon "sticky-note-o" :face 'all-the-icons-green :v-adjust 0.01))
         entry (file "")
         ;; select todo keyword interactively from `org-todo-keywords'.
         ;; The `org-todo-keywords-for-agenda' variable is fullfilled with value AFTER generated Agenda.
         "* %(completing-read \"Todo keyword: \" org-todo-keywords-for-agenda nil t) %^{Capture} [/] \n:PROPERTIES:\n:TIME: %U\n:END: \n%i\n%a\n\n%?\n"
         ;; :time-prompt t
         :empty-lines 1 :jump-to-captured t))

But I can't do similar in `org-agenda-custom-commands` description part like this:
   '("c" (format "%s Today [c]locked tasks." (all-the-icons-faicon "hourglass-start"))
     ((agenda ""
              ((org-agenda-ndays 1)
               (org-agenda-use-time-grid t)
               (org-agenda-include-diary nil)
               (org-agenda-show-log (quote clockcheck))
               (org-agenda-clockreport t))))))
This upper code will report error.

[stardiviner]           <Hack this world!>      GPG key ID: 47C32433
IRC(freeenode): stardiviner                     Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]