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 Oct 2009 07:39:30 +0200 Message-ID: <4AD6B592.6090700@gmx.at> References: <87r63gzcap.fsf@jurta.org> <4975F4D5.5030000@gmx.at> <87y6tk1j47.fsf@mail.jurta.org> <49F7FE14.8010107@gmx.at> <49FFE515.4020608@gmx.at> <87vdnzpks0.fsf@mail.jurta.org> <4A11184F.4030606@gmx.at> <27ljouutzk.fsf@fencepost.gnu.org> <87vditmrxs.fsf@mail.jurta.org> <78zl8544jh.fsf@fencepost.gnu.org> <4ACB0646.5030102@gmx.at> <87r5tg9mhb.fsf@mail.jurta.org> <87tyy4qu08.fsf@mail.jurta.org> <871vl6x5un.fsf@mail.jurta.org> <873a5lzqhi.fsf@mail.jurta.org> 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 1255585661 744 80.91.229.12 (15 Oct 2009 05:47:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2009 05:47:41 +0000 (UTC) To: Juri Linkov , 1806@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 15 07:47:31 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 1MyJBS-0003oc-LU for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Oct 2009 07:47:30 +0200 Original-Received: from localhost ([127.0.0.1]:46007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyJBR-0000bT-Sa for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Oct 2009 01:47:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyJBJ-0000ZH-KW for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2009 01:47:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyJBD-0000Uv-7p for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2009 01:47:19 -0400 Original-Received: from [199.232.76.173] (port=45082 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyJBC-0000Ug-Re for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2009 01:47:14 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37226) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MyJBC-0004Gn-6U for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2009 01:47:14 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9F5lBeS022557; Wed, 14 Oct 2009 22:47:11 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9F5j5fM021994; Wed, 14 Oct 2009 22:45:05 -0700 Resent-Date: Wed, 14 Oct 2009 22:45:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 15 Oct 2009 05:45:05 +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.125558518021126 (code B ref 1806); Thu, 15 Oct 2009 05:45:05 +0000 Original-Received: (at 1806) by emacsbugs.donarmstrong.com; 15 Oct 2009 05:39:40 +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.14.3/8.14.3/Debian-5) with SMTP id n9F5dbi0021121 for <1806@emacsbugs.donarmstrong.com>; Wed, 14 Oct 2009 22:39:39 -0700 Original-Received: (qmail invoked by alias); 15 Oct 2009 05:39:31 -0000 Original-Received: from 62-47-41-122.adsl.highway.telekom.at (EHLO [62.47.41.122]) [62.47.41.122] by mail.gmx.net (mp036) with SMTP; 15 Oct 2009 07:39:31 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/xsgA3znzxZq7pDihMK/UNqNLgpBjLGQIImoKL+Y BaZmMKKgSdlJSS User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <873a5lzqhi.fsf@mail.jurta.org> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.75 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 15 Oct 2009 01:47:19 -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:31954 Archived-At: > I think the problem is the lack of the necessary primitive in window.el. > Should it exist, any mode could use it with a simple function call > that creates a new window below the current one even in a wide-frame > configuration. I remember Martin proposed a patch during the code freeze, > but currently can't find it. I'm currently rewriting the window code so this would be a good moment to incorporate such wishlist items here. Though for the present case I'm not quite sure whether `pop-to-buffer' is the primitive you want: If you want the new window definitely appear below the selected one, then why not use `split-window' in the first place? `pop-to-buffer' should be allowed to use heuristics based on user preferences. Applications should not deliberatly override them. martin