all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Killing old buffers?
@ 2010-08-06 11:25 Elena
  2010-08-07 20:38 ` Colin S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Elena @ 2010-08-06 11:25 UTC (permalink / raw)
  To: help-gnu-emacs

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Killing old buffers?
  2010-08-06 11:25 Killing old buffers? Elena
@ 2010-08-07 20:38 ` Colin S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: Colin S. Miller @ 2010-08-07 20:38 UTC (permalink / raw)
  To: help-gnu-emacs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-07 20:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-06 11:25 Killing old buffers? Elena
2010-08-07 20:38 ` Colin S. Miller

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.