From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6204: vc-dir always splits the frame Date: Thu, 27 May 2010 12:13:31 -0400 Message-ID: References: <4jwrv35d7a.fsf@fencepost.gnu.org> <4BF5736B.1030605@gmx.at> <4BF79ABA.7080006@gmx.at> <87ljbbv4u4.fsf@mail.jurta.org> <87y6fbqtq2.fsf@mail.jurta.org> <4BF91C54.4070608@gmx.at> <4BF97C5B.409@gmx.at> <4BFBEE76.7000003@gmx.at> <4BFC099E.2000404@gmx.at> <4BFCDC3A.3000300@gmx.at> <4BFD3580.8080804@gmx.at> <4BFE36E6.5030203@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274977667 9881 80.91.229.12 (27 May 2010 16:27:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 May 2010 16:27:47 +0000 (UTC) Cc: 6204@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 27 18:27:44 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OHfvp-0000Yv-QA for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 May 2010 18:27:42 +0200 Original-Received: from localhost ([127.0.0.1]:59301 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHfvp-0005W1-6Q for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 May 2010 12:27:41 -0400 Original-Received: from [140.186.70.92] (port=39727 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHfvg-0005S0-PY for bug-gnu-emacs@gnu.org; Thu, 27 May 2010 12:27:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHfvf-0004ed-Fp for bug-gnu-emacs@gnu.org; Thu, 27 May 2010 12:27:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44468) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHfvf-0004eZ-D5 for bug-gnu-emacs@gnu.org; Thu, 27 May 2010 12:27:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OHfic-00041j-JG; Thu, 27 May 2010 12:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 May 2010 16:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6204 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6204-submit@debbugs.gnu.org id=B6204.127497682315459 (code B ref 6204); Thu, 27 May 2010 16:14:02 +0000 Original-Received: (at 6204) by debbugs.gnu.org; 27 May 2010 16:13:43 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHfiI-00041H-KE for submit@debbugs.gnu.org; Thu, 27 May 2010 12:13:42 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHfiG-00041B-AT for 6204@debbugs.gnu.org; Thu, 27 May 2010 12:13:41 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o4RGDXJE014691; Thu, 27 May 2010 12:13:33 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 80D2D70048; Thu, 27 May 2010 12:13:32 -0400 (EDT) In-Reply-To: <4BFE36E6.5030203@gmx.at> (martin rudalics's message of "Thu, 27 May 2010 11:09:58 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3544=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 27 May 2010 12:14:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:37329 Archived-At: > So we apparently want to support options like `pop-up-windows' and > `pop-up-frames' forever. For the foreseeable future, at least, yes. > Shall applications continue to bind `pop-up-windows' and `pop-up-frames' > as they do now? I suppose where they do now they should use (1) or (3) > instead. Exactly, they should use (3) or (1) depending on whether it is based on some impression that it would be a better default for this particular case, or whether it's in response to a specific user request (e.g. calling find-file-other-window rather than find-file). BTW, I'd be happy to get rid of all the foobar-other-window and foobar-other-frame and instead provide new prefix commands that affect the behavior of the next command, so instead of C-x 4 f, you'd do something like C-x 4 and then C-x C-f. We would probably then add some special hack to make C-x 4 f still work as before. >> Some of the intention behind the `default-params' would be to get rid of >> calls to switch-to-buffer (replaced by calls to pop-to-buffer with >> a same-window default-param). Such cases already disregard >> pop-up-windows and pop-up-frames, so ignoring them w.r.t default-params >> would be consistent with such a case. > You mean all cases where the buffer argument of `switch-to-buffer' names > an existing buffer (probably all of them do, but I didn't check). I mean all the calls to switch-to-buffer in Elisp code where the author obviously didn't take into account the fact that there can be minibuffer-only frames, or that the selected window can be dedicated, etc... IOW put switch-to-buffer in byte-compile-interactive-only-functions which we currently can't do because we don't have a good replacement for it yet. Stefan