unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Switching to buffer or opening a recent file transparently?
@ 2010-08-06 11:54 Elena
  2010-08-06 12:28 ` Sébastien Vauban
  0 siblings, 1 reply; 2+ messages in thread
From: Elena @ 2010-08-06 11:54 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

living in Emacs, I'm constantly editing the same files, mostly my
Emacs initialization files (I have splitted my .emacs). I use Ido to
switch among buffers, but more often that I'd like, I've killed a
buffer and thus I have to resort to `find-file'. I'd like to switch
transparently among both buffers and recent files, instead.

It just occurred to me that I could just bury those buffers instead of
killing them. However, that doesn't seem a tidy thing to do. I'm
curious about your advice about achieving this goal, if you have felt
this need too. Maybe I should start to think in projects?

Thank you for sharing.


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

* Re: Switching to buffer or opening a recent file transparently?
  2010-08-06 11:54 Switching to buffer or opening a recent file transparently? Elena
@ 2010-08-06 12:28 ` Sébastien Vauban
  0 siblings, 0 replies; 2+ messages in thread
From: Sébastien Vauban @ 2010-08-06 12:28 UTC (permalink / raw)
  To: help-gnu-emacs-mXXj517/zsQ

Hi Elena,

Elena wrote:
> It just occurred to me that I could just bury those buffers instead of
> killing them. However, that doesn't seem a tidy thing to do.

I do have defined:

--8<---------------cut here---------------start------------->8---
;; put the current buffer at the end of the list of all buffers
(global-set-key (kbd "<f12>") 'bury-buffer)

(global-set-key (kbd "<S-f12>") 'my-kill-this-buffer)
--8<---------------cut here---------------end--------------->8---

which makes the process easy.

Best regards,
  Seb

-- 
Sébastien Vauban


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

end of thread, other threads:[~2010-08-06 12:28 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:54 Switching to buffer or opening a recent file transparently? Elena
2010-08-06 12:28 ` Sébastien Vauban

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).