unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* managing buffers
@ 2007-09-12  6:39 Daniel C. Bastos
  2007-09-12 13:03 ` Peter Dyballa
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Daniel C. Bastos @ 2007-09-12  6:39 UTC (permalink / raw)
  To: help-gnu-emacs

How do you guys manage your buffers? I'm currently using cycle-buffer.el
and I attach the non-permissive functions to [f1] and [f2] and then I go
back and forth between buffers with these keys, which is fast and nice.

It's nice to be able to go back to the last buffer you were in, but
sometimes you have too many buffers open and you know which one you
want, so you don't want to search your ring of buffers one by one. For
that I usually C-x b and use TAB to complete my buffer name. 

I usually use the GNU emacs on terminals, not on X, so speedbar is not
really helpful there. Besides, I rather leave the mouse aside. So
although I have an okay buffer management, I sometimes feel it could be
better; so I was wondering how you guys do it.

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

* Re: managing buffers
  2007-09-12  6:39 managing buffers Daniel C. Bastos
@ 2007-09-12 13:03 ` Peter Dyballa
  2007-09-13  6:09   ` Kevin Rodgers
       [not found]   ` <mailman.788.1189663790.18990.help-gnu-emacs@gnu.org>
  2007-09-12 13:40 ` Rainer Stengele
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 10+ messages in thread
From: Peter Dyballa @ 2007-09-12 13:03 UTC (permalink / raw)
  To: Daniel C. Bastos; +Cc: help-gnu-emacs


Am 12.09.2007 um 08:39 schrieb Daniel C. Bastos:

> How do you guys manage your buffers?

C-x C-b, then visit this buffer, manoeuvre to the buffer you want to  
visit, f to follow.

--
Greetings

   Pete

Mac OS X is like a wigwam: no fences, no gates, but an apache inside.

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

* Re: managing buffers
  2007-09-12  6:39 managing buffers Daniel C. Bastos
  2007-09-12 13:03 ` Peter Dyballa
@ 2007-09-12 13:40 ` Rainer Stengele
  2007-09-13  3:33   ` Daniel C. Bastos
  2007-09-12 14:07 ` Nikolaj Schumacher
  2007-09-13 20:24 ` Stefan Reichör
  3 siblings, 1 reply; 10+ messages in thread
From: Rainer Stengele @ 2007-09-12 13:40 UTC (permalink / raw)
  To: help-gnu-emacs

Daniel C. Bastos schrieb:
> How do you guys manage your buffers? I'm currently using cycle-buffer.el
> and I attach the non-permissive functions to [f1] and [f2] and then I go
> back and forth between buffers with these keys, which is fast and nice.
> 
> It's nice to be able to go back to the last buffer you were in, but
> sometimes you have too many buffers open and you know which one you
> want, so you don't want to search your ring of buffers one by one. For
> that I usually C-x b and use TAB to complete my buffer name. 
> 
> I usually use the GNU emacs on terminals, not on X, so speedbar is not
> really helpful there. Besides, I rather leave the mouse aside. So
> although I have an okay buffer management, I sometimes feel it could be
> better; so I was wondering how you guys do it.

I am very glad with this:

