unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: martin rudalics <rudalics@gmx.at>
Cc: 1488@emacsbugs.donarmstrong.com
Subject: bug#1488: 23.0.60; dired-pop-to-buffer: use fit-window-to-buffer
Date: Tue, 09 Dec 2008 21:15:23 +0100	[thread overview]
Message-ID: <87zlj5xfz8.fsf@escher.local.home> (raw)
In-Reply-To: <493AD18C.6070002@gmx.at> (martin rudalics's message of "Sat, 06 Dec 2008 20:25:00 +0100")

On Sat, 06 Dec 2008 20:25:00 +0100 martin rudalics <rudalics@gmx.at> wrote:

> `fit-window-to-buffer' had more bugs than I thought.  I rewrote it
> completely but you would have to use it for a couple of days to know
> whether it DTRT.  Patch attached.

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.

Steve Berman






  reply	other threads:[~2008-12-09 20:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4940E3E8.8050501@gmx.at>
2008-12-04  9:44 ` bug#1488: 23.0.60; dired-pop-to-buffer: use fit-window-to-buffer Stephen Berman
2008-12-04 17:23   ` Drew Adams
2008-12-04 17:58   ` martin rudalics
2008-12-04 18:33     ` martin rudalics
2008-12-05 14:25   ` martin rudalics
2008-12-05 17:27     ` Stephen Berman
2008-12-05 17:37       ` martin rudalics
2008-12-05 18:17         ` Stephen Berman
2008-12-06 19:25           ` martin rudalics
2008-12-09 20:15             ` Stephen Berman [this message]
2008-12-11 17:29               ` martin rudalics
2008-12-11 10:05   ` bug#1488: marked as done (23.0.60; dired-pop-to-buffer: use fit-window-to-buffer) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zlj5xfz8.fsf@escher.local.home \
    --to=stephen.berman@gmx.net \
    --cc=1488@emacsbugs.donarmstrong.com \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).