* Why does Emacs make it difficult for me to have two frames open the same buffer?
@ 2012-04-13 21:04 Kevin Tran
2012-04-13 21:34 ` Why does Emacs make it difficult for me to have two frames open thesame buffer? Drew Adams
2012-04-14 6:53 ` Why does Emacs make it difficult for me to have two frames open the same buffer? Eli Zaretskii
0 siblings, 2 replies; 4+ messages in thread
From: Kevin Tran @ 2012-04-13 21:04 UTC (permalink / raw)
To: help-gnu-emacs
I have 2 frames. I switch the buffer in first frame to buffer A. When I try to switch the buffer in the second frame to buffer A, Emacs brings the first frame forward. What I want is to open buffer A in both frames. Is there a setting that makes Emacs bring the other frame forward when buffer A is already opened in it?
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Why does Emacs make it difficult for me to have two frames open thesame buffer?
2012-04-13 21:04 Why does Emacs make it difficult for me to have two frames open the same buffer? Kevin Tran
@ 2012-04-13 21:34 ` Drew Adams
2012-04-14 3:17 ` Kevin Tran
2012-04-14 6:53 ` Why does Emacs make it difficult for me to have two frames open the same buffer? Eli Zaretskii
1 sibling, 1 reply; 4+ messages in thread
From: Drew Adams @ 2012-04-13 21:34 UTC (permalink / raw)
To: 'Kevin Tran', help-gnu-emacs
> I have 2 frames. I switch the buffer in first frame to buffer
> A. When I try to switch the buffer in the second frame to
> buffer A, Emacs brings the first frame forward. What I want
> is to open buffer A in both frames. Is there a setting that
> makes Emacs bring the other frame forward when buffer A is
> already opened in it?
You don't give enough info to understand your situation. It doesn't sound like
you are starting from `emacs -Q', so I suspect some setting in your init file or
your `custom-file' is determining the behavior you see.
Try from `emacs -Q', and if you still see the problem, give us a recipe, step by
step. If not, then try to narrow down your init file to discover what is
causing that behavior.
When I do this, I see no such behavior:
emacs -Q
`C-x 5 2' to get another frame.
`C-x C-f foo.el' in one frame.
`C-x b f TAB RET' in the other frame.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Why does Emacs make it difficult for me to have two frames open thesame buffer?
2012-04-13 21:34 ` Why does Emacs make it difficult for me to have two frames open thesame buffer? Drew Adams
@ 2012-04-14 3:17 ` Kevin Tran
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Tran @ 2012-04-14 3:17 UTC (permalink / raw)
To: Drew Adams, help-gnu-emacs
I didn't know how else to explain what I was seeing. It turns out that this is a feature of ido-mode. The defaults for "Ido Default Buffer Method" and "Ido Default File Method" are "Raise frame if already shown".
On Apr 13, 2012, at 2:34 PM, Drew Adams wrote:
>> I have 2 frames. I switch the buffer in first frame to buffer
>> A. When I try to switch the buffer in the second frame to
>> buffer A, Emacs brings the first frame forward. What I want
>> is to open buffer A in both frames. Is there a setting that
>> makes Emacs bring the other frame forward when buffer A is
>> already opened in it?
>
> You don't give enough info to understand your situation. It doesn't sound like
> you are starting from `emacs -Q', so I suspect some setting in your init file or
> your `custom-file' is determining the behavior you see.
>
> Try from `emacs -Q', and if you still see the problem, give us a recipe, step by
> step. If not, then try to narrow down your init file to discover what is
> causing that behavior.
>
> When I do this, I see no such behavior:
>
> emacs -Q
>
> `C-x 5 2' to get another frame.
>
> `C-x C-f foo.el' in one frame.
>
> `C-x b f TAB RET' in the other frame.
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Why does Emacs make it difficult for me to have two frames open the same buffer?
2012-04-13 21:04 Why does Emacs make it difficult for me to have two frames open the same buffer? Kevin Tran
2012-04-13 21:34 ` Why does Emacs make it difficult for me to have two frames open thesame buffer? Drew Adams
@ 2012-04-14 6:53 ` Eli Zaretskii
1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2012-04-14 6:53 UTC (permalink / raw)
To: help-gnu-emacs
> From: Kevin Tran <hekevintran@gmail.com>
> Date: Fri, 13 Apr 2012 14:04:49 -0700
>
> I have 2 frames. I switch the buffer in first frame to buffer A. When I try to switch the buffer in the second frame to buffer A, Emacs brings the first frame forward.
Doesn't happen to me. What is your version of Emacs, and does this
happen in "emacs -Q"? If "emacs -Q" behaves like you expect, then you
already have some customization that results in this behavior, and you
need to find which customization is that. Perhaps you customized
display-buffer-reuse-frames, for example.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-04-14 6:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-13 21:04 Why does Emacs make it difficult for me to have two frames open the same buffer? Kevin Tran
2012-04-13 21:34 ` Why does Emacs make it difficult for me to have two frames open thesame buffer? Drew Adams
2012-04-14 3:17 ` Kevin Tran
2012-04-14 6:53 ` Why does Emacs make it difficult for me to have two frames open the same buffer? Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.