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: Fri, 12 Oct 2007 11:23:37 +0200 Message-ID: <470F3D19.2080702@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> <470334E7.9020102@gmx.at> <18179.41840.532732.664369@gargle.gargle.HOWL> <18187.33374.913139.901742@gargle.gargle.HOWL> <470BB544.8090708@gmx.at> <18189.42188.229008.184425@gargle.gargle.HOWL> <470DE3E8.3080401@gmx.at> <18190.9560.402525.665860@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 1192181097 24168 80.91.229.12 (12 Oct 2007 09:24:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Oct 2007 09:24:57 +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 Fri Oct 12 11:24:47 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 1IgGl8-0003s4-Ij for ged-emacs-devel@m.gmane.org; Fri, 12 Oct 2007 11:24:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgGl2-0001zL-CV for ged-emacs-devel@m.gmane.org; Fri, 12 Oct 2007 05:24:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IgGky-0001zA-Oh for emacs-devel@gnu.org; Fri, 12 Oct 2007 05:24:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IgGkw-0001y8-Lo for emacs-devel@gnu.org; Fri, 12 Oct 2007 05:24:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgGkw-0001y1-89 for emacs-devel@gnu.org; Fri, 12 Oct 2007 05:24:30 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IgGkv-0002nI-VA for emacs-devel@gnu.org; Fri, 12 Oct 2007 05:24:30 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IgGkv-0000qP-Mk for emacs-pretest-bug@gnu.org; Fri, 12 Oct 2007 05:24:29 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IgGks-0002ma-A6 for emacs-pretest-bug@gnu.org; Fri, 12 Oct 2007 05:24:29 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IgGkr-0002mE-RE for emacs-pretest-bug@gnu.org; Fri, 12 Oct 2007 05:24:26 -0400 Original-Received: (qmail invoked by alias); 12 Oct 2007 09:24:22 -0000 Original-Received: from N839P010.adsl.highway.telekom.at (EHLO [62.47.48.202]) [62.47.48.202] by mail.gmx.net (mp020) with SMTP; 12 Oct 2007 11:24:22 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/3EMkEXeL3ANTG3nsRsq2ezQnZsccGV0t+Q88NQa GoI2n2i4yY749p User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <18190.9560.402525.665860@gargle.gargle.HOWL> X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: 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:80705 gmane.emacs.pretest.bugs:20102 Archived-At: > In the emacspeak environment, I've set header-line-format to > either show just the buffer name or in case of things like my > alsaplayer interface, to show the title of the song that is > playing. > In info mode, I use the default behavior of using the header > line to show the node information. > > In general, the header-line is one of my more favorite features > in newer emacsuns since it lets me squirrel away summary > information in a > manner that gets automatically updated. Presently, `split-window' has a problem with mode/header lines and small heights (presumably also with scroll-bars and fringes). To check whether all windows are large enough after splitting it must make an assumption about the presence of these on the new window. It currently bases its judgments on the appearance of the window that shall be split. This is obviously wrong in your calculator example: You probably have a header line on the existing window and `split-window' assumes that you want a header line for the calculator window too. I'm not sure how `split-window' should handle this: (1) Use worst-case assumptions (all windows get scroll-bars, header lines, ...). (2) Use assumptions based on default values. (3) Provide explicit (optional) parameters for `split-window-vertically' and `split-window-horizontally'. (4) Have functions like `calculator' split the window first and adjust it afterwards (probably using `fit-window-to-buffer').