From: Ruijie Yu via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: stardiviner <numbchild@gmail.com>
Cc: Ihor Radchenko <yantar92@posteo.net>, emacs-orgmode@gnu.org
Subject: Re: [SOLVED] Re: [FEATURE request] hope `org-agenda-custom-commands` can support propertiezed-text.
Date: Wed, 08 Mar 2023 14:40:38 +0800 [thread overview]
Message-ID: <sdva60nkakt.fsf@fw.net.yu> (raw)
In-Reply-To: <CAL1eYu+bEddpZUs7-T8GdjMBx+0L6zUg1K_6-OQ86rtxGZs04A@mail.gmail.com>
stardiviner <numbchild@gmail.com> 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, you are passing in a propertized string to org, which org can
understand and make use of.
--
Best,
RY
prev parent reply other threads:[~2023-03-08 6:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-07 5:09 [FEATURE request] hope `org-agenda-custom-commands` can support propertiezed-text stardiviner
2023-03-07 14:01 ` Ihor Radchenko
2023-03-08 5:20 ` [SOLVED] " stardiviner
2023-03-08 6:40 ` Ruijie Yu via General discussions about Org-mode. [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sdva60nkakt.fsf@fw.net.yu \
--to=emacs-orgmode@gnu.org \
--cc=numbchild@gmail.com \
--cc=ruijie@netyu.xyz \
--cc=yantar92@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).