help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Killing old buffers?


From: Colin S. Miller
Subject: Re: Killing old buffers?
Date: Wed, 08 Dec 2010 15:23:43 -0000
User-agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100328)

Elena wrote:
Hello,

is there a way to make buffers expire? That is, I'd like to get rid of
buffers I've not touched in an interval of time (let's say: one day).

`midnight-mode' is meant to achieve that, but it doesn't play nicely
with Desktop mode when Emacs is restarted (read bottom of this page:
http://www.emacswiki.org/emacs/MidnightMode).

Have you looked into this, too? Have you found a solution?

Thanks.


Hi Elena,

In ibuffer-mode, you can mark all files that have not been
modified for a given period (defaults to 72 hours) with '.'

You can also sort the list of buffer by the last time you
viewed them with 's v'.

I don't use desktop-mode, but looking at the webpage you
gave, ibuffer-mode might have the same problem.
It might be better to modify desktop-mode to record
the buffer's display time.



HTH,
Colin S. Miller

--
Replace the obvious in my email address with the first three letters of the 
hostname to reply.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]