From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steven Har Newsgroups: gmane.emacs.help Subject: Re: Several seconds of delay when exiting Emacs Date: Wed, 14 Dec 2011 09:07:46 +0700 Message-ID: References: <87obvuyewt.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff1c680776cfd04b403d5a8 X-Trace: dough.gmane.org 1323828519 7256 80.91.229.12 (14 Dec 2011 02:08:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2011 02:08:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Tassilo Horn Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 14 03:08:35 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RaeGp-0002kt-2Y for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Dec 2011 03:08:35 +0100 Original-Received: from localhost ([::1]:41163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaeGo-0002qI-C3 for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Dec 2011 21:08:34 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaeGj-0002q2-Ck for help-gnu-emacs@gnu.org; Tue, 13 Dec 2011 21:08:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaeGi-00043c-AH for help-gnu-emacs@gnu.org; Tue, 13 Dec 2011 21:08:29 -0500 Original-Received: from mail-pz0-f41.google.com ([209.85.210.41]:41419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaeGi-0003zg-4S for help-gnu-emacs@gnu.org; Tue, 13 Dec 2011 21:08:28 -0500 Original-Received: by dakl33 with SMTP id l33so278193dak.0 for ; Tue, 13 Dec 2011 18:08:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oy0nZI5q4SoOrW3LftuMD/jHokFf2ox/hJ12TzaYns0=; b=NLdyjgPqldneLK85l1PK6GdtgY+JZ4w4yE+XWVuOp/kGc9j+91TLlbiCqzB1h/I2AE fpes7PJmWz/l5DO7Yi4Wl9t4IthYe77exNX0P8wtOvwOrIz+3nOAAJVYkTYfSjfLjEKM qafxb9OqWFnkF2QkdbcTyIIXowkBHYuPB6bMM= Original-Received: by 10.68.197.232 with SMTP id ix8mr397498pbc.74.1323828466117; Tue, 13 Dec 2011 18:07:46 -0800 (PST) Original-Received: by 10.68.197.67 with HTTP; Tue, 13 Dec 2011 18:07:46 -0800 (PST) In-Reply-To: <87obvuyewt.fsf@thinkpad.tsdh.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83195 Archived-At: --e89a8ff1c680776cfd04b403d5a8 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Nov 30, 2011 at 1:14 AM, Tassilo Horn wrote: > Steven Har 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. -- --e89a8ff1c680776cfd04b403d5a8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Nov 30, 2011 at 1:14 AM, Tassilo Horn <tassilo@member.fsf.org> wr= ote:
Steven Har <stevenhar007@gmail= .com> writes:

Hi Steven,

> I'm using breadcrumb.el, and from time to time when exiting Emacs<= br> > there's a few seconds delay with the status area showing "Wro= te
> ~/.emacs.d/breadcrumb"

The "wrote" (past tense) suggests that the culprit is somet= hing 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. =A0Then exit emacs<= br> (C-x C-c), and when you are in the seems-to-hang state, hit C-g. =A0That 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 i= t 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-ema= cs()
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.
=
--

--e89a8ff1c680776cfd04b403d5a8--