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, 29 Apr 2016 16:42:14 +0200 Message-ID: <87pot85veh.fsf@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461941022 25482 80.91.229.3 (29 Apr 2016 14:43:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2016 14:43:42 +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 Fri Apr 29 16:43:31 2016 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 1aw9dh-0007H0-UP for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 16:43:30 +0200 Original-Received: from localhost ([::1]:54943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw9de-0003uz-82 for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 10:43:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw9dV-0003iv-NG for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 10:43:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aw9dJ-0007od-RS for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 10:43:12 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw9dJ-0007ni-Nz for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 10:43:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aw9dG-0002Lb-9n for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 10:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Apr 2016 14:43:02 +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.14619409408945 (code B ref 15909); Fri, 29 Apr 2016 14:43:02 +0000 Original-Received: (at 15909) by debbugs.gnu.org; 29 Apr 2016 14:42:20 +0000 Original-Received: from localhost ([127.0.0.1]:55398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aw9ca-0002KD-9U for submit@debbugs.gnu.org; Fri, 29 Apr 2016 10:42:20 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:56898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aw9cY-0002K4-Uk for 15909@debbugs.gnu.org; Fri, 29 Apr 2016 10:42:19 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1aw9cU-0001p7-Fn; Fri, 29 Apr 2016 16:42:16 +0200 In-Reply-To: (Drew Adams's message of "Fri, 15 Nov 2013 14:12:31 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:117186 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? I've now pushed a fix for this to the trunk. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no