all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 8935@debbugs.gnu.org
Subject: bug#8935: 24.0.50; `substitute-command-keys' doc
Date: Mon, 18 Jul 2011 16:27:31 +0200	[thread overview]
Message-ID: <m3pql7y88c.fsf@hase.home> (raw)
In-Reply-To: <jwvipqzwv8h.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 18 Jul 2011 09:55:00 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Actually \ does have a special meaning, which depends on the following
> char (just like \ in regexps).  The difference between that and regexps
> is that in regexp \<char> turns into just <char> when \<char> has no
> special meaning, where it turns into \<char> here.

If you want a \ in a regexp you must write \\, always.  But if you want
to have a \ from substitute-command-keys you just write \, and if you
want \\= you must write \\=\=.  Thus \ by itself is not special here.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





  reply	other threads:[~2011-07-18 14:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-25 21:29 bug#8935: 24.0.50; `substitute-command-keys' doc Drew Adams
2011-07-15 14:32 ` Lars Magne Ingebrigtsen
2011-07-15 15:33 ` Andreas Schwab
2011-07-15 16:00   ` Drew Adams
2011-07-15 16:35   ` Lars Magne Ingebrigtsen
2011-07-15 16:35   ` Lars Magne Ingebrigtsen
2011-07-15 17:23     ` Drew Adams
2011-07-15 17:28       ` Lars Magne Ingebrigtsen
2011-07-15 18:38         ` Andreas Schwab
2011-07-15 19:17           ` Drew Adams
2011-07-15 20:09             ` Andreas Schwab
2011-07-15 19:18         ` Drew Adams
2011-07-15 19:22           ` Lars Magne Ingebrigtsen
2011-07-15 19:25             ` Drew Adams
2011-07-18 13:55   ` Stefan Monnier
2011-07-18 14:27     ` Andreas Schwab [this message]
2011-07-18 16:20       ` Stefan Monnier

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=m3pql7y88c.fsf@hase.home \
    --to=schwab@linux-m68k.org \
    --cc=8935@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.