From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <200808261732.03275.s9chenge@stud.uni-saarland.de> Reply-To: Glenn Morris , 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 1220324871 369 80.91.229.12 (2 Sep 2008 03:07:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Sep 2008 03:07:51 +0000 (UTC) Cc: 781@emacsbugs.donarmstrong.com, Christian Engels To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 02 05:08:45 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 1KaMG4-00050m-GZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Sep 2008 05:08:45 +0200 Original-Received: from localhost ([127.0.0.1]:36632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaMF4-0001h3-C0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Sep 2008 23:07:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaMEz-0001gb-Js for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2008 23:07:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaMEy-0001gP-4x for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2008 23:07:37 -0400 Original-Received: from [199.232.76.173] (port=50558 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaMEy-0001gM-06 for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2008 23:07:36 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33799) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KaMEx-0000bU-4X for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2008 23:07: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 m8237UnI009229; Mon, 1 Sep 2008 20:07:30 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m82304nr005534; Mon, 1 Sep 2008 20:00:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 02 Sep 2008 03:00:03 +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 781-submit@emacsbugs.donarmstrong.com id=B781.12203238733386 (code B ref 781); Tue, 02 Sep 2008 03:00:03 +0000 Original-Received: (at 781) by emacsbugs.donarmstrong.com; 2 Sep 2008 02:51:13 +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 m822pAKc003380 for <781@emacsbugs.donarmstrong.com>; Mon, 1 Sep 2008 19:51:11 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KaLxV-0000Un-6y; Mon, 01 Sep 2008 22:49:33 -0400 X-Spook: USCODE fundamentalist United Nations Crypto AG UNSCOM X-Ran: }[I%a%S$V=:{PJ-*n]+2LaX5b\Q]1f+IU2gMZ4sBySWN:&&?T;uQwb.C%T)D8gwvYiz~"` X-Hue: blue X-Attribution: GM In-Reply-To: (Stefan Monnier's message of "Mon, 01 Sep 2008 22:06:30 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Mon, 01 Sep 2008 23:07:37 -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:20009 Archived-At: 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.