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, 20 May 2010 13:14:31 -0400 Message-ID: References: <4jwrv35d7a.fsf@fencepost.gnu.org> <878w7fa7cr.fsf@mail.jurta.org> <4BF504B4.50408@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274376433 11362 80.91.229.12 (20 May 2010 17:27:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 May 2010 17:27:13 +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 20 19:27:12 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 1OF9Wa-00078Y-3Z for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 May 2010 19:27:12 +0200 Original-Received: from localhost ([127.0.0.1]:39958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OF9WZ-000814-7s for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 May 2010 13:27:11 -0400 Original-Received: from [140.186.70.92] (port=55941 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OF9WQ-00080n-6x for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 13:27:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OF9WO-0006Wd-Fk for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 13:27:02 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55251) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF9WO-0006WZ-CX for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 13:27:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OF9Ko-0006yV-Ad; Thu, 20 May 2010 13:15: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, 20 May 2010 17:15: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.127437568326787 (code B ref 6204); Thu, 20 May 2010 17:15:02 +0000 Original-Received: (at 6204) by debbugs.gnu.org; 20 May 2010 17:14: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 1OF9KS-0006y0-OT for submit@debbugs.gnu.org; Thu, 20 May 2010 13:14:43 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF9KP-0006xu-Oj for 6204@debbugs.gnu.org; Thu, 20 May 2010 13:14:38 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o4KHEVs9009252; Thu, 20 May 2010 13:14:31 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 4274770046; Thu, 20 May 2010 13:14:31 -0400 (EDT) In-Reply-To: <4BF504B4.50408@gmx.at> (martin rudalics's message of "Thu, 20 May 2010 11:45:24 +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 RV3539=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 20 May 2010 13:15: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:37099 Archived-At: >> Now after let-binding `pop-up-windows' to nil around the `pop-to-buffer' >> call, what if someone might want to restore the old behavior. 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. > The intended use is that an application calling `display-buffer' > or `pop-to-buffer' could bind this as > (let ((pop-up-windows > (if (eq pop-up-windows t) > application-dependent-value > pop-up-windows))) > that is, the default value can be overridden by the application, > user customizations are respected. 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. Stefan