GNU bug report logs - #25179
26.0.50; Dired doesn't preserve window height

Previous Next

Package: emacs;

Reported by: Liu Hui <liuhui1610 <at> gmail.com>

Date: Mon, 12 Dec 2016 05:16:02 UTC

Severity: normal

Found in version 26.0.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25179 in the body.
You can then email your comments to 25179 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#25179; Package emacs. (Mon, 12 Dec 2016 05:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Liu Hui <liuhui1610 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 12 Dec 2016 05:16:02 GMT) Full text and rfc822 format available.

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

From: Liu Hui <liuhui1610 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.50; Dired doesn't preserve window height
Date: Mon, 12 Dec 2016 13:14:33 +0800
1. Emacs -Q
2. C-x 2
3. M-x dired
4. press 'm' to mark two or more files
5. press 'D'
   => the window below becomes larger
6. answer 'no'
   => the window height is not restored

The problem is not found with dired on Emacs 24.5.


In GNU Emacs 26.0.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2016-12-10 built on lgw01-57
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description:	Ubuntu 16.04.1 LTS





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25179; Package emacs. (Mon, 12 Dec 2016 08:53:02 GMT) Full text and rfc822 format available.

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

From: Tino Calancha <tino.calancha <at> gmail.com>
To: Liu Hui <liuhui1610 <at> gmail.com>
Cc: 25179 <at> debbugs.gnu.org, tino.calancha <at> gmail.com
Subject: Re: bug#25179: 26.0.50; Dired doesn't preserve window height
Date: Mon, 12 Dec 2016 17:51:49 +0900
Liu Hui <liuhui1610 <at> gmail.com> writes:

> 1. Emacs -Q
> 2. C-x 2
> 3. M-x dired
> 4. press 'm' to mark two or more files
> 5. press 'D'
>    => the window below becomes larger
> 6. answer 'no'
>    => the window height is not restored
>
> The problem is not found with dired on Emacs 24.5.
Thank you.
For deleting 2-3 files Emacs24 and Emacs25 differs; for deleting
many files they looks pretty similar:

emacs -Q
C-x 2
;; Visit a directory with several hundred of files.
M-: (dired (expand-file-name "lisp" source-directory))
RET
t D no RET
;; In both releases the window displaying *scratch* becames very small.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25179; Package emacs. (Mon, 12 Dec 2016 10:01:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Tino Calancha <tino.calancha <at> gmail.com>, 
 Liu Hui <liuhui1610 <at> gmail.com>
Cc: 25179 <at> debbugs.gnu.org
Subject: Re: bug#25179: 26.0.50; Dired doesn't preserve window height
Date: Mon, 12 Dec 2016 11:00:32 +0100
>> 1. Emacs -Q
>> 2. C-x 2
>> 3. M-x dired
>> 4. press 'm' to mark two or more files
>> 5. press 'D'
>>     => the window below becomes larger
>> 6. answer 'no'
>>     => the window height is not restored
>>
>> The problem is not found with dired on Emacs 24.5.
> Thank you.
> For deleting 2-3 files Emacs24 and Emacs25 differs; for deleting
> many files they looks pretty similar:
>
> emacs -Q
> C-x 2
> ;; Visit a directory with several hundred of files.
> M-: (dired (expand-file-name "lisp" source-directory))
> RET
> t D no RET
> ;; In both releases the window displaying *scratch* becames very small.

This is bug#25055.  I yet have to understand why the behavior changed
in the transition from 24.5 to 25.

The problem is that when fitting a window to its buffer steals space
from more than one other window, that space should be returned to those
windows when the window is eventually deleted.  Returning space to more
than one window requires binding ‘window-combination-resize’ to t around
the action deleting the window.  Apparently trivial, I have not yet
found a way to do that reliably.

martin





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25179; Package emacs. (Sat, 15 Apr 2017 14:50:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Tino Calancha <tino.calancha <at> gmail.com>, 
 Liu Hui <liuhui1610 <at> gmail.com>
Cc: 25179 <at> debbugs.gnu.org
Subject: Re: bug#25179: 26.0.50; Dired doesn't preserve window height
Date: Sat, 15 Apr 2017 16:49:47 +0200
> emacs -Q
> C-x 2
> ;; Visit a directory with several hundred of files.
> M-: (dired (expand-file-name "lisp" source-directory))
> RET
> t D no RET
> ;; In both releases the window displaying *scratch* becames very small.

This should not happen any more after my last commit.  Please check.

Thanks, martin




Reply sent to martin rudalics <rudalics <at> gmx.at>:
You have taken responsibility. (Sat, 15 Apr 2017 14:50:03 GMT) Full text and rfc822 format available.

Notification sent to Liu Hui <liuhui1610 <at> gmail.com>:
bug acknowledged by developer. (Sat, 15 Apr 2017 14:50:04 GMT) Full text and rfc822 format available.

Message #19 received at 25179-done <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Liu Hui <liuhui1610 <at> gmail.com>, 25179-done <at> debbugs.gnu.org
Subject: Re: bug#25179: 26.0.50; Dired doesn't preserve window height
Date: Sat, 15 Apr 2017 16:49:25 +0200
> 1. Emacs -Q
> 2. C-x 2
> 3. M-x dired
> 4. press 'm' to mark two or more files
> 5. press 'D'
>     => the window below becomes larger
> 6. answer 'no'
>     => the window height is not restored
>
> The problem is not found with dired on Emacs 24.5.

Should have been fixed now on master with commit

23d3eeb798c7edc27898b0dbd4c2364a6ca6247d

Please (1) recompile window.el and after that (2) minibuffer.el and
dired.el and finally (3) rebuild Emacs.  Closing this bug.

Thanks, martin




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25179; Package emacs. (Sun, 16 Apr 2017 03:35:02 GMT) Full text and rfc822 format available.

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

From: Tino Calancha <tino.calancha <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Liu Hui <liuhui1610 <at> gmail.com>, 25179 <at> debbugs.gnu.org,
 Tino Calancha <tino.calancha <at> gmail.com>
Subject: Re: bug#25179: 26.0.50; Dired doesn't preserve window height
Date: Sun, 16 Apr 2017 12:34:22 +0900 (JST)

On Sat, 15 Apr 2017, martin rudalics wrote:

>> emacs -Q
>> C-x 2
>> ;; Visit a directory with several hundred of files.
>> M-: (dired (expand-file-name "lisp" source-directory))
>> RET
>> t D no RET
>> ;; In both releases the window displaying *scratch* becames very small.
>
> This should not happen any more after my last commit.  Please check.
Checked it.  It's OK now.  Thank you.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25179; Package emacs. (Sun, 16 Apr 2017 07:17:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: Liu Hui <liuhui1610 <at> gmail.com>, 25179 <at> debbugs.gnu.org
Subject: Re: bug#25179: 26.0.50; Dired doesn't preserve window height
Date: Sun, 16 Apr 2017 09:16:41 +0200
> Checked it.  It's OK now.  Thank you.

Thanks for checking.

martin




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 14 May 2017 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 40 days ago.

Previous Next


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