[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs switches frame when changing buffer
From: |
Tassilo Horn |
Subject: |
Re: Emacs switches frame when changing buffer |
Date: |
Wed, 27 Jun 2007 19:52:48 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
ChristofferC <Christoffer.Carlborg@gmail.com> 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.