GNU bug report logs - #17554
24.3.91; [Regression] re-usage of dired *Marked Files* buffer window

Previous Next

Package: emacs;

Reported by: "Roland Winkler" <winkler <at> gnu.org>

Date: Thu, 22 May 2014 20:01:02 UTC

Severity: normal

Found in version 24.3.91

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 17554 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Roland Winkler <winkler <at> gnu.org>, 
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Juri Linkov <juri <at> jurta.org>, 17554 <at> debbugs.gnu.org
Subject: Re: bug#17554: 24.3.91; [Regression] re-usage of dired *Marked Files*
 buffer window
Date: Fri, 23 May 2014 09:24:23 +0200
> Emacs 24.3 does not give me this problem (I just double-checked):

IIUC we now use `display-buffer' for displaying the list of marked files
and completions and both seem to backfire in the present case.

> First it gives me the *Marked Files* window by splitting the main
> window (only two lines high if I want to move only two files,
> whereas 24.3.91 makes it three lines high).

A regression.  It happens because `display-buffer-pop-up-window' obeys
`window-min-height' which is 4, by default.  Subtracting one for the
mode-line gives three lines.  If you mark at least three files you won't
see it.  We could add a `window-height' alist entry to fix this.  Juri -
any ideas where?  My knowledge of `dired' is about zero so I don't want
to add any such switch without some advice.

> Then it splits once more the main window for the *Completions*
> buffer.  So I get a *Completions* window which is typically large
> enough to display the complete *Completions* buffer.

Which is much better indeed.  You can customize `split-height-threshold'
to get three windows again - the *Completions* buffer then appears at the
bottom when the question is asked.  But the default would really look
better with three windows.  Juri - any ideas?

martin




This bug report was last modified 10 years and 346 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.