From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#1169: 23.0.60; (substitute-command-keys "\\{...}") adds extra newline Date: Thu, 07 Jul 2011 19:21:06 +0200 Message-ID: References: <004801c92e4e$9b8018c0$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310065712 22016 80.91.229.12 (7 Jul 2011 19:08:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2011 19:08:32 +0000 (UTC) Cc: 1169@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 07 21:08:27 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 1Qetw2-0003JJ-Fv for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Jul 2011 21:08:26 +0200 Original-Received: from localhost ([::1]:33745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qetw0-0005RP-Ud for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Jul 2011 15:08:25 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QesH7-00012D-PH for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2011 13:22:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QesH5-0006Nu-Pb for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2011 13:22:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QesH5-0006Ni-8z for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2011 13:22:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QesH4-0006L8-Vg; Thu, 07 Jul 2011 13:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jul 2011 17:22: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: Original-Received: via spool by 1169-submit@debbugs.gnu.org id=B1169.131005928624292 (code B ref 1169); Thu, 07 Jul 2011 17:22:02 +0000 Original-Received: (at 1169) by debbugs.gnu.org; 7 Jul 2011 17:21:26 +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 1QesGT-0006Jh-0L for submit@debbugs.gnu.org; Thu, 07 Jul 2011 13:21:25 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QesGQ-0006JU-Oh for 1169@debbugs.gnu.org; Thu, 07 Jul 2011 13:21:23 -0400 Original-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 1QesGF-0006PS-53; Thu, 07 Jul 2011 19:21:11 +0200 In-Reply-To: <004801c92e4e$9b8018c0$0200a8c0@us.oracle.com> (Drew Adams's message of "Tue, 14 Oct 2008 15:45:50 -0700") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: The Smiths's _The Queen Is Dead_: "I Know It's Over" X-Hashcash: 1:23:110707:drew.adams@oracle.com::8cj/6/v2/dAL2ZVm:000000000000000000000000000000000000000019QK X-Hashcash: 1:23:110707:1169@debbugs.gnu.org::Q6aZLEmhVvtds9W9:000000000000000000000000000000000000000006sQs X-MailScanner-ID: 1QesGF-0006PS-53 MailScanner-NULL-Check: 1310664071.75271@dMgfx2QJWp4rMrzCaGyOxg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 07 Jul 2011 13:22: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:48194 Archived-At: "Drew Adams" writes: > (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. I've now made the change, but I haven't totally replicated the look of `C-h b' and the like. It used to have ... stuff ... ^L ... more stuff ... With the change, it now says: ... stuff ... ^L ... more stuff ... I can add back the newlines if people want. I'd rather get rid of the ^L characters, though. Do they have any purpose any more? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/