From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1169: 23.0.60; (substitute-command-keys "\\{...}") adds extra newline Date: Tue, 14 Oct 2008 15:45:50 -0700 Message-ID: <004801c92e4e$9b8018c0$0200a8c0@us.oracle.com> Reply-To: Drew Adams , 1169@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224025819 19101 80.91.229.12 (14 Oct 2008 23:10:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2008 23:10:19 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 15 01:11:19 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kpt2n-0005yH-JN for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Oct 2008 01:11:13 +0200 Original-Received: from localhost ([127.0.0.1]:53208 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kpt1i-0004Yl-R6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 19:10:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kpt1f-0004YQ-NL for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 19:10:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kpt1e-0004Wq-3f for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 19:10:03 -0400 Original-Received: from [199.232.76.173] (port=50350 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kpt1d-0004Wg-Ue for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 19:10:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55384) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kpt1d-00087R-I2 for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 19:10:02 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9EN9xBF016283; Tue, 14 Oct 2008 16:09:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9EMt4km012181; Tue, 14 Oct 2008 15:55:04 -0700 X-Loop: don@donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 14 Oct 2008 22:55:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1169 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122402435510840 (code B ref -1); Tue, 14 Oct 2008 22:55:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 14 Oct 2008 22:45:55 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9EMjqf3010834 for ; Tue, 14 Oct 2008 15:45:53 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:58167) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Kpsbo-0000JP-2M for emacs-pretest-bug@gnu.org; Tue, 14 Oct 2008 18:43:20 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KpseE-00047e-Nq for emacs-pretest-bug@gnu.org; Tue, 14 Oct 2008 18:45:51 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:50923) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KpseE-00047W-CH for emacs-pretest-bug@gnu.org; Tue, 14 Oct 2008 18:45:50 -0400 Original-Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m9EMjkHn006355 for ; Tue, 14 Oct 2008 16:45:47 -0600 Original-Received: from acsmt702.oracle.com (acsmt702.oracle.com [141.146.40.80]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m9EMjklL015573 for ; Tue, 14 Oct 2008 16:45:46 -0600 Original-Received: from dradamslap1 (/24.23.165.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 14 Oct 2008 15:45:45 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AckuTpsgvY0R6QxhShecU+qx3n/vIw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 14 Oct 2008 19:10:03 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21489 gmane.emacs.pretest.bugs:23218 Archived-At: emacs -Q (substitute-command-keys "\\{minibuffer-local-map}") ; or another map The returned string ends in \n\n. It should end in just \n. If text is added after the returned string, then it should be up to that text to start with a \n if it wants a blank separator line. If, for example, it starts instead with ^L, then the current code includes an extra blank line before the form feed. It should be up to the calling function to decide whether it wants a blank line at the end - only the calling function knows the context and whether such a line is appropriate. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-10-03 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping'