1@node Options, Printing and Plotting, Multiple Windows, Top
2@chapter Options
3@cindex Options
4
5@ifhtml
6<A NAME="HelpOptions">
7@end ifhtml
8
9Oleo has various options.  They can be set as a default in the
10@file{.oleorc} file, or using the command @code{M-x set-option}.
11To see all the current options, type @code{C-h o}.
12
13
14
15@menu
16* Appearance::                  Changing Oleo's appearance
17* Window Options::              Options for the active window
18* Other Options::               Other Options
19@end menu
20
21@node Appearance, Window Options, Options, Options
22@section Changing Oleo's appearance
23
24@table @code
25@item a0
26@vindex  a0
27In a0 mode, Oleo uses @{letters@}@{digits@} style cell-references,
28like some popular spreadsheets.
29
30@item noa0
31@vindex  noa0
32In noa0 mode, Oleo uses R@{digits@}C@{digits@} style references,
33like some other popular spreadsheets.  (@code{Default})
34
35@item status
36@vindex  status (number)
37This option controls which line on the screen is used for
38displaying the status of the current cell.  The number may be
39positive, (counting down from the top), negative (counting up
40from the bottom, or zero (disabling the status line).
41(@code{Default=2})
42
43@item input
44@vindex  input (number)
45This option controls which line on the screen is used for
46reading lines of text.  The number may be positive (counting
47down from the top), or negative (counting up from the
48bottom), but not zero.
49(@code{Default=1})
50
51@item edges
52@vindex  edges
53In edges mode Oleo displays row and column numbers at the top
54and left edges of the window. (@code{Default})
55
56@item noedges
57@vindex  noedges
58Row and column numbers are not displayed.
59
60@item standout
61@vindex  standout
62In standout mode, the edges  are drawn in
63standout mode (reverse video, usually). (@code{Default})
64
65@item nostandout
66@vindex  nostandout
67        Edges are not drawn in standout mode.
68
69@item list (ch)
70@vindex  list
71       		Use the character CH to separate the cell values.
72@footnote{example? it it @samp{M-x set-option list ","}?}
73
74@end table
75
76@node Window Options, Other Options, Appearance, Options
77@section Options for the active window
78
79The following options affect the currently active window:
80
81@table @code
82
83@item page
84@vindex  page
85In page mode, whenever a particular cell is
86displayed in the window, it will always be in the same
87location on the screen.  In page mode, the recenter command
88acts just like the redraw-screen command.
89@item nopage
90@vindex  nopage
91Turns off page mode.
92
93@item pageh
94@vindex  pageh
95Turns on  page mode only in the horizontal direction.
96
97@item nopageh
98@vindex  nopageh
99Turns off  page mode only in the horizontal direction.
100
101@item pagev
102@vindex  pagev
103Turns on  page mode only in the vertical direction.
104
105@item nopageh
106@vindex  nopageh
107 Turns off  page mode only in the vertical direction.
108
109@item link
110@vindex  link (wnum)
111This option 'links' the current window with the one
112specified.  A window may only be linked to one other window
113at a time.  When a window is linked to another one, whenever
114the cell cursor in the first window is moved, the cursor in
115the other window moves as well.  (unless the cursor in other
116window is locked from moving in that direction.)
117
118@item nolink
119@vindex  nolink
120@itemx unlink
121@vindex unlink
122This removes the link (if any) on the current window.
123
124@item lockh
125@vindex  lockh
126Prevent the cell cursor in the current window
127from moving in the horizontal direction, but only
128when the cell cursor is moved in a window that this one is
129linked.
130
131@item nolockh
132@vindex  nolockh
133        Disable horizontal locking
134
135@item lockv
136@vindex  lockv
137Prevent the cell cursor in the current window
138from moving in the vertical direction, but only
139when the cell cursor is moved in a window that this one is
140linked.
141
142@item nolockv
143@vindex  nolockv
144        Disable vertical locking
145
146@end table
147
148@node Other Options,  , Window Options, Options
149@section Other Options
150
151@table @code
152
153@item auto
154@vindex  auto
155In auto mode, cells whose values may have changed are
156automatically recalculated.  (@code{Default})
157
158
159@item noauto
160@vindex  noauto
161In noauto mode, cells are only
162recalculated when the recalculate command is used.
163
164@item bkgrnd
165@vindex  bkgrnd
166@itemx background
167@vindex background
168In background mode, automatic recalculation is done while
169the spreadsheet waits for you to type a key (and stops while
170the key is being handled).  (@code{Default})
171
172
173@item nobkgrnd
174@vindex  nobkgrnd
175@itemx nobackground
176@vindex nobackground
177In nobackground mode, Oleo
178performs all its recalculation before listening for
179keystrokes.
180
181@item backup
182@vindex  backup
183In backup mode, whenever the spreadsheet writes out a file,
184if the file already exists, a backup copy is made (like
185emacs). (@code{Default})
186
187@item nobackup
188@vindex  nobackup
189        A backup copy is not made.
190
191@item bkup_copy
192@vindex  bkup_copy
193In bkup_copy mode, backup files are made by copying the original file,
194instead of renaming it.
195
196@item nobkup_copy
197@vindex  nobkup_copy
198In nobackup mode bkup_copy is ignored. (@code{Default})
199
200@item ticks
201@vindex  ticks (number)
202This value controls how often should rnd(), cell(), my(),
203curcell(), etc cells get updated.  This value is in
204seconds. @footnote{is it?} The initial value is 10, meaning once every
20510 seconds.
206
207
208@item print
209@vindex  print (number)
210This is the width of the page for the print command.  The
211initial value is the width of the screen.
212
213@item file
214@vindex  file (format-name)
215@footnote{I don't understand this}
216If -DUSE_DLD was defined, format-name may be any .o file
217that contains definitions for the appropriate functions, or
218'panic', which is the only file format that Oleo will have
219compiled into it.  If -DUSE_DLD was not defined, format-name
220must be one of sylk, sc, panic, or list, and Oleo will have
221to be re-compiled before any other formats may be used.
222
223@item load (file-name)
224@vindex  load (file-name)
225@footnote{nor do I understand this one}This option is only avaliable if
226Oleo was compiled with
227-DUSE_DLD.  This option loads in a .o file of spreadsheet
228functions, keyboard commands, and/or keymaps.  Spreadsheet
229functions and keyboard commands must be loaded in before they
230can be used in expressions or bound to keys.
231
232@end table
233
234