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: Fri, 21 May 2010 16:15:41 -0400 Message-ID: References: <4jwrv35d7a.fsf@fencepost.gnu.org> <878w7fa7cr.fsf@mail.jurta.org> <4BF504B4.50408@gmx.at> <4BF5736B.1030605@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274473637 20938 80.91.229.12 (21 May 2010 20:27:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 May 2010 20:27:17 +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 Fri May 21 22:27:15 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 1OFYoN-0002nR-9P for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 May 2010 22:27:15 +0200 Original-Received: from localhost ([127.0.0.1]:42622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFYoM-0003Aj-G1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 May 2010 16:27:14 -0400 Original-Received: from [140.186.70.92] (port=45529 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFYoF-0003AW-3k for bug-gnu-emacs@gnu.org; Fri, 21 May 2010 16:27:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFYoC-0003RA-Fo for bug-gnu-emacs@gnu.org; Fri, 21 May 2010 16:27:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49449) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFYoC-0003R6-BQ for bug-gnu-emacs@gnu.org; Fri, 21 May 2010 16:27:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OFYdV-0004Ul-K2; Fri, 21 May 2010 16:16:01 -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: Fri, 21 May 2010 20:16:01 +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.127447294817272 (code B ref 6204); Fri, 21 May 2010 20:16:01 +0000 Original-Received: (at 6204) by debbugs.gnu.org; 21 May 2010 20:15:48 +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 1OFYdH-0004UX-FP for submit@debbugs.gnu.org; Fri, 21 May 2010 16:15:47 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFYdF-0004US-Mg for 6204@debbugs.gnu.org; Fri, 21 May 2010 16:15:46 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAKOG9ktMCpz0/2dsb2JhbACeFHK+TIUSBIw0 X-IronPort-AV: E=Sophos;i="4.53,280,1272859200"; d="scan'208";a="64759073" Original-Received: from 76-10-156-244.dsl.teksavvy.com (HELO pastel.home) ([76.10.156.244]) by ironport2-out.pppoe.ca with ESMTP; 21 May 2010 16:15:41 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 3540A81C2; Fri, 21 May 2010 16:15:41 -0400 (EDT) In-Reply-To: <4BF5736B.1030605@gmx.at> (martin rudalics's message of "Thu, 20 May 2010 19:37:47 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 21 May 2010 16:16:01 -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:37153 Archived-At: >> Indeed. A good way would be to provide a way to override pop-up-windows >> (both nil and t) in special-display-regexps. We already have >> (same-window . t), so we only need to add the other half. > In Juri's `switch-to-buffer-other-window' case such options would be > useless anyway. I was thinking of the OP's vc-dir case. >> But maybe the user would like to follow the application's special >> handling, even tho she modified her pop-up-windows for other reasons. >> I think it's much better to use 2 separate variables, where the >> user-controlled var is never modified by Elisp code. > Applications that do care enough should either (1) use `split-window' > and `set-window-buffer' or (2) provide a separate customizable option > like `foo-pop-up-windows' and let the user decide whether this should > pop up a new window and where. If the buffer names are sufficiently regular and unique, special-display-regexps can already provide the needed customizability without any need for a new option. Stefan