all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* blink-matching-open resizes echo area
@ 2005-08-20  8:44 martin rudalics
  2005-08-22  0:06 ` Richard M. Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: martin rudalics @ 2005-08-20  8:44 UTC (permalink / raw)


Suppose all "blink-matching..." variables at their standard settings.
When I now insert a closing paren in the current buffer and (a) the
matching paren is before `window-start' and (b) the `buffer-substring'
to be displayed by `blink-matching-open' contains at least one bold
character, the following happens: Emacs resizes the echo area to show
the string (apparently to accomodate the bold character) and recenters
the current buffer.  The combined effects are distracting.

A workaround is to replace `buffer-string' in `blink-matching-open' by
`buffer-substring-no-properties'.  Binding `max-mini-window-height'
temporarily to 1 is better - Emacs doesn't recenter any more but still
resizes the echo area.  Personally, I'd prefer a solution that would not
resize the echo area at all in this particular case but probably I'm
asking too much.

An aside: When I activate `show-paren-mode' the latter setqs the
variable `blink-matching-paren-on-screen'.  Customizing that variable
now tells me "CHANGED outside Customize; operating on it here may be
unreliable".

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

end of thread, other threads:[~2005-08-28 15:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-20  8:44 blink-matching-open resizes echo area martin rudalics
2005-08-22  0:06 ` Richard M. Stallman
2005-08-23 17:19   ` martin rudalics
2005-08-28 15:12     ` Richard M. Stallman

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.