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#1488: 23.0.60; dired-pop-to-buffer: use fit-window-to-buffer Date: Thu, 11 Dec 2008 18:29:57 +0100 Message-ID: <49414E15.1020801@gmx.at> References: <87fxl446mr.fsf@escher.local.home> <493939C0.7010507@gmx.at> <87bpvqttvr.fsf@escher.local.home> <493966D2.5050108@gmx.at> <877i6etrjp.fsf@escher.local.home> <493AD18C.6070002@gmx.at> <87zlj5xfz8.fsf@escher.local.home> Reply-To: martin rudalics , 1488@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 1229018749 21479 80.91.229.12 (11 Dec 2008 18:05:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2008 18:05:49 +0000 (UTC) Cc: 1488@emacsbugs.donarmstrong.com To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 11 19:06:53 2008 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 1LApvO-0003mC-5a for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2008 19:06:10 +0100 Original-Received: from localhost ([127.0.0.1]:55888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LApuC-0000Pv-W8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2008 13:04:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LApti-0008AF-FV for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 13:04:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAptf-00082S-D3 for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 13:04:24 -0500 Original-Received: from [199.232.76.173] (port=45313 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAptd-00080A-2k for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 13:04:21 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43933) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LAptc-0001dS-8C for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 13:04:20 -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 mBBI4Ifs019578; Thu, 11 Dec 2008 10:04:18 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBBHj3QO012985; Thu, 11 Dec 2008 09:45:03 -0800 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 11 Dec 2008 17:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1488 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1488-submit@emacsbugs.donarmstrong.com id=B1488.122901709411088 (code B ref 1488); Thu, 11 Dec 2008 17:45:03 +0000 X-Spam-Bayes: score:0.0000 Tokens: new, 24; hammy, 77; neutral, 60; spammy, 0. spammytokens: hammytokens:0.000-+--23.0.60, 0.000-+--23060, 0.000-+--HCC:D*com, 0.000-+--HX-Spam-Relays-External:213.165.64.20, 0.000-+--H*RU:mail.gmx.net Original-Received: (at 1488) by emacsbugs.donarmstrong.com; 11 Dec 2008 17:38:14 +0000 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 mBBHcAGa011057 for <1488@emacsbugs.donarmstrong.com>; Thu, 11 Dec 2008 09:38:12 -0800 Original-Received: (qmail invoked by alias); 11 Dec 2008 17:32:11 -0000 Original-Received: from 62-47-45-255.adsl.highway.telekom.at (EHLO [62.47.45.255]) [62.47.45.255] by mail.gmx.net (mp069) with SMTP; 11 Dec 2008 18:32:11 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+ZETRado+ZSex731ZTd+dJuTmnjV1uBFeMGO6ZEs ZDOnJCMM5JD8iZ User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <87zlj5xfz8.fsf@escher.local.home> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.78 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 11 Dec 2008 13:04:24 -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:23190 Archived-At: > I finally had time to apply your patch and give it a whirl. Initial > tests together with my patched dired-pop-to-buffer indicate it DTRT, > i.e., both with and without a header line I can shrink the frame and > invoke dired-pop-to-buffer without signalling an error until only one > dired line is displayable: then shrinking is no longer possible and > dired-pop-to-buffer shows one file (also with signalling an error). > I'll keep using it, maybe I'll hit a corner case, but it seems ok. I checked in a revised version of this. It's pretty hard to get right, especially when shrinking non-full-width-windows. There's still a corner case I cannot handle. Anyway, please report immediately when something appears wrong. Thanks, martin.