From: Fabrice Popineau <fabrice.popineau@supelec.fr>
To: emacs-devel@gnu.org
Subject: Re: jit-lock tries to fontify killed buffer (sometimes)
Date: Sun, 21 Apr 2013 23:53:51 +0000 (UTC) [thread overview]
Message-ID: <loom.20130422T015145-506@post.gmane.org> (raw)
In-Reply-To: loom.20130409T151304-841@post.gmane.org
Fabrice Popineau <fabrice.popineau <at> supelec.fr> writes:
>
> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>
> >
> > > I get a backtrace on jit-lock trying to fontify some killed-buffer
> > > while restoring my previous session (thanks to the desktop library).
> >
> > Can you show us the backtrace?
> >
> > Stefan
> >
> I wish I could. I had >100 buffer opened (C, org-mode, lisp)
> Since it happened, I cleaned up my workplace.
> I will do it if it happens again.
> I commented out my fix for the time being.
>
> Fabrice
>
>
Here is a backtrace:
jit-lock-force-redisplay(#<killed buffer> 810 819)
apply(jit-lock-force-redisplay (#<killed buffer> 810 819))
byte-code("r\301\b\302H\b\303H\"\210)\301\207" [timer apply 5 6] 4)
timer-event-handler([t 20852 31479 298000 nil jit-lock-force-redisplay (#
<killed buffer> 810 819) nil 0])
input-pending-p()
auto-revert-buffers()
global-auto-revert-mode(1)
desktop-create-buffer(206 "c:/Home/.emacs.d/personal/Fabrice.org"
"Fabrice.org" org-mode (abbrev-mode flyspell-mode TeX-PDF-mode undo-tree-
mode yas-minor-mode page-break-lines-mode subword-mode linum-mode global-
auto-revert-mode org-indent-mode) 1117 (997 nil) nil nil ((indent-tabs-mode)
(buffer-file-coding-system . utf-8-dos) (truncate-lines)))
eval-buffer(#<buffer *load*> nil
"c:/Home/.emacs.d/savefile/.emacs.desktop" nil t) ; Reading at buffer
position 4435
load-with-code-conversion("c:/Home/.emacs.d/savefile/.emacs.desktop"
"c:/Home/.emacs.d/savefile/.emacs.desktop" t t)
load("c:/Home/.emacs.d/savefile/.emacs.desktop" t t t)
desktop-read("c:/Home/.emacs.d/savefile")
(if (file-exists-p (desktop-full-file-name)) (desktop-read desktop-
dirname))
(progn (desktop-save-mode 1) (setq desktop-save t) (setq desktop-load-
locked-desktop t) (setq desktop-dirname fp-config-savefile-dir) (add-hook
(quote find-file-hook) (function (lambda nil (run-with-timer 5 nil (function
(lambda nil (setq desktop-file-modtime ...) (desktop-save desktop-
dirname))))))) (if (file-exists-p (desktop-full-file-name)) (desktop-read
desktop-dirname)) (add-hook (quote kill-emacs-hook) (function (lambda nil
(setq desktop-file-modtime (nth 5 (file-attributes (desktop-full-file-
name))))))))
(if (not (eq (emacs-pid) (desktop-owner))) (progn (desktop-save-mode 1)
(setq desktop-save t) (setq desktop-load-locked-desktop t) (setq desktop-
dirname fp-config-savefile-dir) (add-hook (quote find-file-hook) (function
(lambda nil (run-with-timer 5 nil (function (lambda nil ... ...)))))) (if
(file-exists-p (desktop-full-file-name)) (desktop-read desktop-dirname))
(add-hook (quote kill-emacs-hook) (function (lambda nil (setq desktop-file-
modtime (nth 5 (file-attributes ...))))))))
desktop-settings-setup()
run-hooks(after-init-hook)
command-line()
normal-top-level()
Fabrice
prev parent reply other threads:[~2013-04-21 23:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-05 6:56 jit-lock tries to fontify killed buffer (sometimes) Fabrice Popineau
2013-04-05 8:33 ` 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 [this message]
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=loom.20130422T015145-506@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 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).