From: Fabrice Popineau <fabrice.popineau@supelec.fr>
To: emacs-devel@gnu.org
Subject: jit-lock tries to fontify killed buffer (sometimes)
Date: Fri, 5 Apr 2013 06:56:12 +0000 (UTC) [thread overview]
Message-ID: <loom.20130405T085134-104@post.gmane.org> (raw)
Hi,
I'm using some post 24.3 version of Emacs (W32 natively compiled).
I start my session with debug-on-error being t.
I get a backtrace on jit-lock trying to fontify some killed-buffer
while restoring my previous session (thanks to the desktop library).
The obvious patch is:
--- \mirror\emacs\lisp\jit-lock.el 2013-02-08 16:13:02.417999000 +0100
+++ \local\Emacs\lisp\jit-lock.el 2013-04-04 20:35:06.173203900 +0200
@@ -35,7 +35,8 @@
(declare (debug t))
`(let ((inhibit-point-motion-hooks t))
(with-silent-modifications
- ,@body))))
+ (if (buffer-live-p (current-buffer))
+ ,@body)))))
♀
;;; Customization.
But maybe this is just hiding something else.
Any idea of what is going on there?
Fabrice
next reply other threads:[~2013-04-05 6:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-05 6:56 Fabrice Popineau [this message]
2013-04-05 8:33 ` jit-lock tries to fontify killed buffer (sometimes) Andreas Schwab
2013-04-05 9:11 ` Fabrice Popineau
2013-04-05 13:24 ` Stefan Monnier
2013-04-09 13:15 ` Fabrice Popineau
2013-04-21 23:53 ` Fabrice Popineau
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=loom.20130405T085134-104@post.gmane.org \
--to=fabrice.popineau@supelec.fr \
--cc=emacs-devel@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.