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: Wed, 26 Sep 2012 13:03:22 +0200 Message-ID: <5062E0FA.50701@gmx.at> References: <87r63gzcap.fsf@jurta.org> <505DBC23.5040907@gmx.at> <87y5k1lhn6.fsf@mail.jurta.org> <505ED4BB.3030103@gmx.at> <87txunj0ej.fsf@mail.jurta.org> <50602A8D.6010203@gmx.at> <8739261q8h.fsf@mail.jurta.org> <5061807D.1010401@gmx.at> <87pq59z3nr.fsf@mail.jurta.org> <5062C173.3050402@gmx.at> <87r4ppxfgm.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1348657456 28287 80.91.229.3 (26 Sep 2012 11:04:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Sep 2012 11:04:16 +0000 (UTC) Cc: 1806@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 26 13:04:19 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TGpPf-0001UY-KJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Sep 2012 13:04:19 +0200 Original-Received: from localhost ([::1]:57897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGpPa-0005g6-HV for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Sep 2012 07:04:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGpPX-0005fe-3F for bug-gnu-emacs@gnu.org; Wed, 26 Sep 2012 07:04:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGpPR-0007kt-7o for bug-gnu-emacs@gnu.org; Wed, 26 Sep 2012 07:04:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGpPR-0007kn-4z for bug-gnu-emacs@gnu.org; Wed, 26 Sep 2012 07:04:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TGpPO-0004GQ-Jk for bug-gnu-emacs@gnu.org; Wed, 26 Sep 2012 07:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Sep 2012 11:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1806 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 1806-submit@debbugs.gnu.org id=B1806.134865740716341 (code B ref 1806); Wed, 26 Sep 2012 11:04:02 +0000 Original-Received: (at 1806) by debbugs.gnu.org; 26 Sep 2012 11:03:27 +0000 Original-Received: from localhost ([127.0.0.1]:56407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TGpOo-0004FV-T4 for submit@debbugs.gnu.org; Wed, 26 Sep 2012 07:03:27 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:40469) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TGpOm-0004FO-H7 for 1806@debbugs.gnu.org; Wed, 26 Sep 2012 07:03:25 -0400 Original-Received: (qmail invoked by alias); 26 Sep 2012 11:03:25 -0000 Original-Received: from 62-47-47-61.adsl.highway.telekom.at (EHLO [62.47.47.61]) [62.47.47.61] by mail.gmx.net (mp027) with SMTP; 26 Sep 2012 13:03:25 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+wcVc1wAawdUUdVxQknmPdJQnncYsUJVx3a8J/qX oaezHbj0Qajr5w In-Reply-To: <87r4ppxfgm.fsf@mail.jurta.org> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64913 Archived-At: >> How would we handle the case where `window--try-to-split-window' fails >> for the selected window and some other window (like the frame's bottom >> window) gets split? > > This case is exceptional, but maybe handling of the `fit-window-to-buffer' > specifier could be added to some other actions where it makes sense? > >>> (setq display-buffer-alist '(("Marked Files" . >>> (display-buffer-below-selected >>> (fit-window-to-buffer . nil))))) >> And how would they handle the frame bottom window case sketched above? > > With (setq display-buffer-alist > '(("Marked Files" . (nil (fit-window-to-buffer . nil))))) I see. My knowledge of `display-buffer-alist' is certainly much worse than yours. Could you patch this along these lines? I think Chong will agree, if we only can get rid of the `temp-buffer-resize-regexps' stuff. martin