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#10135: 24.0.91; `special-display-regexps' is still not respected (again) Date: Mon, 28 Nov 2011 10:59:37 -0500 Message-ID: References: <5A0FD164923A4D9990DBFBA39F44FC52@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322496027 27143 80.91.229.12 (28 Nov 2011 16:00:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2011 16:00:27 +0000 (UTC) Cc: 10135@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 28 17:00:23 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RV3d0-0004sq-9L for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Nov 2011 17:00:22 +0100 Original-Received: from localhost ([::1]:59870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV3cz-00078c-St for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Nov 2011 11:00:21 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV3cs-00078G-Cb for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 11:00:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RV3cm-0000tY-HO for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 11:00:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV3cm-0000tP-By for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 11:00:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RV3ec-00060C-4R for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 11:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2011 16:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10135-submit@debbugs.gnu.org id=B10135.132249609723035 (code B ref 10135); Mon, 28 Nov 2011 16:02:02 +0000 Original-Received: (at 10135) by debbugs.gnu.org; 28 Nov 2011 16:01:37 +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 1RV3eC-0005zT-4x for submit@debbugs.gnu.org; Mon, 28 Nov 2011 11:01:36 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RV3eA-0005zM-Dz for 10135@debbugs.gnu.org; Mon, 28 Nov 2011 11:01:35 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id pASFxb8d026275; Mon, 28 Nov 2011 10:59:37 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 1C02458D75; Mon, 28 Nov 2011 10:59:37 -0500 (EST) In-Reply-To: (Drew Adams's message of "Sat, 26 Nov 2011 06:54:26 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4055=0 X-NAI-Spam-Version: 2.2.0.9286 : core <4055> : streams <705967> : uri <1017601> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 28 Nov 2011 11:02:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54365 Archived-At: >> > 5. C-x 5 2 >> > In step 5, a special-display frame should also be used, for the same >> > reason, but it is not. >> I could agree that it's a problem, but IIUC this is not a new issue, >> since I think that's how C-x 5 2 has always worked, right? > You are right, sir - my bad. Thanks for confirming. > Feel free to close this bug or (IMO better) keep it open, perhaps as > a wishlist item. The fact that it's not new doesn't change the fact that you dislike this behavior, so it's not a reason to close the bug. > Since the buffer displayed matches `special-display-regexps', > a special-display frame should be used. As you know I use a similar setup to yours so I have gone through similar thoughts. I haven't actually tried to make C-x 5 2 "obey" special-display-regexps, but if someone wants to try it, here are some things to consider: - The default behavior for special-display-* is to reuse any window that already displays the buffer, so in order to make C-x 5 2 meaningful we'd clearly want to skip this part of the usual special-display-* behavior. - Maybe C-x 5 2 should be more like "clone frame" instead, i.e. don't pay attention to special-display-* but instead try to reproduce the existing frame (including dedicatedness of the window it displays). This opens the question of what to do when the selected frame has several windows, of course. Stefan