From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#25151: 26.0.50; read-char prompt does not minibuffer face Date: Fri, 9 Dec 2016 13:09:58 -0800 (PST) Message-ID: References: <87vautey8k.fsf@udel.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1481318008 11560 195.159.176.226 (9 Dec 2016 21:13:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2016 21:13:28 +0000 (UTC) To: Mark Oteiza , 25151@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 09 22:13:25 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFSTp-0001rY-7V for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Dec 2016 22:13:21 +0100 Original-Received: from localhost ([::1]:49019 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFSTt-0003kP-BF for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Dec 2016 16:13:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFSRd-0005BU-UK for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2016 16:11:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFSRa-0003pi-N9 for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2016 16:11:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49145) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cFSRa-0003pe-JO for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2016 16:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cFSRa-0004AW-HB for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2016 16:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Dec 2016 21:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25151 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25151-submit@debbugs.gnu.org id=B25151.148131781515784 (code B ref 25151); Fri, 09 Dec 2016 21:11:02 +0000 Original-Received: (at 25151) by debbugs.gnu.org; 9 Dec 2016 21:10:15 +0000 Original-Received: from localhost ([127.0.0.1]:36310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFSQp-00046R-DH for submit@debbugs.gnu.org; Fri, 09 Dec 2016 16:10:15 -0500 Original-Received: from aserp1050.oracle.com ([141.146.126.70]:22759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFSQj-00045R-QI for 25151@debbugs.gnu.org; Fri, 09 Dec 2016 16:10:10 -0500 Original-Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) by aserp1050.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id uB9LA34U013791 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <25151@debbugs.gnu.org>; Fri, 9 Dec 2016 21:10:03 GMT Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id uB9LA2PC023633 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 9 Dec 2016 21:10:02 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id uB9LA2uW021897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 9 Dec 2016 21:10:02 GMT Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id uB9L9x59015135; Fri, 9 Dec 2016 21:10:00 GMT In-Reply-To: <87vautey8k.fsf@udel.edu> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: aserp1040.oracle.com [141.146.126.69] 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:126783 Archived-At: This raises a good question. I guess you are suggesting that face `minibuffer-prompt' should be used here? If so, is that face intended to be a prompt face in general (i.e., THE prompt face, by default) or just a _minibuffer_ prompt face? It might make sense for the faces for other kinds of prompt to look the same, by default, as `minibuffer-prompt'. (Or it might not.) But according to its name, face `minibuffer-prompt' is=20 specific to prompting when reading input in the minibuffer. (And that's not the case for `read-char', `y-or-n-p', etc.) It could be decided that `minibuffer-prompt' is to be used for prompting in general. In that case it really should be called something like `prompt'. But I think it would make more sense to create a separate face `prompt', and (perhaps) let `minibuffer-prompt' inherit from it. Some users might, in particular, want to see a difference when they are prompted and reading is NOT from the minibuffer. Functions that read characters without using the minibuffer can confuse users, and a difference in prompt face could give them an idea that input is being read differently. Recently Emacs Dev decided to just add face `minibuffer-prompt' to the prompt for `y-or-n-p'. I'd sooner see a separate face be used for non-minibuffer input prompting (even if the default appearance might be the same).