Re: [SOLVED] Re: [FEATURE request] hope `org-agenda-custom-commands` can support propertiezed-text.

2023-03-07 Thread General discussions about Org-mode.
stardiviner writes: > [...] >> Does `("c" ,(format ...) ...) work? > > This macro-style expanded string works. I'm curious why have to be expanded? The reason is that org does not expect to run arbitrary sexp (in your case, the (format ...) expression); instead with the backtick and unquote,

[SOLVED] Re: [FEATURE request] hope `org-agenda-custom-commands` can support propertiezed-text.

2023-03-07 Thread stardiviner
[stardiviner] 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/ On Tue, Mar 7, 2023 at 9:59 PM Ihor Radchenko wrote: > stardiviner wr

Re: [FEATURE request] hope `org-agenda-custom-commands` can support propertiezed-text.

2023-03-07 Thread Ihor Radchenko
stardiviner writes: > But I can't do similar in `org-agenda-custom-commands` description part > like this: > ```elisp > (add-to-list >'org-agenda-custom-commands >'("c" (format "%s Today [c]locked tasks." (all-the-icons-faicon > "hourglass-start")) > ((agenda "" > ((org

[FEATURE request] hope `org-agenda-custom-commands` can support propertiezed-text.

2023-03-06 Thread stardiviner
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: ```elisp (setq org-capture-templates `(("c" ,(format "%s\tsticky note" (all-the-icons-faicon "sticky-note