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: Fri, 09 Jan 2009 00:59:17 +0200 Organization: JURTA Message-ID: <87skntl95i.fsf@jurta.org> References: <87r63gzcap.fsf@jurta.org> <496395F6.8050409@gmx.at> <87prj0uxq8.fsf@jurta.org> <4963A229.1030609@gmx.at> <87aba4qh1b.fsf@jurta.org> <496483A8.8010805@gmx.at> <87d4ezuw6w.fsf@jurta.org> <4964CB72.1090605@gmx.at> <49665326.8060607@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 1231457116 14225 80.91.229.12 (8 Jan 2009 23:25:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Jan 2009 23:25:16 +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 Fri Jan 09 00:26:27 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 1LL4GW-0005n1-0Y for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Jan 2009 00:26:16 +0100 Original-Received: from localhost ([127.0.0.1]:52816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LL4FG-0007KZ-2b for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Jan 2009 18:24:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LL4Do-0006UX-8Y for bug-gnu-emacs@gnu.org; Thu, 08 Jan 2009 18:23:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LL4Dn-0006U4-I0 for bug-gnu-emacs@gnu.org; Thu, 08 Jan 2009 18:23:27 -0500 Original-Received: from [199.232.76.173] (port=35019 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LL4Dn-0006Tq-C4 for bug-gnu-emacs@gnu.org; Thu, 08 Jan 2009 18:23:27 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48288) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LL4Dm-0005fL-W0 for bug-gnu-emacs@gnu.org; Thu, 08 Jan 2009 18:23:27 -0500 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 n08NNOuB027050; Thu, 8 Jan 2009 15:23:25 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n08NF3uR024789; Thu, 8 Jan 2009 15:15:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 08 Jan 2009 23:15:03 +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.123145602623462 (code B ref 1806); Thu, 08 Jan 2009 23:15:03 +0000 Original-Received: (at 1806) by emacsbugs.donarmstrong.com; 8 Jan 2009 23:07:06 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n08N72ex023454 for <1806@emacsbugs.donarmstrong.com>; Thu, 8 Jan 2009 15:07:03 -0800 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1LL3xs-000IWH-Os; Fri, 09 Jan 2009 01:07:01 +0200 In-Reply-To: <49665326.8060607@gmx.at> (martin rudalics's message of "Thu, 08 Jan 2009 20:25:26 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: 233cb89e4cdd9c68f6fe52a505261b56 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 6681 [Jan 08 2009] X-SpamTest-Info: {received from trusted relay: common white list} X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: white ip list X-SpamTest-Rate: 10 X-SpamTest-Status: Trusted X-SpamTest-Status-Extended: trusted X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 08 Jan 2009 18:23:27 -0500 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:23928 Archived-At: >> This should be >> generalized so as to be able to say "preferably in the selected-window" >> (to provide basically the behavior of switch-to-buffer), or "preferably >> in selected-frame", or "preferably close to the minibuffer". The first >> 2 are available *to the user* via the `same-window' and `same-frame' >> attribute that they can set in special-display-buffer-names, but they >> should also be available to the program (and overridable by the user). > > But none of these provide the behavior wanted by Juri. He wants to > split the selected window which runs counter to the `pop-up-frames' > non-nil ideology. So I suppose we need a "preferably splitting the > selected window" value which can be overridden by `pop-up-frames'. The preferred location of the window can be expressed by the new parameter proposed by Stefan: in addition to `same-window' and `same-frame' it could also support a parameter like `fit-below' with the meaning of creating a new window below from the current window with calling `fit-window-to-buffer' on it. -- Juri Linkov http://www.jurta.org/emacs/