From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#5318: 23.1.90; -batch vs. "Window height 3 too small (after splitting)" Date: Wed, 06 Jan 2010 19:57:07 +0100 Message-ID: <4B44DD03.8080509@gmx.at> References: <87d41pr67d.fsf@jidanni.org> Reply-To: martin rudalics , 5318@debbugs.gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1262805547 13460 80.91.229.12 (6 Jan 2010 19:19:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jan 2010 19:19:07 +0000 (UTC) To: jidanni@jidanni.org, 5318@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 06 20:18:59 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NSbPG-00069V-Mu for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jan 2010 20:18:59 +0100 Original-Received: from localhost ([127.0.0.1]:57192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSbPH-0005yb-2s for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jan 2010 14:18:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSbPB-0005v2-J9 for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 14:18:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSbP7-0005mb-UQ for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 14:18:53 -0500 Original-Received: from [199.232.76.173] (port=45594 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSbP7-0005mR-Or for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 14:18:49 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51633) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSbP7-0004lh-EX for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 14:18:49 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NSb50-0004ag-DH; Wed, 06 Jan 2010 13:58:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: martin rudalics , 5318@debbugs.gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jan 2010 18:58:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5318 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5318-submit@debbugs.gnu.org id=B5318.126280423817638 (code B ref 5318); Wed, 06 Jan 2010 18:58:02 +0000 Original-Received: (at 5318) by debbugs.gnu.org; 6 Jan 2010 18:57:18 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSb4H-0004aR-P8 for submit@debbugs.gnu.org; Wed, 06 Jan 2010 13:57:17 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NSb4E-0004aK-Su for 5318@debbugs.gnu.org; Wed, 06 Jan 2010 13:57:16 -0500 Original-Received: (qmail invoked by alias); 06 Jan 2010 18:57:08 -0000 Original-Received: from 62-47-53-18.adsl.highway.telekom.at (EHLO [62.47.53.18]) [62.47.53.18] by mail.gmx.net (mp008) with SMTP; 06 Jan 2010 19:57:08 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/3XxJMs1v3WxFFOBvpJ+F8E+6V+6OVsisLLsQkCr AA2Jftm/JXek34 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <87d41pr67d.fsf@jidanni.org> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6 X-Spam-Score: -2.4 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -2.4 (--) Resent-Date: Wed, 06 Jan 2010 13:58:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34004 Archived-At: > Suddenly I'm getting > "Window height 3 too small (after splitting)" > However none of my equipment has windows even twice as small. The default value of `window-min-height' is 4 and since 3 < 4 `split-window' throws that error. The error can occur independently of the height of the window you want to split: If the window you want to split has 50 lines and you want to split it into two windows of size 47 and 3 you get the error. > Something must have broke recently. Not very recently, I suppose. > emacs-version "23.1.90.1" > > -*- mode: compilation; default-directory: "/home/jidanni/pda/webtree/addresses/" -*- > Compilation started at Tue Jan 5 03:52:17 > > emacs -q -batch -eval \ > '(progn(bbdb "." t)(other-window 1)(bbdb-display-all-records-completely nil)(set-buffer-file-coding-system (quote utf-8-unix) nil)(write-file "abb.txt"))' I don't have bbdb so I can't test this. Can you verify whether the error occurs in `bbdb-display-all-records-completely' by omitting all clauses following the (other-window 1) clause? You could also try to replace "progn" by "let ((window-min-height 1))" but this will probably fail if the function calling `split-window' uses the value of `window-min-height' for calculating the size of the new window. martin