From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#1806: dired-pop-to-buffer in wrong place Date: Thu, 15 Jan 2009 11:36:48 +0100 Message-ID: <496F11C0.4080700@gmx.at> 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> Reply-To: martin rudalics , 1806@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232017433 6618 80.91.229.12 (15 Jan 2009 11:03:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Jan 2009 11:03:53 +0000 (UTC) Cc: 1806@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 15 12:04:57 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 1LNQ1x-0006jD-A6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Jan 2009 12:04:57 +0100 Original-Received: from localhost ([127.0.0.1]:47338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNQ0g-00019A-Ps for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Jan 2009 06:03:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNQ0a-00017X-HN for bug-gnu-emacs@gnu.org; Thu, 15 Jan 2009 06:03:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNQ0Y-000163-AU for bug-gnu-emacs@gnu.org; Thu, 15 Jan 2009 06:03:30 -0500 Original-Received: from [199.232.76.173] (port=36048 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNQ0X-00015o-VF for bug-gnu-emacs@gnu.org; Thu, 15 Jan 2009 06:03:30 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44152) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LNQ0W-00005o-PH for bug-gnu-emacs@gnu.org; Thu, 15 Jan 2009 06:03:29 -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 n0FB3Qc1016749; Thu, 15 Jan 2009 03:03:27 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0FAj30f011055; Thu, 15 Jan 2009 02:45:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 15 Jan 2009 10:45: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.12320158769737 (code B ref 1806); Thu, 15 Jan 2009 10:45:03 +0000 Original-Received: (at 1806) by emacsbugs.donarmstrong.com; 15 Jan 2009 10:37:56 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n0FAbl94009729 for <1806@emacsbugs.donarmstrong.com>; Thu, 15 Jan 2009 02:37:49 -0800 Original-Received: (qmail invoked by alias); 15 Jan 2009 10:37:42 -0000 Original-Received: from 62-47-53-123.adsl.highway.telekom.at (EHLO [62.47.53.123]) [62.47.53.123] by mail.gmx.net (mp036) with SMTP; 15 Jan 2009 11:37:42 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/akHNgzYLa6BZysdIvq2B92qCxtwcB40kwW84ec4 /MGwT6eG+Y3RcN User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 15 Jan 2009 06:03: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:24152 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. All this is also a question of where and how to document behavior best. I tried to understand and document the special-display stuff but am pretty sure that I still haven't got it right yet. I strongly doubt that anyone but you really knows how this is supposed to work. OTOH `pop-up-windows' has a one line doc-string, so I thought we could try that first. martin