[Top][All Lists]

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

Re: undo-kill-buffer

From: Aaron Maxwell
Subject: Re: undo-kill-buffer
Date: Tue, 24 Oct 2006 16:51:45 -0700
User-agent: KMail/1.9.4

On Tuesday 24 October 2006 16:43, Miles Bader wrote:
> Aaron Maxwell <address@hidden> writes:
> > Hi, Does anyone know of an existing emacs function that will undo a
> > kill-buffer command?  So like, if the user issues C-x k and then suddenly
> Do you notice this happening often (that you mistakenly kill a buffer)?

Yeah, all the time :)

> I've certainly done such a thing before, but I think not very often, to
> the point where I just lump it in with other random dumb things I do
> occasionally.

> [One problem with the idea of saving killed buffers is memory it would
> consume -- saving to temp files seems too heavyweight for rarely needed
> functionality.  


> I suppose one could limit the number of undoable 
> buffer-kills, and perhaps more importantly, only save the contents of
> killed buffers under a certain size (my impression is that very large
> buffers tend to be programmatic output and the like, and maybe less
> valuable in some sense).]

Those are both excellent ideas.

> -Miles

reply via email to

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