From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Lue Newsgroups: gmane.emacs.help Subject: Re: C-x b w/Multiple Windows and Frames Date: Thu, 16 Nov 2006 14:22:15 -0800 (PST) Message-ID: <431264.90288.qm@web32811.mail.mud.yahoo.com> References: <4EC98EB4-2BF0-452A-A971-49EC7662D609@easesoftware.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1163715862 11114 80.91.229.2 (16 Nov 2006 22:24:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Nov 2006 22:24:22 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 16 23:24:20 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GkpeK-00058D-Rx for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Nov 2006 23:24:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GkpeJ-000425-Kd for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Nov 2006 17:23:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gkpe8-0003za-Ub for help-gnu-emacs@gnu.org; Thu, 16 Nov 2006 17:23:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gkpe7-0003xe-1B for help-gnu-emacs@gnu.org; Thu, 16 Nov 2006 17:23:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gkpe6-0003xb-VB for help-gnu-emacs@gnu.org; Thu, 16 Nov 2006 17:23:46 -0500 Original-Received: from [68.142.206.41] (helo=web32811.mail.mud.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1Gkpe7-0008KE-AY for help-gnu-emacs@gnu.org; Thu, 16 Nov 2006 17:23:47 -0500 Original-Received: (qmail 91830 invoked by uid 60001); 16 Nov 2006 22:22:15 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=4jVcHcI+zfmujjQMrdG9AbpW4v9YJ+muwi07LAuMRb5ozCKX+eIasV+reHFVgWmiaC3AT3gghOypwaTlEwslJXaSQDVyQYcH/KbK2LBXIheEKHnDSWayPUWPKMVq2q2RX3AwuVboXhE1QGegNFXrYe9tm03uPHFJPVYNPEfk+x4=; X-YMail-OSG: 6CSSxDQVM1lXuS3fMQnv_.aW8BvpsLlBwrBL6Qw7YcA9saWEGVRjXP_r25MxYTAZsTeZIbI_HkVf5PmZDn0mEOSD8eacLDMsyTZC.zFAgeg142n65ZWWhDy5KSmbbEVZt4c6HWoOBVciXQY1nje9jDFrUdNoNJNLe74v7h3vW95GzlSKDuInKtoGTE4p Original-Received: from [66.77.144.8] by web32811.mail.mud.yahoo.com via HTTP; Thu, 16 Nov 2006 14:22:15 PST Original-To: help-gnu-emacs@gnu.org In-Reply-To: <4EC98EB4-2BF0-452A-A971-49EC7662D609@easesoftware.com> 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:38763 Archived-At: Registers are a good solution, but I'd really like to find a way to change the behavior of switch-to-buffer. I don't know any lisp. Is there an easy way to change this? Or is there some configuration option built into emacs? Alan --- Perry Smith wrote: > On Nov 15, 2006, at 3:08 PM, Alan Lue wrote: > > > Using `C-x b' without an argument displays the > most > > recent buffer among those not currently displayed. > I > > find this behavior annoying when I intend to keep > the > > same buffer displayed in multiple windows and > frames; > > oftentimes I need to briefly visit another file, > and > > when I return to a buffer that is already > displayed in > > another frames, I need to specify its name > explicity. > > > > Is there some way I could modify the behavior of > > `switch-to-buffer' so that invoking `C-x b' > without an > > argument will bring me back to the most recent > buffer, > > whether or not it is currently displayed in > another > > window/frame? > > What I do is C-X / (point to register). Then come > back via C-X j > (jump to register) > > HTH > Perry Smith > Ease Software, Inc. > pedz@easesoftware.com > http://www.easesoftware.com > > Low cost SATA Disk Systems for IBMs p5, pSeries, and > RS/6000 AIX systems > > > > ____________________________________________________________________________________ Sponsored Link $420k for $1,399/mo. Think You Pay Too Much For Your Mortgage? Find Out! www.LowerMyBills.com/lre