Angus Leeming <[EMAIL PROTECTED]> writes:

> On Thursday 01 August 2002 1:26 pm, Andre Poenitz wrote:
> > I don't know emacs. What's C-x 2 and C-x 5 doing?
> 
> C-x 2. Split the current window horizontally into two separate work
> areas.

It appears you have become alien to either Emacs or the horizon.  Ok,
Since I can provide this info very easily:

C-x 2 runs the command split-window-vertically
   which is an interactive compiled Lisp function in `window'.
It is bound to C-x 2, <menu-bar> <files> <split-window>.
(split-window-vertically &optional ARG)

Split current window into two windows, one above the other.
The uppermost window gets ARG lines and the other gets the rest.
Negative arg means select the size of the lowermost window instead.
With no argument, split equally or close to it.
Both windows display the same buffer now current.

If the variable `split-window-keep-point' is non-nil, both new windows
will get the same value of point as the current window.  This is often
more convenient for editing.

Otherwise, we chose window starts so as to minimize the amount of
redisplay; this is convenient on slow terminals.  The new selected
window is the one that the current value of point appears in.  The
value of point can change if the text around point is hidden by the
new mode line.

[back]

> C-x 5. Create a new window.

(Emacs calls separate X windows "frames"):

Global Bindings Starting With C-x 5:
key             binding
---             -------

C-x 5 o         other-frame
C-x 5 0         delete-frame
C-x 5 1         delete-other-frames
C-x 5 2         make-frame-command
C-x 5 .         find-tag-other-frame
C-x 5 d         dired-other-frame
C-x 5 r         find-file-read-only-other-frame
C-x 5 C-f       find-file-other-frame
C-x 5 f         find-file-other-frame
C-x 5 b         switch-to-buffer-other-frame
C-x 5 m         compose-mail-other-frame

[back]

C-x 5 2 runs the command make-frame-command
   which is an interactive compiled Lisp function in `frame'.
It is bound to C-x 5 2, <menu-bar> <files> <make-frame>.
(make-frame-command)

Make a new frame, and select it if the terminal displays only one frame.

[back]

> > [I don't even use multiple buffers in vim.]
> 
> No, I find it easier to use several consoles with vi too. But then again I'm 
> a vidiot.

What's your coefficient of viscosity?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: [EMAIL PROTECTED]


Reply via email to