From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#15909: 24.3.50; please fix `read-face-name' brain-dead PROMPT handling Date: Fri, 07 Feb 2014 19:14:42 -0800 Message-ID: <87a9e29ty5.fsf@building.gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391829428 22161 80.91.229.3 (8 Feb 2014 03:17:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2014 03:17:08 +0000 (UTC) Cc: 15909@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 08 04:17:15 2014 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 1WByPr-0005pQ-OU for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 04:17:15 +0100 Original-Received: from localhost ([::1]:44677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WByPr-0007xW-4x for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 22:17:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WByPj-0007x7-C4 for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 22:17:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WByPe-0005Pi-Cm for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 22:17:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WByPe-0005Pe-9r for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 22:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WByPe-0005rO-0d for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 22:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Feb 2014 03:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15909 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15909-submit@debbugs.gnu.org id=B15909.139182936722442 (code B ref 15909); Sat, 08 Feb 2014 03:17:01 +0000 Original-Received: (at 15909) by debbugs.gnu.org; 8 Feb 2014 03:16:07 +0000 Original-Received: from localhost ([127.0.0.1]:55769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WByOl-0005pt-30 for submit@debbugs.gnu.org; Fri, 07 Feb 2014 22:16:07 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:58750) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WByOj-0005pm-Tp for 15909@debbugs.gnu.org; Fri, 07 Feb 2014 22:16:06 -0500 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WByOU-00043e-Mo; Sat, 08 Feb 2014 04:15:51 +0100 In-Reply-To: (Drew Adams's message of "Fri, 15 Nov 2013 14:12:31 -0800 (PST)") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WByOU-00043e-Mo MailScanner-NULL-Check: 1392434152.03575@75eBLu4aAtab+jVXclXiYg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:84859 Archived-At: Drew Adams writes: > In Emacs 20, the PROMPT arg was just passed to `completing-read'. So > you used ": " at the end. As usual in Emacs. Simple. Sure. No > nonsense. > > In Emacs 22, `read-face-name' decided to become "smart": It required > callers NOT to end the PROMPT with a space. Dumb. > > In Emacs 24, `read-face-name' decided to become even "smarter": It > requires callers NOT to end the PROMPT with EITHER a space or a colon. > It systematically adds ": " to PROMPT. Dumber. > > This is silly. It means that any 3rd-party code that passes a prompt to > `read-face-name' has to fiddle with it to get the desired result for > different Emacs versions. To what end? What good is accomplished by > this silliness? Is there any third-party code that calls that function? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/