From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 17:30:01 2011 Received: (at submit) by debbugs.gnu.org; 25 Jun 2011 21:30:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QaaQT-0003i2-1s for submit@debbugs.gnu.org; Sat, 25 Jun 2011 17:30:01 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QaaQR-0003hq-2G for submit@debbugs.gnu.org; Sat, 25 Jun 2011 17:29:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QaaQL-0004ck-5j for submit@debbugs.gnu.org; Sat, 25 Jun 2011 17:29:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:53720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaaQL-0004cf-4F for submit@debbugs.gnu.org; Sat, 25 Jun 2011 17:29:53 -0400 Received: from eggs.gnu.org ([140.186.70.92]:45014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaaQJ-0001bY-QV for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2011 17:29:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QaaQI-0004cA-K7 for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2011 17:29:51 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:28328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaaQI-0004c2-7t for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2011 17:29:50 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet10.oracle.com (Switch-3.4.4/Switch-3.4.2) with ESMTP id p5PLTj9H018880 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 25 Jun 2011 21:29:47 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p5PLTiq0000226 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 25 Jun 2011 21:29:45 GMT Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p5PLTdCU023121 for ; Sat, 25 Jun 2011 16:29:39 -0500 Received: from dradamslap1 (/10.159.51.167) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 25 Jun 2011 14:29:39 -0700 From: "Drew Adams" To: Subject: 24.0.50; `substitute-command-keys' doc Date: Sat, 25 Jun 2011 14:29:30 -0700 Message-ID: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcwzfvfSWgNmRcJKTlGxifHndlT2Ww== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090201.4E06534B.0032:SCFMA922111,ss=1,re=-4.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) Both the doc string and the doc in the Elisp manual (node `Keys in Documentation') are unnecessarily confusing wrt `\='. They both correctly say that `\=' "quotes the following character and is discarded". However, they then say this to illustrate what is meant: "thus, `\=\[' puts `\[' into the output, and `\=\=' puts `\=' into the output." This is uncessarily complex and misleading. All the `\=' does is quote/escape the (single) next character, whatever it is. Nothing more. It has no special effect on special character combinations such as `\[' and `\='. If you really want to say something about escaping `\' as the next character then I suppose you could: "In particular, `\=\' produces `\' in the output. The character following the escaped character does not enter into (i.e., affect) the behavior at all. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-06-20 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/build/include' From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 10:32:33 2011 Received: (at control) by debbugs.gnu.org; 15 Jul 2011 14:32:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhjRR-00023W-5d for submit@debbugs.gnu.org; Fri, 15 Jul 2011 10:32:33 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhjRP-00023K-4k for control@debbugs.gnu.org; Fri, 15 Jul 2011 10:32:32 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QhjRD-0003Ys-IZ for control@debbugs.gnu.org; Fri, 15 Jul 2011 16:32:19 +0200 Date: Fri, 15 Jul 2011 16:32:18 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #8935 X-MailScanner-ID: 1QhjRD-0003Ys-IZ X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311345139.79252@0qiOftOk2mCa7KVkhIM42A X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) tags 8935 fixed close 8935 24.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 10:34:09 2011 Received: (at 8935) by debbugs.gnu.org; 15 Jul 2011 14:34:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhjSy-000271-UY for submit@debbugs.gnu.org; Fri, 15 Jul 2011 10:34:09 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhjSu-00026A-Ey for 8935@debbugs.gnu.org; Fri, 15 Jul 2011 10:34:05 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QhjSh-0003bT-J1; Fri, 15 Jul 2011 16:33:51 +0200 From: Lars Magne Ingebrigtsen To: "Drew Adams" Subject: Re: 24.0.50; `substitute-command-keys' doc In-Reply-To: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> (Drew Adams's message of "Sat, 25 Jun 2011 14:29:30 -0700") Date: Fri, 15 Jul 2011 16:32:16 +0200 Message-ID: References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Joni Mitchell's _Miles of Aisles_: "All I Want" X-Hashcash: 1:23:110715:drew.adams@oracle.com::3rtVSvAgNYAzh70x:00000000000000000000000000000000000000001c4o X-Hashcash: 1:23:110715:8935@debbugs.gnu.org::HBB0m+qmMVuheLCS:0000000000000000000000000000000000000000053bt MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1QhjSh-0003bT-J1 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311345231.64909@KgOSB7FUJBnOUIecDmRZrw X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 8935 Cc: 8935@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) "Drew Adams" writes: > It has no special effect on special character combinations such as `\[' > and `\='. If you really want to say something about escaping `\' as > the next character then I suppose you could: "In particular, `\=\' > produces `\' in the output. The character following the escaped > character does not enter into (i.e., affect) the behavior at all. I've now done this. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 11:34:20 2011 Received: (at 8935) by debbugs.gnu.org; 15 Jul 2011 15:34:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhkPD-0006EZ-5E for submit@debbugs.gnu.org; Fri, 15 Jul 2011 11:34:20 -0400 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhkO6-0006CS-9K for 8935@debbugs.gnu.org; Fri, 15 Jul 2011 11:33:38 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id CAF141C1DA0F; Fri, 15 Jul 2011 17:33:02 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id BCD541C0014A; Fri, 15 Jul 2011 17:33:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id KEA34SIXsZe0; Fri, 15 Jul 2011 17:33:02 +0200 (CEST) Received: from igel.home (ppp-93-104-144-171.dynamic.mnet-online.de [93.104.144.171]) by mail.mnet-online.de (Postfix) with ESMTP; Fri, 15 Jul 2011 17:33:02 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id E4580CA293; Fri, 15 Jul 2011 17:33:01 +0200 (CEST) From: Andreas Schwab To: "Drew Adams" Subject: Re: bug#8935: 24.0.50; `substitute-command-keys' doc References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> X-Yow: BARRY.. That was the most HEART-WARMING rendition of ``I DID IT MY WAY'' I've ever heard!! Date: Fri, 15 Jul 2011 17:33:01 +0200 In-Reply-To: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> (Drew Adams's message of "Sat, 25 Jun 2011 14:29:30 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8935 Cc: 8935@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) "Drew Adams" writes: > It has no special effect on special character combinations such as `\[' > and `\='. If you really want to say something about escaping `\' as > the next character then I suppose you could: "In particular, `\=\' > produces `\' in the output. This is wrong, because \ by itself has no special meaning, so you don't need to precede it by \=. 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." From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 12:00:27 2011 Received: (at 8935) by debbugs.gnu.org; 15 Jul 2011 16:00:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhkoV-0007Qt-4c for submit@debbugs.gnu.org; Fri, 15 Jul 2011 12:00:27 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhkoS-0007FY-G8 for 8935@debbugs.gnu.org; Fri, 15 Jul 2011 12:00:25 -0400 Received: from rtcsinet21.oracle.com (rtcsinet21.oracle.com [66.248.204.29]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p6FG0FeC015154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 15 Jul 2011 16:00:17 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rtcsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p6FG0DTB005474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Jul 2011 16:00:14 GMT Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p6FG0875030730; Fri, 15 Jul 2011 11:00:08 -0500 Received: from dradamslap1 (/10.159.34.212) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 15 Jul 2011 09:00:08 -0700 From: "Drew Adams" To: "'Andreas Schwab'" References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> Subject: RE: bug#8935: 24.0.50; `substitute-command-keys' doc Date: Fri, 15 Jul 2011 09:00:08 -0700 Message-ID: <272E8A17AE3C42699357E7293692E7DA@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcxDBIGX4ApmS6LCTUGG/OM7vS/jmgAAp3YA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: rtcsinet21.oracle.com [66.248.204.29] X-CT-RefId: str=0001.0A090208.4E206411.0077:SCFSTAT5015188, ss=1, re=-4.000, fgs=0 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 8935 Cc: 8935@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) > > It has no special effect on special character combinations > > such as `\[' and `\='. If you really want to say something > > about escaping `\' as the next character then I suppose you > > could: "In particular, `\=\' produces `\' in the output. > > This is wrong, because \ by itself has no special meaning, so > you don't need to precede it by \=. It's not wrong. \ by itself has no special meaning, so it need not be escaped when by itself - agreed. But \ followed by these particular chars (e.g. `[') does have special meaning for `substitute-command-keys', so when followed by such a char it does need to be escaped, if you want `\' in the output. It is nevertheless the \ and only the \ that is escaped. The escaping code takes no look past the \ to see what follows it. It is you, the programmer, who decides whether a particular \ needs escaping, and yes, you do that by looking at the following char (e.g. `['). But _you_ do that - that is not part of what `substitute-command-keys' does or `\=' does. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 12:35:39 2011 Received: (at submit) by debbugs.gnu.org; 15 Jul 2011 16:35:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhlMY-0001of-Rd for submit@debbugs.gnu.org; Fri, 15 Jul 2011 12:35:39 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhlMV-0001oQ-Pp for submit@debbugs.gnu.org; Fri, 15 Jul 2011 12:35:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhlMM-0004J8-Ts for submit@debbugs.gnu.org; Fri, 15 Jul 2011 12:35:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:37677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhlMM-0004J2-IP for submit@debbugs.gnu.org; Fri, 15 Jul 2011 12:35:26 -0400 Received: from eggs.gnu.org ([140.186.70.92]:49774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhlMI-0006Rm-ER for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 12:35:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhlME-0004I7-Dd for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 12:35:22 -0400 Received: from lo.gmane.org ([80.91.229.12]:56936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhlMD-0004Hz-UP for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 12:35:18 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QhlMB-0007fd-9r for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 18:35:15 +0200 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jul 2011 18:35:15 +0200 Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jul 2011 18:35:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Lars Magne Ingebrigtsen Subject: Re: bug#8935: 24.0.50; `substitute-command-keys' doc Date: Fri, 15 Jul 2011 18:35:03 +0200 Organization: Programmerer Ingebrigtsen Lines: 19 Message-ID: References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAAAAAAMFBQ0BAwkA AAS6fXwICA8AAQY2Eh8AAQcETrc+AAACLElEQVQ4jW2TQaucMBDHtS286wrC0muWyuuxpuySWy2B 4AcQPG9pcG/dViq5FpTc80Dm23YmE2UfvCAK+fn/z0wyk2VxHQqtx6J0YSwO+VEGKbNDBLnW5t44 UOpeFK0iwKsw07ROgBtrOQEqTgmUZpwAVwBoDEi1W5VmcmFFKwDtULeBvCxNCy8QCIB8BSYHawTw CLK8+W5p3eB8sp/JK/sWy8ibT7PvfbeA1h9lCLJmgGXg79equsJLcwRMqo5WT7Xd1lWcRgJc4O8q bQ8LvkTMN4I6gcFHUUyYQRJ470liHCQgNgETtqLgu1PXdf1iHYRHIOzz3NFajKN0dythh7jf9SOG EAxIIgQLuu4GW3COkQQIMKvTG6C/QXiV7gNQtXgD+EvYgierFNyTk411kGKwlkFvEdR2L3D2SwRU uSTQICCjrvd+ToAVB1aQ+bxbYYyGwbCDbsE7r7fgHg8We6FnIOXZxnTPP8mCIH0IVDZ2yV/O3/P7 HysKBO9m3pq7GXU/GLxPnTgNlDS1NV1sCk4DovH32TuAF8fgnh94cmIr0By0j4q8OPoEFDBo0uSU LajJKYlTFR4VZenU2rT7eFQ7wJNbtYtjGCL48yWCo8O51DjIrKmr7Cun+zRNsDYmqJUEtRAbKPUR VoxzWUmBXZ7dN2CwN5TCdFsVwaZAF+XwJpSKV26zXww0HoQasQ4sPdTYs5wsPkZCi+nWynH07RA/ OLhcsAwJ1AqY1X/rL0NxGDWE/wAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Joni Mitchell's _Shadows And Light (1)_: "Edith And The Kingpin" User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:nlDSnQ4e/gxoTP7RRHawPOOsjr0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.3 (----) Andreas Schwab writes: > "Drew Adams" writes: > >> It has no special effect on special character combinations such as `\[' >> and `\='. If you really want to say something about escaping `\' as >> the next character then I suppose you could: "In particular, `\=\' >> produces `\' in the output. > > This is wrong, because \ by itself has no special meaning, so you don't > need to precede it by \=. I see. I thought it worked the normal way, in that "\e" would be "e". Thanks for correcting this. Did you do the manual, too? If not I can take care of that. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 12:36:03 2011 Received: (at 8935) by debbugs.gnu.org; 15 Jul 2011 16:36:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhlMx-0001pa-Co for submit@debbugs.gnu.org; Fri, 15 Jul 2011 12:36:03 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhlMw-0001p1-7t for 8935@debbugs.gnu.org; Fri, 15 Jul 2011 12:36:02 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QhlMj-0000nw-8G; Fri, 15 Jul 2011 18:35:49 +0200 From: Lars Magne Ingebrigtsen To: Andreas Schwab Subject: Re: bug#8935: 24.0.50; `substitute-command-keys' doc In-Reply-To: (Andreas Schwab's message of "Fri, 15 Jul 2011 17:33:01 +0200") Date: Fri, 15 Jul 2011 18:35:37 +0200 Message-ID: References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAAAAAAMFBQ0BAwkA AAS6fXwICA8AAQY2Eh8AAQcETrc+AAACLElEQVQ4jW2TQaucMBDHtS286wrC0muWyuuxpuySWy2B 4AcQPG9pcG/dViq5FpTc80Dm23YmE2UfvCAK+fn/z0wyk2VxHQqtx6J0YSwO+VEGKbNDBLnW5t44 UOpeFK0iwKsw07ROgBtrOQEqTgmUZpwAVwBoDEi1W5VmcmFFKwDtULeBvCxNCy8QCIB8BSYHawTw CLK8+W5p3eB8sp/JK/sWy8ibT7PvfbeA1h9lCLJmgGXg79equsJLcwRMqo5WT7Xd1lWcRgJc4O8q bQ8LvkTMN4I6gcFHUUyYQRJ470liHCQgNgETtqLgu1PXdf1iHYRHIOzz3NFajKN0dythh7jf9SOG EAxIIgQLuu4GW3COkQQIMKvTG6C/QXiV7gNQtXgD+EvYgierFNyTk411kGKwlkFvEdR2L3D2SwRU uSTQICCjrvd+ToAVB1aQ+bxbYYyGwbCDbsE7r7fgHg8We6FnIOXZxnTPP8mCIH0IVDZ2yV/O3/P7 HysKBO9m3pq7GXU/GLxPnTgNlDS1NV1sCk4DovH32TuAF8fgnh94cmIr0By0j4q8OPoEFDBo0uSU LajJKYlTFR4VZenU2rT7eFQ7wJNbtYtjGCL48yWCo8O51DjIrKmr7Cun+zRNsDYmqJUEtRAbKPUR VoxzWUmBXZ7dN2CwN5TCdFsVwaZAF+XwJpSKV26zXww0HoQasQ4sPdTYs5wsPkZCi+nWynH07RA/ OLhcsAwJ1AqY1X/rL0NxGDWE/wAAAABJRU5ErkJggg== X-Now-Playing: Joni Mitchell's _Shadows And Light (1)_: "Edith And The Kingpin" X-Hashcash: 1:23:110715:8935@debbugs.gnu.org::f5rgQb6QoS2uSTMn:00000000000000000000000000000000000000000ETUx X-Hashcash: 1:23:110715:drew.adams@oracle.com::+jDzpuqxXd5DXyoz:0000000000000000000000000000000000000000Fxij X-Hashcash: 1:23:110715:schwab@linux-m68k.org::fYnAHvUrzepu+tHd:0000000000000000000000000000000000000000FZZg MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1QhlMj-0000nw-8G X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311352549.34328@7DaLtqB5ZcQ+1lE8K2zuHA X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 8935 Cc: 8935@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Andreas Schwab writes: > "Drew Adams" writes: > >> It has no special effect on special character combinations such as `\[' >> and `\='. If you really want to say something about escaping `\' as >> the next character then I suppose you could: "In particular, `\=\' >> produces `\' in the output. > > This is wrong, because \ by itself has no special meaning, so you don't > need to precede it by \=. I see. I thought it worked the normal way, in that "\e" would be "e". Thanks for correcting this. Did you do the manual, too? If not I can take care of that. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 13:23:40 2011 Received: (at 8935) by debbugs.gnu.org; 15 Jul 2011 17:23:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qhm72-0002y2-IV for submit@debbugs.gnu.org; Fri, 15 Jul 2011 13:23:40 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qhm70-0002xn-3H for 8935@debbugs.gnu.org; Fri, 15 Jul 2011 13:23:38 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p6FHNSZL015345 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 15 Jul 2011 17:23:30 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p6FHNQVP008628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Jul 2011 17:23:27 GMT Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p6FHNC9A028116; Fri, 15 Jul 2011 12:23:15 -0500 Received: from dradamslap1 (/10.159.40.132) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 15 Jul 2011 10:23:12 -0700 From: "Drew Adams" To: "'Lars Magne Ingebrigtsen'" , "'Andreas Schwab'" References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> Subject: RE: bug#8935: 24.0.50; `substitute-command-keys' doc Date: Fri, 15 Jul 2011 10:23:08 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcxDDUuq2CUl0w41T2CXGjO+PgfKEwABhp2g X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4E207793.0017:SCFMA922111,ss=1,re=-4.000,fgs=0 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 8935 Cc: 8935@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) > > This is wrong, because \ by itself has no special meaning, > > so you don't need to precede it by \=. > > I see. I thought it worked the normal way, in that "\e" would be "e". It does. That is correct. Andreas was wrong in saying it is wrong. What is true is that \ by itself (not followed by [, =, etc.) does not _NEED_ to be escaped. But it is certainly true that \= escapes \, whether it needs to in any given context (e.g. \[) or not (e.g. \ abc). If it escapes a \ that does not need escaping, the effect is a no-op. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 13:28:37 2011 Received: (at 8935) by debbugs.gnu.org; 15 Jul 2011 17:28:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhmBp-00034z-39 for submit@debbugs.gnu.org; Fri, 15 Jul 2011 13:28:37 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhmBn-00034n-1j for 8935@debbugs.gnu.org; Fri, 15 Jul 2011 13:28:35 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QhmBZ-0001c3-Us; Fri, 15 Jul 2011 19:28:22 +0200 From: Lars Magne Ingebrigtsen To: "Drew Adams" Subject: Re: bug#8935: 24.0.50; `substitute-command-keys' doc In-Reply-To: (Drew Adams's message of "Fri, 15 Jul 2011 10:23:08 -0700") Date: Fri, 15 Jul 2011 19:28:18 +0200 Message-ID: References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUAAAYEBxcGCht+SWgC Aw4YFCYBAQinjIYvAAACPklEQVQ4jU1Twa7jIAzkkOUOSvcObfYHIu5lhbg3PN6ZSln+/xN2xk6l h9pU9WQ89tiYI/K4tcw5zDDGzHlmV40JV7xMRgWYArw8gFBKJQMUO+ssuVrzRUZwRKw1c0yeAoYA zgEhZU58Sikgv4RAyhxjFiYCeai4ixdjnnwfuQY0nOYq09hh5/wX+p/J6hRAqmnxD8jTVgBWy42s amhJfBgUGLRzz3RrxrcipYFGCIiFW++d5vTUt9cwFZ1Sw7mty2n7nlIXx8wDQIgdkf06AqBcEW9X MLU99aeY+Yo/gY54V5d1Hq1Jpt4alJhqMQ/pL3W8TEJPTRhTqgoO9STV6O0jLr1tXQGKJRX/8trH Tv0U7/uH8f320YcNufe9pchOh7j7vQjQ2MF9B9D604pGBhCFkTYCW+J4M8RdDF6MSjHBxtY5eAXQ IIB7Onrcjt7POhZ/Acpgj0cjYLOaGFgMugMHDEx5rvAqRHcBdBAHky0FDI8Gb5qKc9we2LvsdFBO VvE6WE97umupAfAinIiv2B6bvXk53V0CWNGTwLBvZw4nudaMl8EAgJ00p1fbAfwQwcYBUA1fmOuj Psy5XQ2qiIbBMAvFOSmv9c6qAFM9HBvEN0P1rCyZjwyGk50OmQHG+APgwJii2FKKxVWTqujV6q5L CGBI72cZSy3iFZGMqsalYJY1a1UxsNb69zevOK7scusKBLGqYnQK2Nv+sYTXlhWdIj7eOzRc9E6B X7w+PSWuBt3FNfRB5sFiab+Z5T8XMO3kc+UunAAAAABJRU5ErkJggg== X-Now-Playing: Joni Mitchell's _Shadows And Light (2)_: "Furry Sings The Blues" X-Hashcash: 1:23:110715:8935@debbugs.gnu.org::s4NKsjRBtqkchpq/:000000000000000000000000000000000000000007GsG X-Hashcash: 1:23:110715:schwab@linux-m68k.org::e7yrv8E+Gzwm6JVj:0000000000000000000000000000000000000000Ompl X-Hashcash: 1:23:110715:drew.adams@oracle.com::KvJ2nCOfEp/OMk4V:0000000000000000000000000000000000000000k319 MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1QhmBZ-0001c3-Us X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311355702.22066@9dbfsHZUMzusOuxd5aMhWA X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 8935 Cc: 8935@debbugs.gnu.org, 'Andreas Schwab' X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) "Drew Adams" writes: > What is true is that \ by itself (not followed by [, =, etc.) does not > _NEED_ to be escaped. But it is certainly true that \= escapes \, > whether it needs to in any given context (e.g. \[) or not (e.g. \ > abc). If it escapes a \ that does not need escaping, the effect is a > no-op. Uhm. Now I'm even more confused. "\=\e" will print as "\e"? Right? So it's not a noop, and the fix I applied was correct. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 14:38:53 2011 Received: (at 8935) by debbugs.gnu.org; 15 Jul 2011 18:38:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhnHo-0004fY-GG for submit@debbugs.gnu.org; Fri, 15 Jul 2011 14:38:52 -0400 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhnHl-0004fK-4V for 8935@debbugs.gnu.org; Fri, 15 Jul 2011 14:38:50 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 457681C021CC; Fri, 15 Jul 2011 20:38:43 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 23EB51C00244; Fri, 15 Jul 2011 20:38:43 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id sdpoT8lUl778; Fri, 15 Jul 2011 20:38:39 +0200 (CEST) Received: from igel.home (ppp-93-104-144-171.dynamic.mnet-online.de [93.104.144.171]) by mail.mnet-online.de (Postfix) with ESMTP; Fri, 15 Jul 2011 20:38:39 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id D85BFCA293; Fri, 15 Jul 2011 20:38:38 +0200 (CEST) From: Andreas Schwab To: Lars Magne Ingebrigtsen Subject: Re: bug#8935: 24.0.50; `substitute-command-keys' doc References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> X-Yow: Barbie says, Take quaaludes in gin and go to a disco right away! But Ken says, WOO-WOO!! No credit at ``Mr. Liquor''!! Date: Fri, 15 Jul 2011 20:38:38 +0200 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Fri, 15 Jul 2011 19:28:18 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8935 Cc: 8935@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Lars Magne Ingebrigtsen writes: > "\=\e" will print as "\e"? Right? So it's not a noop, and the fix I > applied was correct. No. The *only* special sequences processed by substitute-command-keys' are '\=', '\[', '\<' and '\{'. Nothing else. The sentence is about how to write these special sequences in the doc string so that they are not treated specially, so the examples should talk about '\=' and '\[', not about '\'. 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." From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 15:18:07 2011 Received: (at 8935) by debbugs.gnu.org; 15 Jul 2011 19:18:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qhntn-0005Yj-DU for submit@debbugs.gnu.org; Fri, 15 Jul 2011 15:18:07 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qhntl-0005YH-MB for 8935@debbugs.gnu.org; Fri, 15 Jul 2011 15:18:06 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p6FJHv5S016539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 15 Jul 2011 19:17:59 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p6FJHuSJ022473 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Jul 2011 19:17:57 GMT Received: from abhmt119.oracle.com (abhmt119.oracle.com [141.146.116.71]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p6FJHo9l018524; Fri, 15 Jul 2011 14:17:51 -0500 Received: from dradamslap1 (/10.159.40.132) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 15 Jul 2011 12:17:50 -0700 From: "Drew Adams" To: "'Andreas Schwab'" , "'Lars Magne Ingebrigtsen'" References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> Subject: RE: bug#8935: 24.0.50; `substitute-command-keys' doc Date: Fri, 15 Jul 2011 12:17:46 -0700 Message-ID: <52B42160EFF24B69AE5BBAC0A0D03346@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcxDHnIkGz8tMq+USOS9NpiBMqJnhQAA9/Ug X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4E209267.0151:SCFMA922111,ss=1,re=-4.000,fgs=0 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 8935 Cc: 8935@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) > > "\=\e" will print as "\e"? Right? So it's not a noop, and the fix I > > applied was correct. > > No. The *only* special sequences processed by > substitute-command-keys' are '\=', '\[', '\<' and '\{'. > Nothing else. Correct. > The sentence is about how to write these special sequences in > the doc string so that they are not treated specially, Correct. > so the examples should talk about '\=' and '\[', not about '\'. It's OK to mention that in "\=\[" the \= escapes the \ so that \[ appears in the output. But it is only the \ that is being escaped here. Escaping a character means making it act normally, not specially. Only the \ acts specially, and it does so only when it precedes [, {, etc. So yes, this escaping of \ only has an effect when the \ precedes [, {, etc. But strictly speaking it is only the \ that gets escaped in these contexts. The =, [, etc. does not need to be escaped because those are not treated specially unless preceded by an unescaped \. So only one character needs to be escaped: the \. Anyway, it's a minor point (bug). I really don't care what you do with it. When I read the doc string, I found it confusing. I looked at the code and understood. It is _enough_ to say that \= escapes a \, preventing it from introducing a substitution when followed by =, [, etc. Or as I said in the beginning: > This is uncessarily complex and misleading. All the `\=' does is > quote/escape the (single) next character, whatever it is. Nothing > more. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 15:19:05 2011 Received: (at 8935) by debbugs.gnu.org; 15 Jul 2011 19:19:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qhnui-0005aH-Nt for submit@debbugs.gnu.org; Fri, 15 Jul 2011 15:19:04 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qhnug-0005Zi-Ve for 8935@debbugs.gnu.org; Fri, 15 Jul 2011 15:19:03 -0400 Received: from rtcsinet21.oracle.com (rtcsinet21.oracle.com [66.248.204.29]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p6FJItIS017573 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 15 Jul 2011 19:18:57 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rtcsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p6FJIrdI010630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Jul 2011 19:18:54 GMT Received: from abhmt102.oracle.com (abhmt102.oracle.com [141.146.116.54]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p6FJIm4g013353; Fri, 15 Jul 2011 14:18:48 -0500 Received: from dradamslap1 (/10.159.40.132) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 15 Jul 2011 12:18:48 -0700 From: "Drew Adams" To: "'Lars Magne Ingebrigtsen'" References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> Subject: RE: bug#8935: 24.0.50; `substitute-command-keys' doc Date: Fri, 15 Jul 2011 12:18:44 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcxDFKMARk58P/NMSEiHJUWBDgPWmgADFDwg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: rtcsinet21.oracle.com [66.248.204.29] X-CT-RefId: str=0001.0A090208.4E2092A1.007F:SCFSTAT5015188, ss=1, re=-4.000, fgs=0 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 8935 Cc: 8935@debbugs.gnu.org, 'Andreas Schwab' X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) > > What is true is that \ by itself (not followed by [, =, > > etc.) does not _NEED_ to be escaped. But it is certainly true > > that \= escapes \, whether it needs to in any given context > > (e.g. \[) or not (e.g. \abc). If it escapes a \ that does not > > need escaping, the effect is a no-op. > > Uhm. Now I'm even more confused. > > "\=\e" will print as "\e"? Right? Right. > So it's not a noop, It's a no-op in the sense that it does nothing. Of course, it is still the case that, as the doc string says, the \= itself "is discarded". What remains is the \ that was escaped. Not sure what your confusion is. \= escapes the char that follows it. What does escaping mean in this context? Preventing \ from having any special behavior when it precedes =, [, etc. The point is that it is not the pair of characters \=, \[, etc. that is escaped. \ is the only char escaped: it is prevented from doing anything special; it just appears in the output as is. Because \ gets escaped, it has no special `substitute-command-keys' effect on what follows it, whatever that might be. > and the fix I applied was correct. Dunno what it was. What I described is a proper fix, IMO. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 15:22:57 2011 Received: (at 8935) by debbugs.gnu.org; 15 Jul 2011 19:22:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhnyP-0005fO-0n for submit@debbugs.gnu.org; Fri, 15 Jul 2011 15:22:57 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhnyK-0005f7-5o for 8935@debbugs.gnu.org; Fri, 15 Jul 2011 15:22:52 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Qhny6-0003Bl-Cb; Fri, 15 Jul 2011 21:22:34 +0200 From: Lars Magne Ingebrigtsen To: "Drew Adams" Subject: Re: bug#8935: 24.0.50; `substitute-command-keys' doc In-Reply-To: (Drew Adams's message of "Fri, 15 Jul 2011 12:18:44 -0700") Date: Fri, 15 Jul 2011 21:22:31 +0200 Message-ID: References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUAAAAuR2FriqAaIysI CgwBAAEOB3GGAAACXElEQVQ4jW1Sy3LkIAzU1sB9DJ77gpP7YMHdE+BOyvD/v7ItO0lNslH5hdpq tR5UciylrZMYcySiRppwBbaBd38AlnkDcokDz1hiyW/euxOI+DdXlkDdxlhPAFysNRVSm8TAjIed ZOASQB9+BbcDYNxkN9Jx7FujKtm8mSYAwncHUN8BFAFAYswJ3FLjLYBQCdUhFmxuMjdLOYUGp9z2 BCQwhQHVcHbcWvzm0GWudn/JsYk2KX+1DwFAZRc31wFfuUNyZvcI3kOuAThHkZotar9YLsZJ+cau 1nJC/T1vFFUo2Uh9AJwN0w1Une+q0IPD2S3P87p6J62ckmK6sPHu7QCiJGuamJPKQ69nG2fvbsE4 vg+aKivWw5xtr8EvK/tbRAltT9zU6jOHpEr2i7FmLoggFR93vboRQtIxywSgDIAe/XFVPuaHv1Iu aKVfPKZuqfdg312fV/9XlwjVSBcqXamUwGF5VOOasix7kdlWTLBnHmZaenGkmLt3jnlK0sZg6Y3n klFv5mpmKTKhjaNHtCTmuDTaSzGvrpYJK9lHSehY6u51QHp9f1lax+KNpstGKqS+vuqhsDrLsin8 ixXGIHXhst90U5EE6LkC6Hlgi3q5yCwLacYgcpPkRUZ/KX/uOGCoKt/Vez1U4dH3/XLFu4CufwBa lnHnrrYzQo/YuUJVzzioeO59EzVJY4H6GLLCtNG5+RpAk5rH8X1wfJrspqYxRmvn6cn0oDY+v7+c 8jWQnH4zAOPp8Ez1BHw52y/eD2bJ/C2Hru07bXuK0F/Ac8zh1a39B/xk+KEL1z+Qmoj5UwCA2gAA AABJRU5ErkJggg== X-Now-Playing: Joni Mitchell's _Shine_: "Hana" X-Hashcash: 1:23:110715:8935@debbugs.gnu.org::JjYtk00WS/sjUTMr:0000000000000000000000000000000000000000003QE X-Hashcash: 1:23:110715:drew.adams@oracle.com::Byh9dbg0TxdMHtvL:0000000000000000000000000000000000000000Gymj X-Hashcash: 1:23:110715:schwab@linux-m68k.org::8qasRX0oiKou/yge:0000000000000000000000000000000000000000x7VC MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Qhny6-0003Bl-Cb X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311362554.4621@tAFyWZ/mjlGdHN9+jvs/HQ X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 8935 Cc: 8935@debbugs.gnu.org, 'Andreas Schwab' X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) "Drew Adams" writes: >> and the fix I applied was correct. > > Dunno what it was. > > What I described is a proper fix, IMO. You don't read the emacs-diffs mailing list? :-) I implemented what you described. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 15:25:52 2011 Received: (at 8935) by debbugs.gnu.org; 15 Jul 2011 19:25:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qho1I-0005jV-4D for submit@debbugs.gnu.org; Fri, 15 Jul 2011 15:25:52 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qho1G-0005jJ-Bh for 8935@debbugs.gnu.org; Fri, 15 Jul 2011 15:25:50 -0400 Received: from rtcsinet22.oracle.com (rtcsinet22.oracle.com [66.248.204.30]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p6FJPY81013492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 15 Jul 2011 19:25:38 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rtcsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p6FJPX9g020248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Jul 2011 19:25:34 GMT Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p6FJPRef032694; Fri, 15 Jul 2011 14:25:27 -0500 Received: from dradamslap1 (/10.159.40.132) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 15 Jul 2011 12:25:26 -0700 From: "Drew Adams" To: "'Lars Magne Ingebrigtsen'" References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> Subject: RE: bug#8935: 24.0.50; `substitute-command-keys' doc Date: Fri, 15 Jul 2011 12:25:23 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcxDJJe05q/04oJRS/uqR/LDd92qRAAAEH2Q X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: rtcsinet22.oracle.com [66.248.204.30] X-CT-RefId: str=0001.0A090201.4E209434.001E:SCFSTAT5015188, ss=1, re=-4.000, fgs=0 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 8935 Cc: 8935@debbugs.gnu.org, 'Andreas Schwab' X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) > > Dunno what it was. > > You don't read the emacs-diffs mailing list? :-) Nope. Sorry. > I implemented what you described. Thank you. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 16:09:59 2011 Received: (at 8935) by debbugs.gnu.org; 15 Jul 2011 20:09:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qhohx-0006ii-JN for submit@debbugs.gnu.org; Fri, 15 Jul 2011 16:09:57 -0400 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qhoht-0006iQ-NP for 8935@debbugs.gnu.org; Fri, 15 Jul 2011 16:09:54 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id DB6C61C01DF9; Fri, 15 Jul 2011 22:09:47 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id D22A51C0005B; Fri, 15 Jul 2011 22:09:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id bDNemigfqchT; Fri, 15 Jul 2011 22:09:47 +0200 (CEST) Received: from igel.home (ppp-93-104-144-171.dynamic.mnet-online.de [93.104.144.171]) by mail.mnet-online.de (Postfix) with ESMTP; Fri, 15 Jul 2011 22:09:47 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id D9AD0CA293; Fri, 15 Jul 2011 22:09:46 +0200 (CEST) From: Andreas Schwab To: "Drew Adams" Subject: Re: bug#8935: 24.0.50; `substitute-command-keys' doc References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> <52B42160EFF24B69AE5BBAC0A0D03346@us.oracle.com> X-Yow: What PROGRAM are they watching? Date: Fri, 15 Jul 2011 22:09:46 +0200 In-Reply-To: <52B42160EFF24B69AE5BBAC0A0D03346@us.oracle.com> (Drew Adams's message of "Fri, 15 Jul 2011 12:17:46 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8935 Cc: 'Lars Magne Ingebrigtsen' , 8935@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) "Drew Adams" writes: > Escaping a character means making it act normally, not specially. Only the \ > acts specially, Wrong. > and it does so only when it precedes [, {, etc. Right. And only this is of interest. > It is _enough_ to say that \= escapes a \, preventing it from > introducing a substitution when followed by =, [, etc. No, this is the wrong thing to do. The doc string should say how to produce a value that contains the two character sequences '\=' or '\['. That's the *whole* point of the examples (and these are *examples*, not specification). You don't need '\=' to produce a backslash in the value. So that is useless to say so. A doc string needs to get to the point, not be technically correct. 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." From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 18 09:55:09 2011 Received: (at 8935) by debbugs.gnu.org; 18 Jul 2011 13:55:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QioHs-0003mz-TF for submit@debbugs.gnu.org; Mon, 18 Jul 2011 09:55:09 -0400 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 1QioHq-0003lo-S1 for 8935@debbugs.gnu.org; Mon, 18 Jul 2011 09:55:07 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAMw6JE5MCqt8/2dsb2JhbABUp3N4iHzCC4Y8BJ8nhDA X-IronPort-AV: E=Sophos;i="4.67,222,1309752000"; d="scan'208";a="126492558" 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 09:55:01 -0400 Received: by ceviche.home (Postfix, from userid 20848) id CDCF36660D; Mon, 18 Jul 2011 09:55:00 -0400 (EDT) From: Stefan Monnier To: Andreas Schwab Subject: Re: bug#8935: 24.0.50; `substitute-command-keys' doc Message-ID: References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> Date: Mon, 18 Jul 2011 09:55:00 -0400 In-Reply-To: (Andreas Schwab's message of "Fri, 15 Jul 2011 17:33:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 8935 Cc: 8935@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >> It has no special effect on special character combinations such as `\[' >> and `\='. If you really want to say something about escaping `\' as >> the next character then I suppose you could: "In particular, `\=\' >> produces `\' in the output. > This is wrong, because \ by itself has no special meaning, so you don't > need to precede it by \=. 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. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 18 10:27:41 2011 Received: (at 8935) by debbugs.gnu.org; 18 Jul 2011 14:27:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QionM-0004eo-NI for submit@debbugs.gnu.org; Mon, 18 Jul 2011 10:27:41 -0400 Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QionK-0004eb-Mk for 8935@debbugs.gnu.org; Mon, 18 Jul 2011 10:27:39 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 8A000186DEED; Mon, 18 Jul 2011 16:27:32 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id A45B71C0008E; Mon, 18 Jul 2011 16:27:32 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id MFjZajFlXqGy; Mon, 18 Jul 2011 16:27:32 +0200 (CEST) Received: from hase.home (ppp-88-217-110-34.dynamic.mnet-online.de [88.217.110.34]) by mail.mnet-online.de (Postfix) with ESMTP; Mon, 18 Jul 2011 16:27:31 +0200 (CEST) From: Andreas Schwab To: Stefan Monnier Subject: Re: bug#8935: 24.0.50; `substitute-command-keys' doc References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> X-Yow: I own seven-eighths of all the artists in downtown Burbank! Date: Mon, 18 Jul 2011 16:27:31 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 18 Jul 2011 09:55:00 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8935 Cc: 8935@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Stefan Monnier 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 \ 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. 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." From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 18 12:20:54 2011 Received: (at 8935) by debbugs.gnu.org; 18 Jul 2011 16:20:54 +0000 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 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" 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 Received: by ceviche.home (Postfix, from userid 20848) id 489076660D; Mon, 18 Jul 2011 12:20:44 -0400 (EDT) From: Stefan Monnier To: Andreas Schwab Subject: Re: bug#8935: 24.0.50; `substitute-command-keys' doc Message-ID: References: <7A4E77E7DAE2436DA3DFE76693103500@us.oracle.com> Date: Mon, 18 Jul 2011 12:20:44 -0400 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) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 8935 Cc: 8935@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >> 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 From unknown Sat Sep 06 20:03:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 16 Aug 2011 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator