From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "David Vanderschel" Newsgroups: gmane.emacs.help Subject: Re: split-window documentation Date: Mon, 12 Jul 2004 07:23:07 GMT Organization: Road Runner High Speed Online http://www.rr.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1089617281 7290 80.91.224.253 (12 Jul 2004 07:28:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Jul 2004 07:28:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 12 09:27:55 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BjvEA-00036J-00 for ; Mon, 12 Jul 2004 09:27:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BjvGT-0007sf-Iu for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Jul 2004 03:30:17 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!nntp.giganews.com.MISMATCH!border1.nntp.dca.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone.austin.rr.com!fe2.texas.rr.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Original-NNTP-Posting-Host: 66.68.174.193 Original-X-Complaints-To: abuse@rr.com Original-X-Trace: fe2.texas.rr.com 1089616987 66.68.174.193 (Mon, 12 Jul 2004 02:23:07 CDT) Original-NNTP-Posting-Date: Mon, 12 Jul 2004 02:23:07 CDT Original-Xref: shelby.stanford.edu gnu.emacs.help:124253 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19587 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19587 "Matthias" wrote in message news:yg7iscuvqqr.fsf@fermat.math.uvsq.fr... > function `split-window' may return the following error: > Window height 3 too small (after splitting) > This feature is not documented in the elisp manual nor the doc spec of > `split-window'. May one give me some information so that I can add > some test in my function? It is hardly surprising that there should be such a limit. Since you now know emacs' low limit on window height and how the split-window function behaves, I should think that you could avoid the error by checking your situation using function window-height. Regards, David V. PS - Interestingly, by adjusting the size of my frame, I can persuade emacs to display a window in a single line. It gives up the echo/minibuffer line first, then the mode line - but it still works!