From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: help-gnu-emacs@gnu.org
Subject: Re: How to make "C-x 4" command work better for widescreen monitor
Date: Wed, 29 Oct 2008 17:49:08 +0200 [thread overview]
Message-ID: <87ljw7l7uz.fsf@kobe.laptop> (raw)
In-Reply-To: 8a26fb47-c638-4d77-a493-61826a959d8e@b31g2000prb.googlegroups.com
On Tue, 28 Oct 2008 11:59:02 -0700 (PDT), Pony <lingyu.ma.fu@googlemail.com> wrote:
> When we run the command "C-x 4 f", which will open a new file in a new
> buffer under the current one, the Emacs will cut the whole window into
> two vertical ones, each takes 50% space of the screen.
>
> However at present more and more people begin to use widescreen tft
> monitor for programming, in my opinion it will be much better that,
> after we run "C-x 4" commands the Emacs cut the whole screen into two
> HORIZONTALL screens.
>
> Of course, people could open a new file first with "C-x 4 f" command,
> and close it, and run "C-x 3" command to cut the whole screen
> horizontally and show it in the second window. But it takes some
> operations, which will be happened frequently when programming.
>
> Is there a fast and direct way to make all the "C-x 4" commands
> default cut the window HORIZONTALLY, or not? Especially when you're
> compiling, make the compiling result show in the window right to the
> code window!!
Emacs 23.X does this automatically if the current display width is
larger than a customizable threshold:
,---[ C-h v split-width-threshold RET ]--------------------------------
| split-width-threshold is a variable defined in `window.el'.
| Its value is 160
|
| Documentation:
| Minimum width of window to be split horizontally.
| If the value is a number, `display-buffer' can split a window
| only if it has at least as many columns. If the value is nil,
| `display-buffer' cannot split a window horizontally.
|
| You can customize this variable.
|
| This variable was introduced, or its default value was changed, in
| version 23.1 of Emacs.
`-----------------------------------------------------------------------
Unfortunately, I don't have an Emacs 22.X installation handy today, so
it may be worth checking if your version of Emacs includes this option.
next prev parent reply other threads:[~2008-10-29 15:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-28 18:59 How to make "C-x 4" command work better for widescreen monitor Pony
2008-10-28 22:37 ` Xah
2008-10-29 7:28 ` Aliaksey Kandratsenka
2008-10-29 15:49 ` Giorgos Keramidas [this message]
2008-10-29 17:32 ` Rupert Swarbrick
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=87ljw7l7uz.fsf@kobe.laptop \
--to=keramida@ceid.upatras.gr \
--cc=help-gnu-emacs@gnu.org \
/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.