GNU bug report logs -
#15262
24.3.50; desktop does not save buffer-display-time
Previous Next
Reported by: sds <at> gnu.org
Date: Tue, 3 Sep 2013 19:11:01 UTC
Severity: wishlist
Found in version 24.3.50
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Tue, Sep 3, 2013 at 3:26 PM, Glenn Morris <rgm <at> gnu.org> wrote:
> Sam Steingold wrote:
>
>> desktop saves the buffers, but not their buffer-display-time.
>> i.e., when Emacs is started and desktop loads all the old buffers,
>> their buffer-display-time is set to the Emacs start time.
>
> So add buffer-display-time to your value of desktop-locals-to-save.
thanks!
Alas, there is no interface for pushing values to custom variables...
I would have to do either
(custom-set-variables
'(desktop-locals-to-save (cons 'buffer-display-time desktop-locals-to-save)
nil (desktop)))
or
(eval-after-load "desktop"
'(add-to-list 'desktop-locals-to-save 'buffer-display-time))
neither of which is perfect.
(the first can push repeatedly and the second bypasses the custom system)
>> this leads to ancient buffers not being cleaned up by clean-buffer-list.
>
> It's not obvious to me that everyone will want the same behaviour as
> you do.
Can you describe a situation when the current behavior is more useful
than the proposed one?
thanks.
--
Sam Steingold <http://sds.podval.org> <http://www.childpsy.net/>
This bug report was last modified 5 years and 334 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.