unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: bug-gnu-emacs@gnu.org, walter_gillett@hotmail.com
Subject: Re: want user option for pop-to-buffer to split window horizontally not vertically
Date: Fri, 16 Dec 2005 09:48:07 +0200	[thread overview]
Message-ID: <87hd99jybc.fsf@jurta.org> (raw)
In-Reply-To: <E1En4lZ-0007Fv-8p@fencepost.gnu.org> (Richard M. Stallman's message of "Thu, 15 Dec 2005 20:52:13 -0500")

>     So now I see that not including it to the next release would be a big
>     mistake.  More and more people have wide-screen monitors, and hardwiring
>     the current default is very annoying for them.
>
> I really don't want to add new features.  Sometimes I agree to
> redesign new features so that don't get their first release in
> suboptimal form.  And sometimes I agree to fix a bug in a way that
> includes a new Lisp-level feature, because there's no other way.

Many users who have widescreen monitors or use small fonts prefer resizing
Emacs frames to more than 160 columns wide.  Usually text in Emacs buffers
is no longer than 80 columns, and not using remaining horizontal space is
suboptimal in this case.  So users are forced to repeatedly type `C-x 3'
before invoking every command that splits a window into two windows.
This is very annoying.  The worst fact is that it is impossible now to
change this default window splitting behavior at the Lisp level, because
there are two places in window.c where the `horflag' argument of
`split-window' is hardcoded to nil:

window.c:3583:	window = Fsplit_window (window, Qnil, Qnil);
window.c:3597:	    window = Fsplit_window (window, Qnil, Qnil);

My patch replaces nil in these two places with the value of a new
user option which is nil by default.

-- 
Juri Linkov
http://www.jurta.org/emacs/

  reply	other threads:[~2005-12-16  7:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-14 20:46 want user option for pop-to-buffer to split window horizontally not vertically Walter Gillett
2005-12-15  9:19 ` Juri Linkov
2005-12-15 16:49   ` want user option for pop-to-buffer to split window horizontally not vertical Walter Gillett
2005-12-15 22:01     ` Sebastian Tennant
2005-12-16 18:02       ` Walter Gillett
2005-12-16  1:52   ` want user option for pop-to-buffer to split window horizontally not vertically Richard M. Stallman
2005-12-16  7:48     ` Juri Linkov [this message]
2005-12-16 16:52       ` Johan Bockgård
2005-12-17 10:50         ` Juri Linkov
2005-12-17  1:03       ` Richard M. Stallman
2005-12-17 10:45         ` Juri Linkov
2005-12-15 17:08 ` Richard M. Stallman
2005-12-15 17:46   ` want user option for pop-to-buffer to split window horizontally notverticall Walter Gillett
2005-12-16  5:09     ` Richard M. Stallman

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=87hd99jybc.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=walter_gillett@hotmail.com \
    /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).