From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#1169: 23.0.60; (substitute-command-keys "\\{...}") adds extra newline Date: Wed, 30 May 2012 13:21:39 -0700 Message-ID: <47A49711AAFF4AAE90177B12D628AB5B@us.oracle.com> References: <004801c92e4e$9b8018c0$0200a8c0@us.oracle.com> <87ehq251b9.fsf@gnu.org><8762bdyd2p.fsf@gnu.org><878vg9tyee.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1338409366 26776 80.91.229.3 (30 May 2012 20:22:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 May 2012 20:22:46 +0000 (UTC) Cc: 'Lars Magne Ingebrigtsen' , 'Chong Yidong' , 1169@debbugs.gnu.org To: "'Andreas Schwab'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 30 22:22:43 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SZpPi-0000Ds-Oh for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 May 2012 22:22:38 +0200 Original-Received: from localhost ([::1]:51664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZpPi-00031s-Ab for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 May 2012 16:22:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZpPe-00031S-MB for bug-gnu-emacs@gnu.org; Wed, 30 May 2012 16:22:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZpPc-0001LO-Tm for bug-gnu-emacs@gnu.org; Wed, 30 May 2012 16:22:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZpPc-0001LK-Q0 for bug-gnu-emacs@gnu.org; Wed, 30 May 2012 16:22:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SZpR4-0004Ho-6W for bug-gnu-emacs@gnu.org; Wed, 30 May 2012 16:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 May 2012 20:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1169 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 1169-submit@debbugs.gnu.org id=B1169.133840942016448 (code B ref 1169); Wed, 30 May 2012 20:24:02 +0000 Original-Received: (at 1169) by debbugs.gnu.org; 30 May 2012 20:23:40 +0000 Original-Received: from localhost ([127.0.0.1]:50777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZpQi-0004HF-1v for submit@debbugs.gnu.org; Wed, 30 May 2012 16:23:40 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:44822) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZpQO-0004Gh-4Q for 1169@debbugs.gnu.org; Wed, 30 May 2012 16:23:39 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q4UKLgJE002847 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 30 May 2012 20:21:43 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q4UKLfqS004843 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 30 May 2012 20:21:42 GMT Original-Received: from abhmt105.oracle.com (abhmt105.oracle.com [141.146.116.57]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q4UKLeBC018296; Wed, 30 May 2012 15:21:40 -0500 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 30 May 2012 13:21:40 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac0+nyjeqgjkGJKmSd6fWMFBkI6A0AAAdM4w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:60551 Archived-At: > > The `}' character "denotes the end", perfectly. > > Which '}' character? Which double-newline? There is a lot less (zero?) ambiguity in finding the `}' that corresponds to a given `\{' than there is to trying to parse the _resulting_, substituted text for \n\n to determine the end of the text that was substituted for `}'. Try (substiture-command-keys "\\{global-map}") and see how many \n\n there are. Why rely on the content of the _resulting_ string, after substitution?