From: Miles Bader <miles@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: undo-kill-buffer
Date: Wed, 25 Oct 2006 08:43:25 +0900 [thread overview]
Message-ID: <87d58hb7qa.fsf@catnip.gol.com> (raw)
In-Reply-To: <200610240856.57965.amax@redsymbol.net> (Aaron Maxwell's message of "Tue\, 24 Oct 2006 08\:56\:57 -0700")
Aaron Maxwell <amax@redsymbol.net> 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
> decides it was a mistake, they could just M-x undo-kill-buffer to get it
> back.
Do you notice this happening often (that you mistakenly kill a buffer)?
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).]
-Miles
--
o The existentialist, not having a pillow, goes everywhere with the book by
Sullivan, _I am going to spit on your graves_.
next prev parent reply other threads:[~2006-10-24 23:43 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-24 15:56 undo-kill-buffer Aaron Maxwell
2006-10-24 16:11 ` undo-kill-buffer Stuart D. Herring
2006-10-24 16:46 ` undo-kill-buffer Aaron Maxwell
2006-10-24 16:36 ` undo-kill-buffer Andreas Schwab
2006-10-24 23:43 ` Miles Bader [this message]
2006-10-24 23:51 ` undo-kill-buffer Aaron Maxwell
2006-10-25 0:14 ` undo-kill-buffer Stefan Monnier
2006-10-25 0:22 ` undo-kill-buffer Aaron Maxwell
2006-10-25 0:32 ` undo-kill-buffer Stefan Monnier
2006-10-25 14:37 ` undo-kill-buffer Stuart D. Herring
2006-10-25 16:05 ` undo-kill-buffer Drew Adams
2006-10-25 22:43 ` undo-kill-buffer Miles Bader
2006-10-25 23:02 ` undo-kill-buffer Edward O'Connor
2006-10-25 23:50 ` undo-kill-buffer Miles Bader
2006-10-26 8:53 ` undo-kill-buffer Richard Stallman
2006-10-25 23:17 ` undo-kill-buffer David Kastrup
2006-10-25 23:46 ` undo-kill-buffer Miles Bader
2006-10-25 0:36 ` undo-kill-buffer Miles Bader
2006-10-25 0:24 ` undo-kill-buffer Miles Bader
2006-10-25 1:11 ` undo-kill-buffer Aaron Maxwell
2006-10-25 0:41 ` undo-kill-buffer Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d58hb7qa.fsf@catnip.gol.com \
--to=miles@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.