unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Karl Fogel <kfogel@floss.red-bean.com>
Cc: emacs-devel@gnu.org
Subject: Re: saveplace.el broken in CVS Emacs?
Date: 05 Jun 2004 13:48:54 -0500	[thread overview]
Message-ID: <87brjxyh61.fsf@floss.red-bean.com> (raw)
In-Reply-To: <E1BWbY5-0004NU-Cl@fencepost.gnu.org>

Marcus Frings wrote:
> recently I installed a CVS Emacs on my Debian box but whenever I want to
> leave Emacs with C-x C-c I get:
> 
> save-place-alist-to-file: Wrong type argument: listp, \.\.\.
> 
> The backtrace says:
> 
> Debugger entered--Lisp error: (wrong-type-argument listp \.\.\.)
>   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)
>   call-interactively(save-buffers-kill-emacs)
> 
> My settings are
> 
> (require 'saveplace)
> (setq-default save-place t)
> 
> and these work fine for Emacs 21.3.

Hi Marcus.  I'm unable to reproduce this with the latest CVS Emacs.  I
put your settings

   (require 'saveplace)
   (setq-default save-place t)

into a file 'foo.el', and ran

   emacs --geometry=80x30 -q -l foo.el &

repeatedly.  I tried it with my own non-empty ~/.emacs-places file,
and with no ~/.emacs-places file, and also with a ~/.emacs-places
containing only "nil" (well, "\n\nnil\n", because that's what
saveplace.el writes when there are no places to record).  

I also tried exiting having visited no buffers, and exiting after
having visited some buffers (so there would be places to save).  When
there were places to save, they were always saved correctly.

So, I'd like some more information from you.  Can you reproduce the
problem reliably?  If so, what's the minimal Emacs session that
reproduces it?  For example, can you do it just by starting Emacs and
then exiting, without visiting any buffers?  Can you do it by starting
"emacs -q", then evaluating your settings by hand, then exiting?

And, what are the contents of your ~/.emacs-places file?  Your .emacs
file might help as well.

Thank you,
-Karl Fogel

  parent reply	other threads:[~2004-06-05 18:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-05 13:49 [iam-est-hora-surgere@despammed.com: saveplace.el broken in CVS Emacs?] Richard Stallman
2004-06-05 18:26 ` Karl Fogel
2004-06-05 18:48 ` Karl Fogel [this message]
2004-06-06 12:27   ` saveplace.el broken in CVS Emacs? Marcus Frings
2004-06-07  5:49     ` Karl Fogel
2004-06-07 12:16       ` Kai Grossjohann
2004-06-07 18:10         ` Karl Fogel
2004-06-08 11:32           ` Marcus Frings
2004-06-08 11:47       ` Marcus Frings

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=87brjxyh61.fsf@floss.red-bean.com \
    --to=kfogel@floss.red-bean.com \
    --cc=emacs-devel@gnu.org \
    --cc=kfogel@red-bean.com \
    /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).