From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: how to replace old-style backquotes
Date: Mon, 27 Dec 2010 21:32:23 -0500 [thread overview]
Message-ID: <jwv62uek4zc.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.10.1293314405.24913.help-gnu-emacs@gnu.org
>> "(` ...)" --> "`..."
>> "(, ...)" --> ",..."
>> "(,@ ...)" --> ",@..."
> Hm, well, I think, yes. But don't complain at me if there is some
> corner case where that simple rule is not correct.
That's right. Another way to solve this is to use neither old- nor
new-style and simply use explicit symbol names. I.e. add backslash
before each comma and backquote:
(` ...) --> (\` ...)
(, ...) --> (\, ...)
(,@ ...) --> (\,@ ...)
>> Or is it more complex than that? E.g. does it matter how these are
>> nested
> Well, yes. Commas are only to be replaced in backquoted forms, but
> since that's the only use anyway...
Actually, while commas are usually only used within backquotes, the `
and , special syntax can also be used for other things than the
backquote macro.
Stefan
prev parent reply other threads:[~2010-12-28 2:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.19.1292896532.3394.help-gnu-emacs@gnu.org>
2010-12-21 5:20 ` Revert Emacs to version supporting cedet backticks? Jason Earl
2010-12-21 16:31 ` Tassilo Horn
2010-12-24 14:06 ` how to replace old-style backquotes (was: Re: Revert Emacs to version supporting cedet backticks?) Gregor Zattler
2010-12-25 21:59 ` how to replace old-style backquotes Tassilo Horn
[not found] ` <mailman.10.1293314405.24913.help-gnu-emacs@gnu.org>
2010-12-28 2:32 ` Stefan Monnier [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv62uek4zc.fsf-monnier+gnu.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.