all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-pretest-bug@gnu.org, raman@users.sf.net
Subject: Re: 23.0.50; Cannot run calculator on TTY
Date: Fri, 12 Oct 2007 20:18:58 -0400	[thread overview]
Message-ID: <E1IgUiY-0008AF-7R@fencepost.gnu.org> (raw)
In-Reply-To: <470F3D19.2080702@gmx.at> (message from martin rudalics on Fri, 12 Oct 2007 11:23:37 +0200)

    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.

Strictly speaking, that is correct.  Splitting the window shows the
same buffer in both of the resulting windows, so it is valid if that
buffer could be displayed in both.  However, in a larger sense, given
that the aim is to display another window there, this does not really
DTRT.

One idea that occurs to me is that `window-min-height' could count the
header line, if any.  That way, the fact that some buffers have header
lines and others don't will not cause any problems for vertical
splitting of windows.  In the most usual cases, at least -- but not
in all cases, perhaps.

Another solution would be to pass a two buffers to `split-window',
telling it to select those two buffers, and to calculate based
on the assumption that those buffers will be displayed.

  reply	other threads:[~2007-10-13  0:18 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
     [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 [this message]
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

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

  git send-email \
    --in-reply-to=E1IgUiY-0008AF-7R@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=raman@users.sf.net \
    --cc=rudalics@gmx.at \
    /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.