Article View: gnu.emacs.bug
Article #87440shrink-window-if-larger-than-buffer ignores window-min-height
From: David Grabiner
Date: Sun, 25 Sep 1994 19:49
Date: Sun, 25 Sep 1994 19:49
17 lines
1518 bytes
1518 bytes
In GNU Emacs 19.22.1 of Sat Apr 2 1994 on brauer (berkeley-unix) Create two windows in the same frame, one of them containing an empty buffer. In the empty buffer, type "C-x -" to shrink-window-if-larger-than-buffer. The window will shrink to one line (plus a mode line); normally, window-min-height, which is 4 by default, does not allow such windows. This could be fixed by shrinking the window only to window-min-height; it could also be left unchanged but documented. I found the bug by accident, and was surprised to see a one-line window. David Grabiner, grabiner@zariski.harvard.edu "We are sorry, but the number you have dialed is imaginary." "Please rotate your phone 90 degrees and try again." Disclaimer: I speak for no one and no one speaks for me.
Technical Details
Message-ID:
<9409251940.AA04791@math.harvard.edu>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!math.harvard.edu!grabinerShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,2b28769da53a7b8d,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-09-25 12:52:59 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!math.harvard.edu!grabiner From: grabiner@math.harvard.edu (David Grabiner) Newsgroups: gnu.emacs.bug Subject: shrink-window-if-larger-than-buffer ignores window-min-height Date: 25 Sep 1994 15:49:09 -0400 Organization: GNUs Not Usenet Lines: 17 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <9409251940.AA04791@math.harvard.edu> Reply-To: grabiner@math.harvard.edu