From: "Drew Adams" <drew.adams@oracle.com>
To: "'Eli Zaretskii'" <eliz@gnu.org>
Cc: 12515@debbugs.gnu.org
Subject: bug#12515: 24.2.50; Error during redisplay: (eval (mode-line-eol-desc)) signaled (quit)
Date: Tue, 25 Sep 2012 13:51:38 -0700 [thread overview]
Message-ID: <92DF3648D1164884A80C7CA71D1DBF1A@us.oracle.com> (raw)
In-Reply-To: <83r4pphm96.fsf@gnu.org>
> Unless you see a lot of these messages in *Messages*, I wouldn't worry
> about this.
OK, good. I noticed it only once.
> What happens is that as part of redisplay of the mode line, the
> display engine calls the function mode-line-eol-desc (defined on
> bindings.el), which produces the end-of-line (EOL) indicator near the
> left edge of the mode line. Because signaling an error normally
> re-enters redisplay (to display the error message), the display code
> suppresses the normal way of processing signals from Lisp it calls,
> and instead intercepts all signals and adds this kind of message to
> *Messages*. Since mode-line-eol-desc does not disable quitting (maybe
> it should), hitting C-g when it runs could cause this signal, I think.
Thanks for taking the time to explain this.
I guess part of what you are saying (implying) is that _quitting_ (C-g), because
it involves signalling, also "normally re-enters redisplay (to display the" quit
message).
Sounds like `mode-line-eol-desc' should disable quitting only if it is
guaranteed to end quickly. IOW, code that disables quitting should not prevent
a user from actually quitting in a timely manner.
When you say "disable quitting", do you mean that the user would need to hit
`C-g' again, or only that the `C-g' would not be processed until after redisplay
finishes (i.e., respects a previously set `quit-flag')?
BTW, I looked in `(elisp) Quitting' for some explanation of this, but it does
not seem to mention "display" or "redisplay" at all. (It does mention C code,
however.)
next prev parent reply other threads:[~2012-09-25 20:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-25 18:33 bug#12515: 24.2.50; Error during redisplay: (eval (mode-line-eol-desc)) signaled (quit) Drew Adams
2012-09-25 20:18 ` Eli Zaretskii
2012-09-25 20:22 ` Drew Adams
2012-09-25 20:37 ` Eli Zaretskii
2012-09-25 20:51 ` Drew Adams [this message]
2012-09-25 21:11 ` Eli Zaretskii
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=92DF3648D1164884A80C7CA71D1DBF1A@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=12515@debbugs.gnu.org \
--cc=eliz@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.