From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#9532: 24.0.50; `special-display-regexps' is no longer respected Date: Wed, 21 Sep 2011 12:06:29 -0400 Message-ID: <874o05x4l6.fsf@stupidchicken.com> References: <9202F08DB196437E8AD75A3C535E5A7D@us.oracle.com> <87y5xlg9xq.fsf@stupidchicken.com> <1D79C6CD14EE4C76B74C446E04B9CA65@us.oracle.com> <85680E6E160C472FBC47C2FDA86BA171@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1316621229 28519 80.91.229.12 (21 Sep 2011 16:07:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Sep 2011 16:07:09 +0000 (UTC) Cc: 9532@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 21 18:06:59 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 1R6PK6-0005Q1-RV for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Sep 2011 18:06:59 +0200 Original-Received: from localhost ([::1]:52253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6PK6-0007nu-Ba for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Sep 2011 12:06:58 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6PJy-0007mw-Hg for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2011 12:06:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6PJu-0003iy-98 for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2011 12:06:50 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6PJu-0003it-67 for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2011 12:06:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R6PK9-0004zE-Ne for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2011 12:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Sep 2011 16:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9532 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9532-submit@debbugs.gnu.org id=B9532.131662121019147 (code B ref 9532); Wed, 21 Sep 2011 16:07:01 +0000 Original-Received: (at 9532) by debbugs.gnu.org; 21 Sep 2011 16:06:50 +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 1R6PJy-0004yl-7V for submit@debbugs.gnu.org; Wed, 21 Sep 2011 12:06:50 -0400 Original-Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R6PJv-0004yd-0t for 9532@debbugs.gnu.org; Wed, 21 Sep 2011 12:06:48 -0400 Original-Received: from furball ([128.36.14.81]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id p8LG6T8f030964 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 21 Sep 2011 12:06:30 -0400 In-Reply-To: (Stefan Monnier's message of "Tue, 20 Sep 2011 21:38:19 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 21 Sep 2011 12:07:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:51570 Archived-At: Stefan Monnier writes: > I think the problem here is that display-buffer--special should not just > be in display-buffer-fallback-action but should take precedence over the > ACTION argument (it's largely equivalent to display-buffer-alist). The problem with this is that if the "special" buffer is already displayed in a window, that window is supposed to be used instead of popping up a special window (at least, according to old behavior). We could accomodate this by changing display-buffer--special to also call display-buffer--maybe-same-window and display-buffer-reuse-window for special-display-p buffers. Then another problem arises: all direct switch-to-buffer calls will trigger special display for special buffers, which is not consistent with old behavior. The key difference here is that in Emacs 23 the `info' command calls display-buffer (using same-window-regexps to force it into the same window), whereas currently `info' uses switch-to-buffer (with the intention of transitioning away from same-window-*). OTOH, I don't see an easy way to handle all the backward compatibility exceptions in this case. One possibility is to change `info' etc. back to using same-window-regexps with display-buffer, which mostly kicks the can down the road to a later release. Or maybe we should just require use of display-buffer-alist for this case. Any thoughts?