From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dbast0s@yahoo.com.br (Daniel C. Bastos) Newsgroups: gmane.emacs.help Subject: Re: managing buffers Date: 12 Sep 2007 23:33:32 -0400 Organization: Aioe.org NNTP Server Message-ID: <87abrrb5o3.fsf@larissa.slashlog.org> References: <87k5qwmlp7.fsf@yahoo.com.br> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189669282 9693 80.91.229.12 (13 Sep 2007 07:41:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2007 07:41:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 13 09:41:19 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IVjJy-0005s9-JJ for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Sep 2007 09:41:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVjJy-0008Ad-CT for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Sep 2007 03:41:06 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news.germany.com!aioe.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: q2SNWP5iY7eSCCTxJdDL6w.user.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 X-WinProxy-AntiVirus-Message: Scanned by http://www.WinProxy.com/WinProxy X-WinProxy-AntiVirus: Passed Original-Xref: shelby.stanford.edu gnu.emacs.help:152040 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47550 Archived-At: Rainer Stengele 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.