opening two documents side-by-side
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
opening two documents side-by-side         


Author: Rich E
Date: Aug 16, 2008 12:51

Hi,

When I open documents with, for example:

emacs doc1.txt doc2.txt

they will open one above the other. Is there any way two tell emacs to open
them side by side instead?

Thanks,
Rich

Hi,When I open documents with, for example:emacs doc1.txt doc2.txtthey will open one above the other.  Is there any way two tell emacs to open them side by side instead?Thanks,
Rich
1 Comment
Re: opening two documents side-by-side         


Author: Giorgos Keramidas
Date: Aug 16, 2008 18:26

On Sat, 16 Aug 2008 12:51:03 -0700, "Rich E" gmail.com> wrote:
> Hi,
> When I open documents with, for example:
>
> emacs doc1.txt doc2.txt
>
> they will open one above the other. Is there any way two tell emacs
> to open them side by side instead?

Yes, there are a few ways:

* Use an Emacs window that is ``wide enough''. GNU Emacs 23.X decides
if a frame should be split vertically by comparing the current frame
width with `split-width-threshold'. When the current frame width
exceeds `split-width-threshold' Emacs splits the frame in two
vertical windows.

You can try this, for example, by running Emacs (in a terminal that
is at least 40 columns wide) like this:

%% emacs --eval '(setq-default split-width-threshold 40)' \
doc1.txt doc2.txt
Show full article (1.39Kb)
no comments