all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: jidanni@jidanni.org, 5318@debbugs.gnu.org
Subject: bug#5318: 23.1.90; -batch vs. "Window height 3 too small (after splitting)"
Date: Wed, 06 Jan 2010 19:57:07 +0100	[thread overview]
Message-ID: <4B44DD03.8080509@gmx.at> (raw)
In-Reply-To: <87d41pr67d.fsf@jidanni.org>

 > 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






  reply	other threads:[~2010-01-06 18:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04 20:00 bug#5318: 23.1.90; -batch vs. "Window height 3 too small (after splitting)" jidanni
2010-01-06 18:57 ` martin rudalics [this message]
2010-01-06 19:15   ` jidanni
2010-01-07  8:17     ` martin rudalics
2010-01-07  8:29       ` jidanni

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B44DD03.8080509@gmx.at \
    --to=rudalics@gmx.at \
    --cc=5318@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.