From: martin rudalics <rudalics@gmx.at>
To: raman@users.sf.net
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.50; Cannot run calculator on TTY
Date: Wed, 03 Oct 2007 08:21:27 +0200 [thread overview]
Message-ID: <470334E7.9020102@gmx.at> (raw)
In-Reply-To: <18178.62745.602748.437486@gargle.gargle.HOWL>
> martin> Sorry, my question was formulated badly. I wanted to
> martin> know what happens when you evaluate the form below in
> martin> your environment:
> martin>
> martin> (let ((split-window-keep-point nil)
> martin> (window-min-height 2)) (split-window-vertically -2))
> Raises the same error as raised by calling M-x calculator shown
> martin> earlier, so we've narrowed it down.
> I also get the same error if I just evaluate
> (split-window-vertically -2) in my environment.
> Works if I pass -3
>
This means something's wrong with your `split-window'. C-x C-e gets me
for
(let ((window-min-height 2))
(split-window-vertically -3))
=> Make a two lines window at bottom
(split-window-vertically -3)
=> Lisp error: (error "Window height 3 too small (after splitting)")
(let ((window-min-height 2))
(split-window-vertically -2))
=> Make a one line window at bottom
(split-window-vertically -2)
=> Lisp error: (error "Window height 2 too small (after splitting)")
which is the expected behavior. Your behavior is wrong because
(let ((window-min-height 2))
(split-window-vertically -2))
should not_raise an error while
(split-window-vertically -3)
should. My build is Emacs 22.1 with a few modifications. Maybe
something changed since then.
Can you run `split_window' with GDB and find out why it fails?
next prev parent reply other threads:[~2007-10-03 6:21 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-01 2:35 23.0.50; Cannot run calculator on TTY raman
2007-10-01 6:16 ` martin rudalics
2007-10-01 13:17 ` T. V. Raman
2007-10-01 15:41 ` martin rudalics
2007-10-02 3:13 ` T. V. Raman
2007-10-02 7:32 ` martin rudalics
2007-10-02 13:23 ` T. V. Raman
2007-10-02 17:51 ` martin rudalics
2007-10-03 1:49 ` T. V. Raman
2007-10-03 6:21 ` martin rudalics [this message]
[not found] ` <18179.41840.532732.664369@gargle.gargle.HOWL>
[not found] ` <18187.33374.913139.901742@gargle.gargle.HOWL>
2007-10-09 17:07 ` martin rudalics
2007-10-11 4:21 ` T. V. Raman
2007-10-11 8:50 ` martin rudalics
2007-10-11 13:30 ` T. V. Raman
2007-10-12 9:23 ` martin rudalics
2007-10-13 0:18 ` Richard Stallman
2007-10-13 9:02 ` martin rudalics
2007-10-13 19:47 ` Richard Stallman
2007-10-26 21:03 ` martin rudalics
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=470334E7.9020102@gmx.at \
--to=rudalics@gmx.at \
--cc=emacs-pretest-bug@gnu.org \
--cc=raman@users.sf.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).