all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#21112: 25; Patch: show minibuffer messages with a face
@ 2015-07-22 12:46 Raffaele Ricciardi
  2015-07-22 13:42 ` Drew Adams
  2016-02-23  9:34 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 20+ messages in thread
From: Raffaele Ricciardi @ 2015-07-22 12:46 UTC (permalink / raw)
  To: 21112

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

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.

Thanks for your attention.
Best Regards

[-- Attachment #2: 0001-minibuffer.el-Make-minibuffer-message-use-minibuffer.patch --]
[-- Type: text/x-patch, Size: 974 bytes --]

From 37292a9cbe5ac7c19ee6ef273fca977105487b37 Mon Sep 17 00:00:00 2001
From: Raffaele Ricciardi <deleted@for.privacy>
Date: Mon, 20 Jul 2015 00:11:03 +0200
Subject: [PATCH] * minibuffer.el: Make 'minibuffer-message' use the
 'minibuffer-prompt' face.

---
 lisp/minibuffer.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 411416b..ac1b660 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -703,6 +703,7 @@ If ARGS are provided, then pass MESSAGE through `format'."
                       (copy-sequence message)
                     (concat " [" message "]")))
     (when args (setq message (apply 'format message args)))
+    (setq message (propertize message 'face 'minibuffer-prompt))
     (let ((ol (make-overlay (point-max) (point-max) nil t t))
           ;; A quit during sit-for normally only interrupts the sit-for,
           ;; but since minibuffer-message is used at the end of a command,
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2019-07-04 22:01 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22 12:46 bug#21112: 25; Patch: show minibuffer messages with a face Raffaele Ricciardi
2015-07-22 13:42 ` Drew Adams
2015-07-22 13:44   ` Drew Adams
2015-07-22 15:27     ` Raffaele Ricciardi
2015-07-22 15:42       ` Drew Adams
2016-02-23  9:34 ` Lars Ingebrigtsen
2019-06-25 15:50   ` Lars Ingebrigtsen
2019-06-25 19:47     ` Juri Linkov
2019-06-25 20:43       ` Lars Ingebrigtsen
2019-06-26 21:28         ` Juri Linkov
2019-06-27 10:28           ` Lars Ingebrigtsen
2019-06-27 14:22             ` Drew Adams
2019-06-27 20:29               ` Juri Linkov
2019-06-27 21:19                 ` Drew Adams
2019-06-27 20:28             ` Juri Linkov
2019-06-27 21:37               ` Drew Adams
2019-07-04 22:01         ` Juri Linkov
2019-06-25 20:54       ` Drew Adams
2019-06-26 21:30         ` Juri Linkov
2019-06-26 22:13           ` Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.