GNU bug report logs - #3833
23.0.96; Default for desktop-buffers-not-to-save omits files

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sun, 12 Jul 2009 18:15:04 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 3833 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 3833 <at> debbugs.gnu.org
Subject: Re: 23.0.96; Default for desktop-buffers-not-to-save omits files
Date: Sun, 12 Jul 2009 14:44:27 -0400
> Looking in desktop.el, I see that desktop-buffers-not-to-save
> intentionally omits buffers whose names end in ".log" and a couple
> others.  Sure thing, the files that were not visited after restarting
> ended in ".log".
>
> I think that variable's default should be nil.  I think it is up to
> the user to decide that she doesn't want to record some of the
> buffers/files.  It is no business of desktop.el to decide for the
> user.  Especially since there is no way of telling desktop.el to
> override the value of desktop-buffers-not-to-save for some specific
> buffer, short of renaming the buffer.

I agree that .log should be removed.  However, the two other items seem
to make sense: Gnus and FTP sessions, because desktop.el can't recreate
those.  If you'd like to remove .log, please go ahead and do so on the
trunk.

> Similarly with desktop-files-not-to-save: its default should be nil,
> IMO.

These are remote (Tramp/ange-ftp) files.  Again, I think the rationale
is that desktop.el can't recreate them properly.



This bug report was last modified 15 years and 308 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.