[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: |
Kim F. Storm |
Subject: |
bug#781: 23.0.60; C-x C-f after C-x 4 b doesn't work (perhaps ido-mode related) |
Date: |
Wed, 03 Sep 2008 02:25:01 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (gnu/linux) |
Christian Engels <s9chenge@stud.uni-saarland.de> writes:
> Perhaps this is only ido-mode related, i don't really now but here the bug
> report.
> If you type C-x b you get a list of buffer and if your buffer you searched
> for
> is not there, you can type right here C-x C-f to get the find-file dialog.
>
> 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.
>
There is a similar problem for C-x 4 C-f C-x C-b,
and C-x 5 ...
Does the following patch fix the problem for you?
*** ido.el 03 Sep 2008 00:33:03 +0200 1.147
--- ido.el 03 Sep 2008 02:23:35 +0200
***************
*** 3960,3966 ****
The buffer name is selected interactively by typing a substring.
For details of keybindings, see `ido-switch-buffer'."
(interactive)
! (ido-buffer-internal 'other-window 'switch-to-buffer-other-window))
;;;###autoload
(defun ido-display-buffer ()
--- 3960,3966 ----
The buffer name is selected interactively by typing a substring.
For details of keybindings, see `ido-switch-buffer'."
(interactive)
! (ido-buffer-internal 'other-window 'switch-to-buffer-other-window nil nil
nil 'ido-find-file-other-window))
;;;###autoload
(defun ido-display-buffer ()
***************
*** 3993,3999 ****
For details of keybindings, see `ido-switch-buffer'."
(interactive)
(if ido-mode
! (ido-buffer-internal 'other-frame)
(call-interactively 'switch-to-buffer-other-frame)))
;;;###autoload
--- 3993,3999 ----
For details of keybindings, see `ido-switch-buffer'."
(interactive)
(if ido-mode
! (ido-buffer-internal 'other-frame nil nil nil nil
'ido-find-file-other-frame)
(call-interactively 'switch-to-buffer-other-frame)))
;;;###autoload
***************
*** 4054,4060 ****
The file name is selected interactively by typing a substring.
For details of keybindings, see `ido-find-file'."
(interactive)
! (ido-file-internal 'other-window 'find-file-other-window))
;;;###autoload
(defun ido-find-alternate-file ()
--- 4054,4060 ----
The file name is selected interactively by typing a substring.
For details of keybindings, see `ido-find-file'."
(interactive)
! (ido-file-internal 'other-window 'find-file-other-window nil nil nil nil
'ido-switch-buffer-other-window))
;;;###autoload
(defun ido-find-alternate-file ()
***************
*** 4102,4108 ****
The file name is selected interactively by typing a substring.
For details of keybindings, see `ido-find-file'."
(interactive)
! (ido-file-internal 'other-frame 'find-file-other-frame))
;;;###autoload
(defun ido-write-file ()
--- 4102,4108 ----
The file name is selected interactively by typing a substring.
For details of keybindings, see `ido-find-file'."
(interactive)
! (ido-file-internal 'other-frame 'find-file-other-frame nil nil nil nil
'ido-switch-buffer-other-frame))
;;;###autoload
(defun ido-write-file ()