From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#8935: 24.0.50; `substitute-command-keys' doc Date: Mon, 18 Jul 2011 12:20:44 -0400 Message-ID: References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1311007395 18105 80.91.229.12 (18 Jul 2011 16:43:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 16:43:15 +0000 (UTC) Cc: 8935@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 18 18:43:10 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QiquT-0003sF-6v for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jul 2011 18:43:09 +0200 Original-Received: from localhost ([::1]:45367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiquS-0002ha-99 for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jul 2011 12:43:08 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiqZ7-0004tn-NS for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2011 12:21:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QiqZ5-0006k9-Mb for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2011 12:21:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiqZ5-0006k1-6h for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2011 12:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QiqZ4-0007Cy-Dr; Mon, 18 Jul 2011 12:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Jul 2011 16:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8935 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 8935-submit@debbugs.gnu.org id=B8935.131100605427692 (code B ref 8935); Mon, 18 Jul 2011 16:21:02 +0000 Original-Received: (at 8935) by debbugs.gnu.org; 18 Jul 2011 16:20:54 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiqYw-0007Cb-15 for submit@debbugs.gnu.org; Mon, 18 Jul 2011 12:20:54 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiqYs-0007CM-9Q for 8935@debbugs.gnu.org; Mon, 18 Jul 2011 12:20:52 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAM9cJE5MCqt8/2dsb2JhbABUp3d4iHzCNIY8BJ8nhDA X-IronPort-AV: E=Sophos;i="4.67,223,1309752000"; d="scan'208";a="126537476" Original-Received: from 76-10-171-124.dsl.teksavvy.com (HELO ceviche.home) ([76.10.171.124]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 18 Jul 2011 12:20:44 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 489076660D; Mon, 18 Jul 2011 12:20:44 -0400 (EDT) In-Reply-To: (Andreas Schwab's message of "Mon, 18 Jul 2011 16:27:31 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 18 Jul 2011 12:21:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49407 Archived-At: >> 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 \ turns into just when \ has no >> special meaning, where it turns into \ 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. The "by itself" doesn't mean much, and \ is special because it changes the meaning of the subsequent character. I agree it's not special in the same way as it is in regexps, but it is still special. Stefan