unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Tino Calancha <tino.calancha@gmail.com>,  Liu Hui <liuhui1610@gmail.com>
Cc: 25179@debbugs.gnu.org
Subject: bug#25179: 26.0.50; Dired doesn't preserve window height
Date: Mon, 12 Dec 2016 11:00:32 +0100	[thread overview]
Message-ID: <584E7540.8080003@gmx.at> (raw)
In-Reply-To: <87fult4jiy.fsf@gmail.com>

 >> 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






  reply	other threads:[~2016-12-12 10:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-12  5:14 bug#25179: 26.0.50; Dired doesn't preserve window height Liu Hui
2016-12-12  8:51 ` Tino Calancha
2016-12-12 10:00   ` martin rudalics [this message]
2017-04-15 14:49   ` martin rudalics
2017-04-16  3:34     ` Tino Calancha
2017-04-16  7:16       ` martin rudalics
2017-04-15 14:49 ` martin rudalics

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=584E7540.8080003@gmx.at \
    --to=rudalics@gmx.at \
    --cc=25179@debbugs.gnu.org \
    --cc=liuhui1610@gmail.com \
    --cc=tino.calancha@gmail.com \
    /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).