From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Emacs switches frame when changing buffer Date: Wed, 27 Jun 2007 19:52:48 +0200 Organization: University Koblenz-Landau Campus Koblenz Message-ID: <87wsxp2sjz.fsf@baldur.tsdh.de> References: <1182964083.730215.212160@q69g2000hsb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182969629 30249 80.91.229.12 (27 Jun 2007 18:40:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Jun 2007 18:40:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 27 20:40:28 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 1I3cRF-0001fO-6N for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jun 2007 20:40:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I3cRE-0007Et-Ll for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jun 2007 14:40:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!feeder.news-service.com!newsfeed.freenet.de!news.germany.com!news-stu1.dfn.de!news.uni-kl.de!cache.uni-koblenz.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 45 Original-NNTP-Posting-Host: dslb-084-063-053-013.pools.arcor-ip.net Original-X-Trace: cache.uni-koblenz.de 1182966769 21919 84.63.53.13 (27 Jun 2007 17:52:49 GMT) Original-X-Complaints-To: news@cache.uni-koblenz.de Original-NNTP-Posting-Date: Wed, 27 Jun 2007 17:52:49 +0000 (UTC) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAAAAAByaaZbAAAACXBIWXMAAABIAAAASABGyWs+ AAAATnRFWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYACmV4aWYKICAgICAgMjAKNDU3ODY5NjYwMDAw NGQ0ZDAwMmEwMDAwMDAwODAwMDAwMDAwMDAwMAqJuBZbAAAACXZwQWcAAAAwAAAAMADO7oxXAAAB jUlEQVRIx5VVWxLEIAjzJh6Ny+WMfm95iKhYu87ObIuEQARb2p+rjEc8P/wBgK3MK2yVbiFZlXYI 1E4kO6UHqIDYNsBjFivHQ2DonllKEFStHYB2TD4mBnqyYID4ryVmhUtOxeTErK68k9XpYfi9bP4P My/5E9WiWswAeVz9x3KEyCUAiF5mDJ5kXIFCa2BoN7k7MQARwbo2Zeg1aHySU212VlXltxJGSlBT xdQSIxOuTdrGAIxQSuGGykvN9aWumB5cJclXwz8Z+ZGQ9oqkRgGgglh89P5hz6EP1NJ7aTvVie3Z b3EettGpvXqYRO5v7c0csbHhZRjviObz4JOwzc9hpkfLbNMzmcvtlnBu2m6NNX6Y2SBJSfk9R7S2 zGOJrtMW5XdCCRfDuknZaEeVsEWkXbirSsca1qrDYKK9MSTn9w5IEEfAcnQyAXoZfS0aSXOVm8PL JytRCkTH9k5v+Er4whCTuwLgE5uP0zGlvwHJJFxqwHQzfGGAfgbwFSD5rH1xOweAvqf0T2u8rh9P LJ2hezyQygAAACp6VFh0Q29tbWVudAAAeNrzCnB1t0rPK9XNSE1M0csqSFcwMjerMDIzBABomgep tDkYGQAAABp6VFh0anBlZzpjb2xvcnNwYWNlAAB42jMEAAAyADIppJqJAAAAIXpUWHRqcGVnOnNh bXBsaW5nLWZhY3RvcgAAeNozqjACAAG7AN1zYDKrAAAAAElFTkSuQmCC User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:oblvNGFoUpaLNeHuTGMC9Nk5FA8= Original-Xref: shelby.stanford.edu gnu.emacs.help:149729 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:45316 Archived-At: ChristofferC writes: Hi Christoffer, > Let's say that I have two Emacs frames open. In one of them I've > opened ~/.emacs. If I then go to the other frame and execute the > command "C-x b .emacs", the frame with the already opened file will be > activated. I want the buffer to open in the frame that I execute the > command in. How do I change this behaviour? For ido these two variable control this behavior. ,----[ C-h v ido-default-buffer-method RET ] | ido-default-buffer-method is a variable defined in `ido.el'. | Its value is maybe-frame | | Documentation: | *How to switch to new buffer when using `ido-switch-buffer'. | See `ido-default-file-method' for details. `---- ,----[ C-h v ido-default-file-method RET ] | ido-default-file-method is a variable defined in `ido.el'. | Its value is maybe-frame | | Documentation: | *How to visit a new file when using `ido-find-file'. | Possible values: | `selected-window' Show new file in selected window | `other-window' Show new file in another window (same frame) | `display' Display file in another window without selecting to it | `other-frame' Show new file in another frame | `maybe-frame' If a file is visible in another frame, prompt to ask if you | you want to see the file in the same window of the current | frame or in the other frame | `raise-frame' If a file is visible in another frame, raise that | frame; otherwise, visit the file in the same window `---- If you don't use ido-mode, I have no clue how to do it. Bye, Tassilo -- A morning without coffee is like something without something else.