all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Raffaele Ricciardi <rfflrccrd@gmail.com>
To: 21112@debbugs.gnu.org
Subject: bug#21112: 25; Patch: show minibuffer messages with a face
Date: Wed, 22 Jul 2015 14:46:49 +0200	[thread overview]
Message-ID: <55AF90B9.5040401@gmail.com> (raw)

[-- 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


             reply	other threads:[~2015-07-22 12:46 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22 12:46 Raffaele Ricciardi [this message]
2015-07-22 13:42 ` bug#21112: 25; Patch: show minibuffer messages with a face 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55AF90B9.5040401@gmail.com \
    --to=rfflrccrd@gmail.com \
    --cc=21112@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.