From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#21112: 25; Patch: show minibuffer messages with a face Date: Wed, 22 Jul 2015 08:42:44 -0700 (PDT) Message-ID: <57ef5a2f-da82-4ebc-9512-c50c586e7364@default> References: <55AF90B9.5040401@gmail.com> <16d72285-8829-40db-a82c-3548b0b84f83@default> <0628db88-9d3c-41ad-8084-6bd33c32a01f@default> <55AFB673.1030703@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1437579806 30070 80.91.229.3 (22 Jul 2015 15:43:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jul 2015 15:43:26 +0000 (UTC) To: Raffaele Ricciardi , 21112@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 22 17:43:13 2015 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 1ZHwAq-0000Hx-QZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Jul 2015 17:43:13 +0200 Original-Received: from localhost ([::1]:37146 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHwAp-0002QY-Vr for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Jul 2015 11:43:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHwAk-0002QR-HR for bug-gnu-emacs@gnu.org; Wed, 22 Jul 2015 11:43:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHwAg-000623-1L for bug-gnu-emacs@gnu.org; Wed, 22 Jul 2015 11:43:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHwAf-00061w-TP for bug-gnu-emacs@gnu.org; Wed, 22 Jul 2015 11:43:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZHwAf-0000m6-Mw for bug-gnu-emacs@gnu.org; Wed, 22 Jul 2015 11:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Jul 2015 15:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21112 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 21112-submit@debbugs.gnu.org id=B21112.14375797742966 (code B ref 21112); Wed, 22 Jul 2015 15:43:01 +0000 Original-Received: (at 21112) by debbugs.gnu.org; 22 Jul 2015 15:42:54 +0000 Original-Received: from localhost ([127.0.0.1]:56498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHwAX-0000lm-SS for submit@debbugs.gnu.org; Wed, 22 Jul 2015 11:42:54 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:17844) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHwAW-0000lY-CD for 21112@debbugs.gnu.org; Wed, 22 Jul 2015 11:42:52 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t6MFgjO0015463 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 22 Jul 2015 15:42:46 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t6MFgjvL008623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 22 Jul 2015 15:42:45 GMT Original-Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t6MFgj2l031387; Wed, 22 Jul 2015 15:42:45 GMT In-Reply-To: <55AFB673.1030703@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] 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:105076 Archived-At: > > I haven't looked at the patch, and I misread the request as > applying > > to `message' output, not `minibuffer-message'. But I have the same > > response in the latter case - leave it alone, so users can do with > > it what they like. >=20 > I understand what you mean and I agree when you say that the current > implementation is more flexible. The problem that this patch tries > to > solve is that -- as far as I can see -- all Emacs messages are > currently passed as plain strings, and thus appear in the same face > as > user input, making it seem that Emacs is meddling with user input, > which is not the case. Now, requiring callers to specify a face for > every single message would be burdensome, wouldn't it? Maybe, could > we make `minibuffer-message' apply the `minibuffer-prompt' face only > if the message lacks its own faces? Or maybe, could we split > `minibuffer-message' in two functions, one -- internal -- that > applies > the `minibuffer-prompt' face and one that doesn't? The same > approach > could be applied to the minibuffer prompt, too. I hear you, but I would (still) say leave it alone. It is not just that the string that might already have faces. A user can have a standalone minibuffer with a default face, etc. YAGNI - my 2 cents