unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Leo Liu <sdl.web@gmail.com>
Cc: 14096@debbugs.gnu.org
Subject: bug#14096: 24.3; fit-window-to-buffer regression
Date: Sat, 30 Mar 2013 20:29:31 +0100	[thread overview]
Message-ID: <51573D1B.4010007@gmx.at> (raw)
In-Reply-To: <m1ehew4xh8.fsf@gmail.com>

 > On 24.3, fit-window-to-buffer no longer respects window-min-height.
 >
 > 1. Make two window on a frame with one stacked on top of another
 > 2. Make a new buffer in one of the window, type any word
 > 3. M-x fit-window-to-buffer
 >
 > You should see the new buffer shrunk to 1 line while window-min-height
 > is 4.

Unfortunately, I also messed up the manual entry.  Anyway, I'm changing
this currently to make the window fit the size of the buffer as it is
displayed and also counting the real size of the mode and the headerline
and a couple of other things.  If you want to fix this yourself, call
(window-min-size) instead of (window-min-size nil nil t).

Thanks for the report, martin





  reply	other threads:[~2013-03-30 19:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-30 17:18 bug#14096: 24.3; fit-window-to-buffer regression Leo Liu
2013-03-30 19:29 ` martin rudalics [this message]
2013-03-31  3:42   ` Leo Liu
2013-03-31  8:18     ` martin rudalics
2013-11-19  9:59       ` Leo Liu
2013-11-20  7:33         ` martin rudalics
2014-01-13 17:51 ` martin rudalics
2014-01-14  0:15   ` Leo Liu
2014-01-14  0:50     ` Glenn Morris
2014-01-14  4:43       ` Leo Liu

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=51573D1B.4010007@gmx.at \
    --to=rudalics@gmx.at \
    --cc=14096@debbugs.gnu.org \
    --cc=sdl.web@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).