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#21112: 25; Patch: show minibuffer messages with a face Date: Tue, 23 Feb 2016 20:34:24 +1100 Message-ID: <87si0jvkgv.fsf@gnus.org> References: <55AF90B9.5040401@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456220133 29382 80.91.229.3 (23 Feb 2016 09:35:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2016 09:35:33 +0000 (UTC) Cc: 21112@debbugs.gnu.org To: Raffaele Ricciardi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 23 10:35:22 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 1aY9NH-00069I-Qq for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Feb 2016 10:35:20 +0100 Original-Received: from localhost ([::1]:55253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY9N7-000247-5T for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Feb 2016 04:35:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY9N4-00022L-4Y for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 04:35:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY9N0-0004Xd-4f for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 04:35:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY9N0-0004XT-1r for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 04:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aY9Mz-00060u-PW for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 04:35:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Feb 2016 09:35: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.145622009223094 (code B ref 21112); Tue, 23 Feb 2016 09:35:01 +0000 Original-Received: (at 21112) by debbugs.gnu.org; 23 Feb 2016 09:34:52 +0000 Original-Received: from localhost ([127.0.0.1]:39106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY9Mq-00060Q-HK for submit@debbugs.gnu.org; Tue, 23 Feb 2016 04:34:52 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:60608) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY9Mp-00060I-4X for 21112@debbugs.gnu.org; Tue, 23 Feb 2016 04:34:51 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aY9MS-0000zM-3v; Tue, 23 Feb 2016 10:34:28 +0100 In-Reply-To: <55AF90B9.5040401@gmail.com> (Raffaele Ricciardi's message of "Wed, 22 Jul 2015 14:46:49 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aY9MS-0000zM-3v MailScanner-NULL-Check: 1456824869.57948@uqLiilpveR7WhpAQA3cuIA 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113544 Archived-At: Raffaele Ricciardi writes: > Dear GNU Emacs maintainers, > > this patch against the Git repository makes the minibuffer messages > appear with the same face as the minibuffer prompt, to make them more > visually distinguished from user input. [...] > (when args (setq message (apply 'format message args))) > + (setq message (propertize message 'face 'minibuffer-prompt)) I think it might be a good idea to use a different face for these temporary messages, but you can currently do this: (minibuffer-message (propertize "Foo" 'face 'bold)) And overwriting the specified face isn't a good idea. But perhaps it could apply a default face to the string if no face has already been set? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no