unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Steven Har <stevenhar007@gmail.com>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Several seconds of delay when exiting Emacs
Date: Wed, 14 Dec 2011 09:07:46 +0700	[thread overview]
Message-ID: <CAMKQWm167dS_2undqwdYdLM=S2vqW9T_d2S1=3LnsCCMTpZSOQ@mail.gmail.com> (raw)
In-Reply-To: <87obvuyewt.fsf@thinkpad.tsdh.de>

[-- Attachment #1: Type: text/plain, Size: 1219 bytes --]

On Wed, Nov 30, 2011 at 1:14 AM, Tassilo Horn <tassilo@member.fsf.org>wrote:

> Steven Har <stevenhar007@gmail.com> writes:
>
> Hi Steven,
>
> > I'm using breadcrumb.el, and from time to time when exiting Emacs
> > there's a few seconds delay with the status area showing "Wrote
> > ~/.emacs.d/breadcrumb"
>
> The "wrote" (past tense) suggests that the culprit is something that
> happens after the breadcrumb has finished, but that's only a vague
> guess.
>
> Before you exit emacs, do M-x toggle-debug-on-quit RET.  Then exit emacs
> (C-x C-c), and when you are in the seems-to-hang state, hit C-g.  That
> will pop up a buffer showing a lisp backtrace that you can poste here
> and hopefully helps us finding the culprit.
>
> Ok I managed to do that just now, here's the debugger output (I guess not
much more info? But I'm still very clueless when it comes to Emacs Lisp):

Debugger entered--Lisp error: (quit)
save-place-forget-unreadable-files()
save-place-alist-to-file()
save-place-kill-emacs-hook()
run-hooks(kill-emacs-hook)
kill-emacs()
save-buffers-kill-emacs(nil)
save-buffers-kill-terminal(nil)
call-interactively(save-buffers-kill-terminal nil nil)

I'll try strace and report on any progress later.

--

[-- Attachment #2: Type: text/html, Size: 1742 bytes --]

  reply	other threads:[~2011-12-14  2:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28 10:59 Several seconds of delay when exiting Emacs Steven Har
2011-11-29 18:14 ` Tassilo Horn
2011-12-14  2:07   ` Steven Har [this message]
2011-12-14  4:15     ` Drew Adams
2011-12-14  4:26       ` Drew Adams
2011-12-14 11:36         ` Tassilo Horn
2011-12-14 13:55           ` Drew Adams
2011-12-14 14:06             ` Steven Har
2011-12-17  7:40               ` Le Wang

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='CAMKQWm167dS_2undqwdYdLM=S2vqW9T_d2S1=3LnsCCMTpZSOQ@mail.gmail.com' \
    --to=stevenhar007@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tassilo@member.fsf.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.
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).