all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Steven Har'" <stevenhar007@gmail.com>,
	"'Tassilo Horn'" <tassilo@member.fsf.org>
Cc: help-gnu-emacs@gnu.org
Subject: RE: Several seconds of delay when exiting Emacs
Date: Tue, 13 Dec 2011 20:15:50 -0800	[thread overview]
Message-ID: <118483C69F8247D5AB7AE33507D74D74@us.oracle.com> (raw)
In-Reply-To: <CAMKQWm167dS_2undqwdYdLM=S2vqW9T_d2S1=3LnsCCMTpZSOQ@mail.gmail.com>

> 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 know nothing about `saveplace.el', but looking around a little it appears that
that is the library involved here.  Take a look at it.   Look at the values of
your `save-place-*' user options (e.g., `save-place-limit').  Look at what's in
your file `save-place-file' (by default, `~/.emacs-places').

If you have lots of places recorded (for lots of files), or lots of files that
need to be checked for readability (see `save-place-skip-check-regexp'), then
that could explain why Emacs takes a while to quit.

This is what `save-place-forget-unreadable-files' does, according to its doc
string:

  Remove unreadable files from `save-place-alist'.
  For each entry in the alist, if `file-readable-p' returns
  nil for the filename, remove the entry.  Save the new alist
  (as the first pair may have changed) back to `save-place-alist'.

(`save-place-alist' is the list of places to save to `save-place-file'.)




  reply	other threads:[~2011-12-14  4:15 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
2011-12-14  4:15     ` Drew Adams [this message]
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

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

  git send-email \
    --in-reply-to=118483C69F8247D5AB7AE33507D74D74@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=stevenhar007@gmail.com \
    --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.
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.