From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#1806: dired-pop-to-buffer in wrong place Date: Wed, 29 Apr 2009 01:58:00 +0300 Organization: JURTA Message-ID: <87y6tk1j47.fsf@mail.jurta.org> References: <87r63gzcap.fsf@jurta.org> <87prj0uxq8.fsf@jurta.org> <4963A229.1030609@gmx.at> <87aba4qh1b.fsf@jurta.org> <496483A8.8010805@gmx.at> <87d4ezuw6w.fsf@jurta.org> <4964CB72.1090605@gmx.at> <87aba3qb5g.fsf@jurta.org> <4965AE6B.6070802@gmx.at> <87fxjtmo4z.fsf@jurta.org> <49671922.4080609@gmx.at> <87zlhubw10.fsf@jurta.org> <496DF4B9.3080805@gmx.at> <496E5F58.7030304@gmx.at> <496F11C0.4080700@gmx.at> <87ocy8fajt.fsf@jurta.org> <4975F4D5.5030000@gmx.at> Reply-To: Juri Linkov , 1806@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1240960347 3328 80.91.229.12 (28 Apr 2009 23:12:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Apr 2009 23:12:27 +0000 (UTC) Cc: 1806@emacsbugs.donarmstrong.com To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 29 01:12:17 2009 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.50) id 1LywTH-0006yD-UM for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Apr 2009 01:12:16 +0200 Original-Received: from localhost ([127.0.0.1]:47985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LywTH-0008Ns-6h for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Apr 2009 19:12:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LywT1-0008IJ-Ce for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 19:11:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LywSw-0008Gn-Im for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 19:11:58 -0400 Original-Received: from [199.232.76.173] (port=53888 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LywSw-0008Gd-BJ for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 19:11:54 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33814) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LywSv-0008Cs-RY for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 19:11:54 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3SNBpei017702; Tue, 28 Apr 2009 16:11:51 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3SNA4lE016584; Tue, 28 Apr 2009 16:10:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 28 Apr 2009 23:10:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1806 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1806-submit@emacsbugs.donarmstrong.com id=B1806.124095988414574 (code B ref 1806); Tue, 28 Apr 2009 23:10:04 +0000 Original-Received: (at 1806) by emacsbugs.donarmstrong.com; 28 Apr 2009 23:04:44 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from relay03.kiev.sovam.com (relay03.kiev.sovam.com [62.64.120.201]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3SN4ZYB014562 for <1806@emacsbugs.donarmstrong.com>; Tue, 28 Apr 2009 16:04:37 -0700 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay03.kiev.sovam.com with esmtp (Exim 4.69) (envelope-from ) id 1LywLm-000KE1-Ui; Wed, 29 Apr 2009 02:04:31 +0300 In-Reply-To: <4975F4D5.5030000@gmx.at> (martin rudalics's message of "Tue, 20 Jan 2009 16:59:17 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (x86_64-pc-linux-gnu) X-Scanner-Signature: 068dd79c68aafbc760c35e97c5d420ed X-DrWeb-checked: yes X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 28 Apr 2009 19:11:58 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:27522 Archived-At: > Please have a look at the attached (only lightly tested) patch. > I didn't provide a similar service for `special-display-buffer-names' > and `special-display-regexps' yet. > > `display-buffer' and `pop-to-buffer' behave "as usual" as long as the > default values for `pop-up-windows', NOT-THIS-WINDOW, and OTHER-WINDOW > are used. An application calling `display-buffer' or `pop-to-buffer' > can specify the preferable window to split by setting NOT-THIS-WINDOW or > OTHER-WINDOW appropriately. Users can specify their preferences (and > override the application) by setting `pop-up-windows' appropriately. This might be good for post-23.1, but the reported annoyance is still here, so we need just to restore the old 22.1 behavior of `dired-pop-to-buffer'. Martin, do you think this is possible without reverting `dired-pop-to-buffer' to pre-December 2008 state, and making necessary changes in window.el thus providing the same behavior that was in `dired-pop-to-buffer'? -- Juri Linkov http://www.jurta.org/emacs/