From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs 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 Message-ID: <871w02gjoi.fsf@kfs-lx.rd.rdm> References: <200808261732.03275.s9chenge@stud.uni-saarland.de> Reply-To: "Kim F. Storm" , 781@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220402888 20262 80.91.229.12 (3 Sep 2008 00:48:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Sep 2008 00:48:08 +0000 (UTC) Cc: 781@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org To: Christian Engels Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 03 02:49:03 2008 Return-path: Envelope-to: geb-bug-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 1KagYP-0006mE-Ls for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Sep 2008 02:49:02 +0200 Original-Received: from localhost ([127.0.0.1]:55981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KagXQ-0005NF-Go for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Sep 2008 20:48:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KagX3-0005G2-DH for bug-gnu-emacs@gnu.org; Tue, 02 Sep 2008 20:47:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KagX1-0005F2-KT for bug-gnu-emacs@gnu.org; Tue, 02 Sep 2008 20:47:36 -0400 Original-Received: from [199.232.76.173] (port=52443 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KagX1-0005Ez-EX for bug-gnu-emacs@gnu.org; Tue, 02 Sep 2008 20:47:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33920) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KagX0-0004Ry-Kc for bug-gnu-emacs@gnu.org; Tue, 02 Sep 2008 20:47:35 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m830lUp1009571; Tue, 2 Sep 2008 17:47:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m830U4lP003387; Tue, 2 Sep 2008 17:30:04 -0700 X-Loop: don@donarmstrong.com Resent-From: storm@cua.dk (Kim F. Storm) Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 03 Sep 2008 00:30:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 781 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12204015242666 (code B ref -1); Wed, 03 Sep 2008 00:30:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 3 Sep 2008 00:25:24 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m830PKK3002394 for ; Tue, 2 Sep 2008 17:25:21 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:57032) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Kag9u-0007l1-Fy for emacs-pretest-bug@gnu.org; Tue, 02 Sep 2008 20:23:42 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KagBP-0001Xk-Cy for emacs-pretest-bug@gnu.org; Tue, 02 Sep 2008 20:25:18 -0400 Original-Received: from smtp.fullrate.dk ([89.150.129.5]:59627 helo=dns2.fullrate.dk) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KagBO-0001Us-VT for emacs-pretest-bug@gnu.org; Tue, 02 Sep 2008 20:25:15 -0400 Original-Received: from kfs-lx.rd.rdm.cua.dk (unknown [90.184.173.152]) by dns2.fullrate.dk (Postfix) with SMTP id 27A945C5F5; Wed, 3 Sep 2008 02:25:01 +0200 (CEST) In-Reply-To: <200808261732.03275.s9chenge@stud.uni-saarland.de> (Christian Engels's message of "Tue\, 26 Aug 2008 17\:32\:02 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-CrossAssassin-Score: 2 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Tue, 02 Sep 2008 20:47:36 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20072 gmane.emacs.pretest.bugs:22945 Archived-At: Christian Engels 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 ()