all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: split-window-{right, below} not interchangeable with split-window-sensibly
Date: Wed, 18 Jul 2012 12:16:32 +0200	[thread overview]
Message-ID: <87liihe5mn.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: jwvhat54gyp.fsf-monnier+emacs@gnu.org

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

>> Well, the SIZE arg is not too meaningful for split-window-sensibly as
>> it would mean either SIZE cols or lines...  So maybe just making its
>> WINDOW arg optional would suffice for almost all use-cases.
>
> That sounds reasonable, feel free to install such a patch,

Done so in revno 109136.

While testing I noticed that repeatedly doing

   M-: (split-window-sensibly) RET

in a fullscreen emacs on a widescreen display with just one window
didn't create something like

  +----------+-----------+
  |          |           |
  |          |           |
  +----------+           |
  |          |           |
  |          |           |
  +----------+-----------+

but it won't split any further after

  +----------+-----------+
  |          |           |
  |          |           |
  |          |           |
  |          |           |
  |          |           |
  +----------+-----------+

because `split-height-threshold' is set to 80 lines by default.  Is that
default reasonable and intended?  IMO, something like 20 lines would
make more sense...

With my quite big 24" display, a common font size, and no menu or tool
bars, I have at most 75 lines in a window in a maximized emacs.  This
large value basically forbids "sensible" vertical splits for almost
everybody.

Bye,
Tassilo



  reply	other threads:[~2012-07-18 10:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-18  6:52 split-window-{right, below} not interchangeable with split-window-sensibly Tassilo Horn
2012-07-18  8:22 ` Stefan Monnier
2012-07-18 10:16   ` Tassilo Horn [this message]
2012-07-18 10:44     ` Tassilo Horn
2012-07-23 10:52       ` Nix

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=87liihe5mn.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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.