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 14:30:36 -0400 Message-ID: <87obydeoj7.fsf@stupidchicken.com> References: <9202F08DB196437E8AD75A3C535E5A7D@us.oracle.com> <87y5xlg9xq.fsf@stupidchicken.com> <1D79C6CD14EE4C76B74C446E04B9CA65@us.oracle.com> <85680E6E160C472FBC47C2FDA86BA171@us.oracle.com> <874o05x4l6.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1316629862 28040 80.91.229.12 (21 Sep 2011 18:31:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Sep 2011 18:31:02 +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 20:30:57 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 1R6RZL-00065D-OZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Sep 2011 20:30:51 +0200 Original-Received: from localhost ([::1]:49603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6RZL-0002i2-74 for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Sep 2011 14:30:51 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6RZH-0002hj-PU for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2011 14:30:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6RZG-0001S3-Nd for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2011 14:30:47 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6RZG-0001Ry-Kn for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2011 14:30:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R6RZW-0000cx-AV for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2011 14:31:02 -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 18:31:02 +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.13166298572401 (code B ref 9532); Wed, 21 Sep 2011 18:31:02 +0000 Original-Received: (at 9532) by debbugs.gnu.org; 21 Sep 2011 18:30:57 +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 1R6RZQ-0000cf-P6 for submit@debbugs.gnu.org; Wed, 21 Sep 2011 14:30:56 -0400 Original-Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R6RZO-0000cY-1n for 9532@debbugs.gnu.org; Wed, 21 Sep 2011 14:30:55 -0400 Original-Received: from furball ([128.36.14.81]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id p8LIUaou018142 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 21 Sep 2011 14:30:36 -0400 In-Reply-To: (Stefan Monnier's message of "Wed, 21 Sep 2011 13:59:12 -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.146 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 21 Sep 2011 14:31:02 -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:51577 Archived-At: Stefan Monnier writes: >> 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-*). > > At least both Drew and I would consider it a bug fix if > special-display-* applies to *info*, so I'm not sure such a change is > a problem. I think you misunderstand. Consider this: M-: (setq special-display-regexps '("foo")) RET M-: (get-buffer-create "foo") RET M-x switch-to-buffer RET foo RET In Emacs 23, this switches to the "foo" buffer in the selected window. With the proposed change, the direct switch-to-buffer call opens it in a special window (just like the switch-to-buffer call in `info'). So we would be swapping on backward incompatibility for another.