From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: [jbw@macs.hw.ac.uk: window-min-height not obeying its documentation in Emacs 22.1] Date: Mon, 09 Jul 2007 14:03:33 +0200 Message-ID: <46922415.20801@swipnet.se> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1183982757 30883 80.91.229.12 (9 Jul 2007 12:05:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 Jul 2007 12:05:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 09 14:05:55 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I7rzx-0007b4-Jj for ged-emacs-devel@m.gmane.org; Mon, 09 Jul 2007 14:05:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I7rzw-0002bF-La for ged-emacs-devel@m.gmane.org; Mon, 09 Jul 2007 08:05:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I7ry0-0001u9-K4 for emacs-devel@gnu.org; Mon, 09 Jul 2007 08:03:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I7rxx-0001rE-LT for emacs-devel@gnu.org; Mon, 09 Jul 2007 08:03:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I7rxx-0001qh-AR for emacs-devel@gnu.org; Mon, 09 Jul 2007 08:03:45 -0400 Original-Received: from av9-1-sn3.vrr.skanova.net ([81.228.9.185]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I7rxt-0002zL-T0; Mon, 09 Jul 2007 08:03:42 -0400 Original-Received: by av9-1-sn3.vrr.skanova.net (Postfix, from userid 502) id EECF5381A3; Mon, 9 Jul 2007 14:03:40 +0200 (CEST) Original-Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av9-1-sn3.vrr.skanova.net (Postfix) with ESMTP id CDC0738218; Mon, 9 Jul 2007 14:03:40 +0200 (CEST) Original-Received: from husetbladh.homeip.net (81-235-205-78-no59.tbcn.telia.com [81.235.205.78]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id B0E6A37E48; Mon, 9 Jul 2007 14:03:40 +0200 (CEST) User-Agent: Thunderbird 1.5.0.12 (X11/20070604) In-Reply-To: X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74498 Archived-At: Richard Stallman skrev: > Would someone please DTRT then ack? > Fixed in HEAD. Jan D. > ------- Start of forwarded message ------- > X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY > autolearn=failed version=3.1.0 > From: Joe Wells > To: bug-gnu-emacs@gnu.org > Date: Mon, 02 Jul 2007 12:12:42 +0100 > Subject: window-min-height not obeying its documentation in Emacs 22.1 > > I have window-min-height set to 4. According to its documentation, > any window whose height is less than 4 will be deleted. This is false > when the value split-height-threshold is small enough. The following > script reproduces the bug (at least with my screen height). > > - ---------------------------------------------------------------------- > #!/bin/sh > ~/local2/bin/emacs --quick --eval '(progn (split-window-vertically) (temp-buffer-resize-mode 1) (setq window-min-height 4) (setq split-height-threshold 4) (describe-bindings))' > # > # You will now see a window that is 1 line tall and is missing its > # mode line. This should be impossible according to the documentation > # of window-min-height. > - ---------------------------------------------------------------------- > > This may just be a documentation bug. But I would really like for > window-min-height to obey its documentation, as I get very confused by > windows that are missing their mode lines because they are only 1 line > tall. > > Joe > > - ---------------------------------------------------------------------- > In GNU Emacs 22.1.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20) > of 2007-06-27 on artemis > Windowing system distributor `The X.Org Foundation', version 11.0.70000000 > configured using `configure '--prefix=/home/jbw/local2' '--enable-debug' '--disable-nls' '--with-x-toolkit=gtk' 'CFLAGS=-O0 -g3 -ggdb'' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: en_US.UTF-8 > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: jbw > value of $LANG: nil > locale-coding-system: utf-8 > default-enable-multibyte-characters: t >