unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] Blinking paren won't hide minibuffer expression.
@ 2015-04-12  1:56 Michael Pontus
  2015-04-12  3:56 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Pontus @ 2015-04-12  1:56 UTC (permalink / raw)
  To: emacs-devel

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

I would like to suggest a simple change that will prevent blinking
paren from momentarily hiding the expression that is being typed.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Replace `message' with `minibuffer-message' in `blink-matching-open'. --]
[-- Type: text/x-diff, Size: 923 bytes --]

From a97c6afed49843d4772ad3906b6a97efe39a756e Mon Sep 17 00:00:00 2001
From: myeffort <m.pontus@gmail.com>
Date: Sun, 12 Apr 2015 04:45:20 +0300
Subject: [PATCH] Blinking paren won't hide minibuffer expression.

---
 lisp/simple.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/simple.el b/lisp/simple.el
index 5185607..0c738ef 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -6987,7 +6987,7 @@ The function should return non-nil if the two tokens do not match.")
                     (buffer-substring blinkpos (1+ blinkpos))))
                   ;; There is nothing to show except the char itself.
                   (t (buffer-substring blinkpos (1+ blinkpos))))))
-            (message "Matches %s"
+            (minibuffer-message "Matches %s"
                      (substring-no-properties open-paren-line-string)))))))))
 
 (defvar blink-paren-function 'blink-matching-open
-- 
2.0.5


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

* Re: [PATCH] Blinking paren won't hide minibuffer expression.
  2015-04-12  1:56 [PATCH] Blinking paren won't hide minibuffer expression Michael Pontus
@ 2015-04-12  3:56 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2015-04-12  3:56 UTC (permalink / raw)
  To: Michael Pontus; +Cc: emacs-devel

> I would like to suggest a simple change that will prevent blinking
> paren from momentarily hiding the expression that is being typed.

Sounds good,


        Stefan



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

end of thread, other threads:[~2015-04-12  3:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-12  1:56 [PATCH] Blinking paren won't hide minibuffer expression Michael Pontus
2015-04-12  3:56 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).