all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@iro.umontreal.ca>
Cc: 12704@debbugs.gnu.org
Subject: bug#12704: 24.2.50; QuitError during redisplay: (eval (\` ((-3 (\, (propertize "%p" ...
Date: Wed, 31 Oct 2012 14:03:17 -0700	[thread overview]
Message-ID: <9E8791A163EB4DF9BF9E67BD23FBF3F3@us.oracle.com> (raw)
In-Reply-To: <2B2AB6A97B554C8EAA17A1A14422F191@us.oracle.com>

> So if the msg resulted from my hitting C-g then the fact that 
> the message is present indicates that something must have changed 
> `inhibit-quit' to nil.
...
> I don't see anywhere that `inhibit-quit' could be bound to 
> nil in that code.  But I didn't recursively check the def
> of each function that is called by `count-lines'.

FYI, I think I found the culprit.  In my file icomplete+.el I redefine some
functions from icomplete.el.  I include macro `while-no-input' in the file so
that the file can be byte-compiled in Emacs versions prior to Emacs 23 and the
byte-compiled file used with Emacs 23.  I include macro `with-local-quit' too,
because it is used by `while-no-input'.  And macro `with-local-quit' binds
`inhibit-quit' to nil.

So most likely I hit C-g while the mode line was being redisplayed, which caused
the redisplay code to print that error msg to *Messages*.

It happened again today, when I was trying to use the debugger with icomplete
code.

Error during redisplay: (eval (mode-line-eol-desc)) signaled (quit)



[BTW, I also got this unrelated internal error when trying to test some related
code:
Error in post-command-hook ((lambda nil (let ((non-essential t)) (run-hooks
(quote icomplete-post-command-hook))))): (error "Internal error: *scratch*
doesn't match \\`mcs")]






  parent reply	other threads:[~2012-10-31 21:03 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
2012-10-22 20:39       ` Drew Adams
2012-10-22 21:18         ` Eli Zaretskii
2012-10-31 21:03         ` Drew Adams [this message]
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

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

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