(require 'bs)
(global-set-key "\C-x\C-b" 'bs-show)

;; invoke buffer-list with C-F11
(global-set-key [(control f11)] 'bs-show)


and this:


;; M-F12 opens a buffer that contains the recent opened buffers
;;recentf
(require 'recentf)
(recentf-mode 1)
(setq recentf-max-saved-items 500)
(setq recentf-max-menu-items 60)
(global-set-key [(control f12)] 'recentf-open-files)

rainer

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

* Re: managing buffers
  2007-09-12  6:39 managing buffers Daniel C. Bastos
  2007-09-12 13:03 ` Peter Dyballa
  2007-09-12 13:40 ` Rainer Stengele
@ 2007-09-12 14:07 ` Nikolaj Schumacher
  2007-09-13 20:24 ` Stefan Reichör
  3 siblings, 0 replies; 10+ messages in thread
From: Nikolaj Schumacher @ 2007-09-12 14:07 UTC (permalink / raw)
  To: help-gnu-emacs

dbast0s@yahoo.com.br (Daniel C. Bastos) wrote:

> I usually C-x b and use TAB to complete my buffer name. 
I usually C-x b and use TAB to complete my buffer name. 

Is that the default C-x b?
Try using iswitchb-mode.  Satisfaction guaranteed. ;)


regards,
Nikolaj Schumacher

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

* Re: managing buffers
  2007-09-12 13:40 ` Rainer Stengele
@ 2007-09-13  3:33   ` Daniel C. Bastos
  2007-09-13  3:43     ` Daniel C. Bastos
  2007-09-16  1:00     ` Xavier Maillard
  0 siblings, 2 replies; 10+ messages in thread
From: Daniel C. Bastos @ 2007-09-13  3:33 UTC (permalink / raw)
  To: help-gnu-emacs

Rainer Stengele <rainer.stengele@diplan.de> writes:

> Daniel C. Bastos schrieb:
> > How do you guys manage your buffers? I'm currently using cycle-buffer.el
> > and I attach the non-permissive functions to [f1] and [f2] and then I go
> > back and forth between buffers with these keys, which is fast and nice.
> > 
> > It's nice to be able to go back to the last buffer you were in, but
> > sometimes you have too many buffers open and you know which one you
> > want, so you don't want to search your ring of buffers one by one. For
> > that I usually C-x b and use TAB to complete my buffer name. 
> > 
> > I usually use the GNU emacs on terminals, not on X, so speedbar is not
> > really helpful there. Besides, I rather leave the mouse aside. So
> > although I have an okay buffer management, I sometimes feel it could be
> > better; so I was wondering how you guys do it.
> 
> I am very glad with this:
> 
> (require 'bs)
> (global-set-key "\C-x\C-b" 'bs-show)
> 
> ;; invoke buffer-list with C-F11
> (global-set-key [(control f11)] 'bs-show)

Hm, this seems good, but I guess I need a way to set up what will be
listed; not all my buffers are showing up. I'll be reading the info
files on these functions.

> and this:
> 
> ;; M-F12 opens a buffer that contains the recent opened buffers
> ;;recentf
> (require 'recentf)
> (recentf-mode 1)
> (setq recentf-max-saved-items 500)
> (setq recentf-max-menu-items 60)
> (global-set-key [(control f12)] 'recentf-open-files)

Quite useful too. Thanks.

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

* Re: managing buffers
  2007-09-13  3:33   ` Daniel C. Bastos
@ 2007-09-13  3:43     ` Daniel C. Bastos
  2007-09-16  1:00     ` Xavier Maillard
  1 sibling, 0 replies; 10+ messages in thread
From: Daniel C. Bastos @ 2007-09-13  3:43 UTC (permalink / raw)
  To: help-gnu-emacs

dbast0s@yahoo.com.br (Daniel C. Bastos) writes:

> Rainer Stengele <rainer.stengele@diplan.de> writes:
> 
> > Daniel C. Bastos schrieb:
> > > How do you guys manage your buffers? I'm currently using cycle-buffer.el
> > > and I attach the non-permissive functions to [f1] and [f2] and then I go
> > > back and forth between buffers with these keys, which is fast and nice.
> > > 
> > > It's nice to be able to go back to the last buffer you were in, but
> > > sometimes you have too many buffers open and you know which one you
> > > want, so you don't want to search your ring of buffers one by one. For
> > > that I usually C-x b and use TAB to complete my buffer name. 
> > > 
> > > I usually use the GNU emacs on terminals, not on X, so speedbar is not
> > > really helpful there. Besides, I rather leave the mouse aside. So
> > > although I have an okay buffer management, I sometimes feel it could be
> > > better; so I was wondering how you guys do it.
> > 
> > I am very glad with this:
> > 
> > (require 'bs)
> > (global-set-key "\C-x\C-b" 'bs-show)
> > 
> > ;; invoke buffer-list with C-F11
> > (global-set-key [(control f11)] 'bs-show)
> 
> Hm, this seems good, but I guess I need a way to set up what will be
> listed; not all my buffers are showing up. I'll be reading the info
> files on these functions.

Ah, just a little ``?'' resolved. This is very nice. I'm happy. Thanks.

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

* Re: managing buffers
  2007-09-12 13:03 ` Peter Dyballa
@ 2007-09-13  6:09   ` Kevin Rodgers
       [not found]   ` <mailman.788.1189663790.18990.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 10+ messages in thread
From: Kevin Rodgers @ 2007-09-13  6:09 UTC (permalink / raw)
  To: help-gnu-emacs

Peter Dyballa wrote:
> 
> Am 12.09.2007 um 08:39 schrieb Daniel C. Bastos:
> 
>> How do you guys manage your buffers?
> 
> C-x C-b, then visit this buffer, manoeuvre to the buffer you want to 
> visit, f to follow.

Me too, but with this customization:

(global-set-key "\C-x\C-b" 'electric-buffer-list) ; default: list-buffers


-- 
Kevin Rodgers
Denver, Colorado, USA

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

* Re: managing buffers
       [not found]   ` <mailman.788.1189663790.18990.help-gnu-emacs@gnu.org>
@ 2007-09-13  6:33     ` Tassilo Horn
  0 siblings, 0 replies; 10+ messages in thread
From: Tassilo Horn @ 2007-09-13  6:33 UTC (permalink / raw)
  To: help-gnu-emacs

Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:

Hi,

>> C-x C-b, then visit this buffer, manoeuvre to the buffer you want to
>> visit, f to follow.
>
> Me too, but with this customization:
>
> (global-set-key "\C-x\C-b" 'electric-buffer-list) ; default: list-buffers

here's another nice variant, which fits my needs best:


  (global-set-key (kbd "C-x C-b") 'ibuffer)
  (setq ibuffer-sorting-mode 'recency)

For buffer-switching with C-x b I like iswitchb:

  (iswitchb-mode 1)

Bye,
Tassilo
-- 
Chuck Norris  once ate a  whole cake before  his friends could  tell him
there was a stripper in it.

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

* Re: managing buffers
  2007-09-12  6:39 managing buffers Daniel C. Bastos
                   ` (2 preceding siblings ...)
  2007-09-12 14:07 ` Nikolaj Schumacher
@ 2007-09-13 20:24 ` Stefan Reichör
  3 siblings, 0 replies; 10+ messages in thread
From: Stefan Reichör @ 2007-09-13 20:24 UTC (permalink / raw)
  To: help-gnu-emacs

dbast0s@yahoo.com.br (Daniel C. Bastos) writes:

> How do you guys manage your buffers? I'm currently using cycle-buffer.el
> and I attach the non-permissive functions to [f1] and [f2] and then I go
> back and forth between buffers with these keys, which is fast and nice.
>
> It's nice to be able to go back to the last buffer you were in, but
> sometimes you have too many buffers open and you know which one you
> want, so you don't want to search your ring of buffers one by one. For
> that I usually C-x b and use TAB to complete my buffer name. 
>
> I usually use the GNU emacs on terminals, not on X, so speedbar is not
> really helpful there. Besides, I rather leave the mouse aside. So
> although I have an okay buffer management, I sometimes feel it could be
> better; so I was wondering how you guys do it.

I use ido, ibuffer and bubble-buffer.el, for details see:

http://www.xsteve.at/prg/emacs/power-user-tips.html#buffer-switching


Stefan.

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

* Re: managing buffers
  2007-09-13  3:33   ` Daniel C. Bastos
  2007-09-13  3:43     ` Daniel C. Bastos
@ 2007-09-16  1:00     ` Xavier Maillard
  1 sibling, 0 replies; 10+ messages in thread
From: Xavier Maillard @ 2007-09-16  1:00 UTC (permalink / raw)
  To: Daniel C. Bastos; +Cc: help-gnu-emacs

Hi,

   > ;; M-F12 opens a buffer that contains the recent opened buffers
   > ;;recentf
   > (require 'recentf)
   > (recentf-mode 1)
   > (setq recentf-max-saved-items 500)
   > (setq recentf-max-menu-items 60)
   > (global-set-key [(control f12)] 'recentf-open-files)

   Quite useful too. Thanks.

Try GNU Emacs file cache feature too, it is as useful (or even
more) than recentf.

And if you want something that combines all of them and much
more, you can try the wonderful anything.el (and its companion
anything-config.el).

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org

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

end of thread, other threads:[~2007-09-16  1:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-12  6:39 managing buffers Daniel C. Bastos
2007-09-12 13:03 ` Peter Dyballa
2007-09-13  6:09   ` Kevin Rodgers
     [not found]   ` <mailman.788.1189663790.18990.help-gnu-emacs@gnu.org>
2007-09-13  6:33     ` Tassilo Horn
2007-09-12 13:40 ` Rainer Stengele
2007-09-13  3:33   ` Daniel C. Bastos
2007-09-13  3:43     ` Daniel C. Bastos
2007-09-16  1:00     ` Xavier Maillard
2007-09-12 14:07 ` Nikolaj Schumacher
2007-09-13 20:24 ` Stefan Reichör

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).