emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: Perry Smith <pedz@easesoftware.com>, emacs-orgmode@gnu.org
Subject: Re: Where is Elisp evaluation documented in the Org Manual?
Date: Fri, 30 Sep 2022 23:07:31 +0700	[thread overview]
Message-ID: <9f1942ec-4bac-441e-99aa-8e6e9b232c0b@gmail.com> (raw)
In-Reply-To: <70579B0C-FB06-460B-AA22-F0DF5392B9B9@easesoftware.com>

On 30/09/2022 21:15, Perry Smith wrote:

> 
> I discovered that it can be done like {{{kbd(M-TAB)}}}
> 
> Fascinating!!!  And I bet expr in the form of {{{ expr }}} could be any Elisp expression.  Cool!
> 
> But, where in the Org manual is this documented?

See info "(org) Macro Replacement" 
https://orgmode.org/manual/Macro-Replacement.html

If you are interested in particular in the implementation of kbd then 
have a look into doc/doc-setup.org and lisp/ox-texinfo.el files in the 
Org sources.

There are a pitfall with comma as macro argument separator. It is easy 
to forgot to escape it and to loose remaining arguments.


  reply	other threads:[~2022-09-30 16:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-30 14:15 Where is Elisp evaluation documented in the Org Manual? Perry Smith
2022-09-30 16:07 ` Max Nikulin [this message]
2022-09-30 16:25   ` Perry Smith

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=9f1942ec-4bac-441e-99aa-8e6e9b232c0b@gmail.com \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pedz@easesoftware.com \
    /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).