From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; Cannot run calculator on TTY Date: Wed, 03 Oct 2007 08:21:27 +0200 Message-ID: <470334E7.9020102@gmx.at> References: <20071001023514.E164D12A4071@localhost> <470090AD.7020701@gmx.at> <18176.62320.27921.579761@gargle.gargle.HOWL> <4701153E.7010408@gmx.at> <18177.46954.59945.891659@gargle.gargle.HOWL> <4701F402.6060403@gmx.at> <18178.18023.858644.85600@gargle.gargle.HOWL> <47028522.60003@gmx.at> <18178.62745.602748.437486@gargle.gargle.HOWL> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1191392626 17261 80.91.229.12 (3 Oct 2007 06:23:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Oct 2007 06:23:46 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: raman@users.sf.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 03 08:23:42 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 1Icxdy-0007GZ-8C for ged-emacs-devel@m.gmane.org; Wed, 03 Oct 2007 08:23:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Icxdt-0006EC-SH for ged-emacs-devel@m.gmane.org; Wed, 03 Oct 2007 02:23:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Icxdp-0006Dh-Ku for emacs-devel@gnu.org; Wed, 03 Oct 2007 02:23:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Icxdn-0006DP-RT for emacs-devel@gnu.org; Wed, 03 Oct 2007 02:23:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Icxdn-0006DM-Ku for emacs-devel@gnu.org; Wed, 03 Oct 2007 02:23:27 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Icxdn-0004b9-I1 for emacs-devel@gnu.org; Wed, 03 Oct 2007 02:23:27 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Icxcy-0000WY-By for emacs-pretest-bug@gnu.org; Wed, 03 Oct 2007 02:22:36 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Icxdk-0004Zo-UF for emacs-pretest-bug@gnu.org; Wed, 03 Oct 2007 02:23:27 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Icxdk-0004ZY-Hf for emacs-pretest-bug@gnu.org; Wed, 03 Oct 2007 02:23:24 -0400 Original-Received: (qmail invoked by alias); 03 Oct 2007 06:23:22 -0000 Original-Received: from N855P028.adsl.highway.telekom.at (EHLO [62.47.50.220]) [62.47.50.220] by mail.gmx.net (mp010) with SMTP; 03 Oct 2007 08:23:22 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19o5LRDgfhoRMJCR1UNT7KlTwlsxWtSt+VddcaqlI xstCBSDksmvpVp User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <18178.62745.602748.437486@gargle.gargle.HOWL> X-Y-GMX-Trusted: 0 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:80163 gmane.emacs.pretest.bugs:20058 Archived-At: > 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?