[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#781: 23.0.60; C-x C-f after C-x 4 b doesn't work (perhaps ido-mode r
From: |
Glenn Morris |
Subject: |
bug#781: 23.0.60; C-x C-f after C-x 4 b doesn't work (perhaps ido-mode related) |
Date: |
Mon, 01 Sep 2008 22:49:33 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Stefan Monnier wrote:
>> Now do this with C-x 4 b. If you now try C-x C-f you get to the find-file
>> dialog, but if you now enter one it doesn't open it in a new window but in
>> the old one. I think this is a very unlogic behaviour.
>
> I must be missing something: C-x C-f always opens the file in the
> current (i.e. old) window, doesn't it?
If ido is active, C-x 4 b runs ido-switch-buffer-other-window.
This calls ido-buffer-internal with method = 'other-window.
If you call C-x C-f from inside this, ido-file-internal gets called.
But it gets called with method = ido-default-file-method rather than
'other-window (though other-window is an option). The OP would prefer
the latter.