File: windows.texi

package info (click to toggle)
oleo 1.6-16
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,640 kB
  • ctags: 3,139
  • sloc: ansic: 39,221; yacc: 1,737; sh: 362; makefile: 88
file content (122 lines) | stat: -rw-r--r-- 4,378 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
@node Multiple Windows, Options, Style, Top
@chapter Multiple Windows
@cindex Windows in Oleo
@cindex Multiple windows in Oleo

  Oleo can split a spreadsheet into two or many windows.  
 The windows showing the spreadsheet can
show different parts of it.
Only one spreadsheet can be displayed at a time.

@menu
* Windows::                Introduction to Oleo windows.
* Split Window::                New windows are made by splitting existing windows.
* Other Window::                Moving to another window or doing something to it.
* Change Window::               Deleting windows and changing their sizes.
@end menu

@node  Windows, Split Window, Multiple Windows, Multiple Windows
@section Concepts of Oleo Windows


@cindex Selected window
  At any time, one of the windows is the @dfn{selected window}.
  The cell cursor is located in this window.  Each other window has a
location of point as well, but since the terminal has only one cell
cursor there is no way to show where those locations are.

  Commands to move the cell cursor affect the cell cursor for the
selected Oleo window only.  They do not change the value of the cell
cursor in any other Oleo window.

  When there are multiple windows,  they can have different
regions, because they can have different values of the cell cursor.

@node Split Window, Other Window, Windows, Multiple Windows
@section Splitting Windows

@table @kbd
@item C-x 2
Split the selected window into two windows, one above the other
(@code{split-window-vertically}).
@cmindex split-window-vertically
@item C-x 5
Split the selected window into two windows positioned side by side
(@code{split-window-horizontally}).
@cmindex split-window-horizontally
@end table

@kindex C-x 2
@cmindex split-window-vertically
  The command @kbd{C-x 2} (@code{split-window-vertically}) breaks the
@cmindex split-window-vertically
selected window into two windows, one above the other.  Both windows start
out displaying the cell cursor in the same position.  By default
the two windows each get half the height of the window that was split.

@kindex C-x 5
@cmindex split-window-horizontally
  @kbd{C-x 5} (@code{split-window-horizontally}) breaks the selected
@cmindex split-window-horizontally
window into two side-by-side windows.  


@node Other Window, Change Window, Split Window, Multiple Windows
@section Using Other Windows

@table @kbd
@item C-x o
Select another window (@code{other-window}).  That is @kbd{o}, not zero.
@cmindex other-window
@item M-C-v
Scroll the next window (@code{scroll-other-window}).
@cmindex scroll-other-window
@end table

@kindex C-x o
@cmindex other-window
  To select a different window, use @kbd{C-x o} (@code{other-window}).
@cmindex other-window
That is an @kbd{o}, for `other', not a zero.  When there are more than two
windows, this command moves through all the windows in a cyclic order,
generally top to bottom and left to right.  After the rightmost and
bottommost window, it goes back to the one at the upper left corner.  
When the minibuffer is active, the minibuffer is the last window in the
cycle; you can switch from the minibuffer window to one of the other
windows, and later switch back and finish supplying the minibuffer argument
that is requested.  

@kindex C-M-v
@cmindex scroll-other-window
  The usual scrolling commands  apply to the selected
window only, but there is one command to scroll the next window.
@kbd{C-M-v} (@code{scroll-other-window}) scrolls the window that
@cmindex scroll-other-window
@kbd{C-x o} would select.  


@node Change Window,  , Other Window, Multiple Windows
@section Deleting and Rearranging Windows

@table @kbd
@item C-x 0
Get rid of the selected window (@code{delete-window}).  That is a zero.
@cmindex delete-window
@item C-x 1
Get rid of all windows except the selected one (@code{delete-other-windows}).
@cmindex delete-other-windows
@end table

@kindex C-x 0
@cmindex delete-window
  To delete a window, type @kbd{C-x 0} (@code{delete-window}).  (That is
a zero.)  The space occupied by the deleted window is given to an
adjacent window.  Once a window is deleted, its attributes are forgotten.

@kindex C-x 1
@cmindex delete-other-windows
  @kbd{C-x 1} (@code{delete-other-windows}) is more powerful than
@kbd{C-x 0}; it deletes all the windows except the selected one (and the
minibuffer); the selected window expands to use the whole frame.