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#1806: dired-pop-to-buffer in wrong place Date: Thu, 15 Jan 2009 09:59:14 -0500 Message-ID: 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> <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> Reply-To: Stefan Monnier , 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 1232033028 31715 80.91.229.12 (15 Jan 2009 15:23:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Jan 2009 15:23:48 +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 Thu Jan 15 16:25:00 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 1LNU5W-0001Vi-M3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Jan 2009 16:24:54 +0100 Original-Received: from localhost ([127.0.0.1]:52154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNU4F-0000m8-PE for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Jan 2009 10:23:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNU4A-0000lP-Qg for bug-gnu-emacs@gnu.org; Thu, 15 Jan 2009 10:23:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNU49-0000l2-9k for bug-gnu-emacs@gnu.org; Thu, 15 Jan 2009 10:23:30 -0500 Original-Received: from [199.232.76.173] (port=56599 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNU49-0000ky-3R for bug-gnu-emacs@gnu.org; Thu, 15 Jan 2009 10:23:29 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43897) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LNU48-0007LD-MJ for bug-gnu-emacs@gnu.org; Thu, 15 Jan 2009 10:23:28 -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 n0FFNQqs002888; Thu, 15 Jan 2009 07:23:26 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0FF54sj029305; Thu, 15 Jan 2009 07:05:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 15 Jan 2009 15:05: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.123203156426739 (code B ref 1806); Thu, 15 Jan 2009 15:05:04 +0000 Original-Received: (at 1806) by emacsbugs.donarmstrong.com; 15 Jan 2009 14:59:24 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0FExKb9026727 for <1806@emacsbugs.donarmstrong.com>; Thu, 15 Jan 2009 06:59:22 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtgEAHvebklMCpxj/2dsb2JhbACBbM4VhW6BcQ X-IronPort-AV: E=Sophos;i="4.37,270,1231131600"; d="scan'208";a="32340220" Original-Received: from 76-10-156-99.dsl.teksavvy.com (HELO pastel.home) ([76.10.156.99]) by ironport2-out.teksavvy.com with ESMTP; 15 Jan 2009 09:59:14 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 6C4F07F41; Thu, 15 Jan 2009 09:59:14 -0500 (EST) In-Reply-To: <496F11C0.4080700@gmx.at> (martin rudalics's message of "Thu, 15 Jan 2009 11:36:48 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 15 Jan 2009 10:23:30 -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:24165 Archived-At: >> But how would the user override this behavior in a way that can depend >> on the buffer being shown (i.e. via special-display-buffer-names)? > Customizing `pop-up-windows' would give (1) a general preference where > and how `display-buffer' should pop up windows, and (2) a possibility to > override decisions made by applications like dired on where and how to > pop up windows. > `special-display-buffer-names' and `special-display-regexps' would be > handled as usually, before checking `pop-up-windows'. If we want, we > can provide things like 'window-below or 'window-at-bottom as phony > parameters as suggested earlier. Actually, those phony params aren't right. Now that you made me think some more about it, they're all mutually exclusive, so we really only want one such param whose value could be `same-frame', `same-window', or `near-minibuffer'. Those same values could be used for pop-up-windows. Stefan