Options
*******

Oleo has various options.  They can be set as a default in the .oleorc file, or using the command M-x set-option. To see all the current options, type C-h o.

Changing Oleo's appearance
==========================

a0
     In a0 mode, Oleo uses {letters}{digits} style cell-references, like some popular spreadsheets.

noa0
     In noa0 mode, Oleo uses R{digits}C{digits} style references, like some other popular spreadsheets.  (Default)

status
     This option controls which line on the screen is used for displaying the status of the current cell.  The number may be positive, (counting down from the top), negative (counting up from the bottom, or zero (disabling the status line). (Default=2)

input
     This option controls which line on the screen is used for reading lines of text.  The number may be positive (counting down from the top), or negative (counting up from the bottom), but not zero. (Default=1)

edges
     In edges mode Oleo displays row and column numbers at the top and left edges of the window. (Default)

noedges
     Row and column numbers are not displayed.

standout
     In standout mode, the edges  are drawn in standout mode (reverse video, usually). (Default)

nostandout
     Edges are not drawn in standout mode.

list (ch)
     Use the character CH to separate the cell values. (example? it it M-x set-option list ","?)

Options for the active window
=============================

The following options affect the currently active window:

page
     In page mode, whenever a particular cell is displayed in the window, it will always be in the same location on the screen.  In page mode, the recenter command acts just like the redraw-screen command.

nopage
     Turns off page mode.

pageh
     Turns on  page mode only in the horizontal direction.

nopageh
     Turns off  page mode only in the horizontal direction.

pagev
     Turns on  page mode only in the vertical direction.

nopageh
     Turns off  page mode only in the vertical direction.

link
     This option 'links' the current window with the one specified.  A window may only be linked to one other window at a time.  When a window is linked to another one, whenever the cell cursor in the first window is moved, the cursor in the other window moves as well.  (unless the cursor in other window is locked from moving in that direction.)

nolink
unlink
     This removes the link (if any) on the current window.

lockh
     Prevent the cell cursor in the current window from moving in the horizontal direction, but only when the cell cursor is moved in a window that this one is linked.

nolockh
     Disable horizontal locking

lockv
     Prevent the cell cursor in the current window from moving in the vertical direction, but only when the cell cursor is moved in a window that this one is linked.

nolockv
     Disable vertical locking

Other Options
=============

auto
     In auto mode, cells whose values may have changed are automatically recalculated.  (Default)

noauto
     In noauto mode, cells are only recalculated when the recalculate command is used.

bkgrnd
background
     In background mode, automatic recalculation is done while the spreadsheet waits for you to type a key (and stops while the key is being handled).  (Default)

nobkgrnd
nobackground
     In nobackground mode, Oleo performs all its recalculation before listening for keystrokes.

backup
     In backup mode, whenever the spreadsheet writes out a file, if the file already exists, a backup copy is made (like emacs). (Default)

nobackup
     A backup copy is not made.

bkup_copy
     In bkup_copy mode, backup files are made by copying the original file, instead of renaming it.

nobkup_copy
     In nobackup mode bkup_copy is ignored. (Default)

ticks
     This value controls how often should rnd(), cell(), my(), curcell(), etc cells get updated.  This value is in seconds.  (is it?) The initial value is 10, meaning once every 10 seconds.

print
     This is the width of the page for the print command.  The initial value is the width of the screen.

file
      (I don't understand this) If -DUSE_DLD was defined, format-name may be any .o file that contains definitions for the appropriate functions, or 'panic', which is the only file format that Oleo will have compiled into it.  If -DUSE_DLD was not defined, format-name must be one of sylk, sc, panic, or list, and Oleo will have to be re-compiled before any other formats may be used.

load (file-name)
      (nor do I understand this one)This option is only avaliable if Oleo was compiled with -DUSE_DLD.  This option loads in a .o file of spreadsheet functions, keyboard commands, and/or keymaps.  Spreadsheet functions and keyboard commands must be loaded in before they can be used in expressions or bound to keys.