unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 12704@debbugs.gnu.org
Subject: bug#12704: 24.2.50; QuitError during redisplay: (eval (\` ((-3 (\, (propertize "%p" ...
Date: Mon, 22 Oct 2012 14:40:41 -0400	[thread overview]
Message-ID: <jwv3916bbmz.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <3407457CC337495DB10DBBB006A6CDDF@us.oracle.com> (Drew Adams's message of "Mon, 22 Oct 2012 10:56:59 -0700")

> Are you sure that the cause was not C-g?

We have no idea.  Eli was just pointing out that a `quit' signal can
also be generated without the user hitting C-g, although it's admittedly
very unusual.  But while rendering the mode-line, inhibit-quit is
non-nil normally, so hitting C-g should presumably not signal `quit' in
your code.

> To *Messages*.  But I guess there is not, since you say that this is
> the normal handling of an eval error and did not come from C-g.
> I understand that such a message would be printed for a real (display)
> error.  What seemed odd was that it would be done for C-g during
> redisplay.  That's what I thought was happening.

The message should not be printed, because what happened is something
which shouldn't happen.  I'm not sure how best to try and track down the
source of this `quit' signal, OTOH.

The only non-negligible computation in your expression seems to be a few
calls to `current-column'
Oh, wait, there's also the "mapcar #'eval" which could potentially do
something non-trivial, so you might want to look in there, see if some
of the code run from there might let-bind inhibit-quit back to nil or if
it might signal `quit'?


        Stefan





  reply	other threads:[~2012-10-22 18:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-22 16:00 bug#12704: 24.2.50; QuitError during redisplay: (eval (\` ((-3 (\, (propertize "%p" Drew Adams
2012-10-22 17:10 ` Eli Zaretskii
2012-10-22 17:56   ` Drew Adams
2012-10-22 18:40     ` Stefan Monnier [this message]
2012-10-22 20:39       ` Drew Adams
2012-10-22 21:18         ` Eli Zaretskii
2012-10-31 21:03         ` Drew Adams
2014-02-09  3:06           ` bug#12515: " Lars Ingebrigtsen
2012-10-22 20:13     ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwv3916bbmz.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=12704@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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 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).