From: martin rudalics <rudalics@gmx.at>
Subject: blink-matching-open resizes echo area
Date: Sat, 20 Aug 2005 10:44:28 +0200 [thread overview]
Message-ID: <4306ED6C.1080302@gmx.at> (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".
next reply other threads:[~2005-08-20 8:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-20 8:44 martin rudalics [this message]
2005-08-22 0:06 ` blink-matching-open resizes echo area Richard M. Stallman
2005-08-23 17:19 ` martin rudalics
2005-08-28 15:12 ` Richard M. Stallman
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=4306ED6C.1080302@gmx.at \
--to=rudalics@gmx.at \
/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.