annotate doc/misc/ses.texi @ 87313:119f37472d94

(defcustom-c-stylevar): Remove debugging message.
author Glenn Morris <rgm@gnu.org>
date Tue, 18 Dec 2007 02:31:15 +0000
parents 54604755057d
children 5d58981e6690
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84314
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 \input texinfo @c -*-texinfo-*-
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2 @c %**start of header
84329
3d431f1997d8 (setfilename): Go up one more level to ../../info.
Glenn Morris <rgm@gnu.org>
parents: 84314
diff changeset
3 @setfilename ../../info/ses
84314
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
4 @settitle SES: Simple Emacs Spreadsheet
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5 @setchapternewpage off
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6 @syncodeindex fn cp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7 @syncodeindex vr cp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
8 @syncodeindex ky cp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
9 @c %**end of header
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
10
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
11 @copying
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
12 This file documents SES: the Simple Emacs Spreadsheet.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
13
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
14 Copyright @copyright{} 2002, 2003, 2004, 2005, 2006, 2007
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
15 Free Software Foundation, Inc.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
17 @quotation
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
18 Permission is granted to copy, distribute and/or modify this document
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
19 under the terms of the GNU Free Documentation License, Version 1.2 or
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
20 any later version published by the Free Software Foundation; with no
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21 Invariant Sections, with the Front-Cover texts being ``A GNU
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
22 Manual,'' and with the Back-Cover Texts as in (a) below. A copy of the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
23 license is included in the section entitled ``GNU Free Documentation
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
24 License'' in the Emacs manual.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
25
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
26 (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
27 this GNU Manual, like GNU software. Copies published by the Free
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
28 Software Foundation raise funds for GNU development.''
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
29
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
30 This document is part of a collection distributed under the GNU Free
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
31 Documentation License. If you want to distribute this document
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32 separately from the collection, you can do so by adding a copy of the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33 license to the document, as described in section 6 of the license.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34 @end quotation
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 @end copying
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
36
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
37 @dircategory Emacs
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
38 @direntry
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
39 * SES: (ses). Simple Emacs Spreadsheet
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40 @end direntry
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42 @finalout
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44 @titlepage
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45 @title SES
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46 @subtitle Simple Emacs Spreadsheet
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 @author Jonathan A. Yavner
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 @author @email{jyavner@@member.fsf.org}
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50 @page
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 @vskip 0pt plus 1filll
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52 @insertcopying
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53 @end titlepage
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55 @contents
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 @c ===================================================================
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59 @ifnottex
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 @node Top, Sales Pitch, (dir), (dir)
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 @comment node-name, next, previous, up
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62 @top SES: Simple Emacs Spreadsheet
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 @display
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65 SES is a major mode for GNU Emacs to edit spreadsheet files, which
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 contain a rectangular grid of cells. The cells' values are specified
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 by formulas that can refer to the values of other cells.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 @end display
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 @end ifnottex
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 To report bugs, send email to @email{jyavner@@member.fsf.org}.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 @menu
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 * Sales Pitch:: Why use SES?
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 * The Basics:: Basic spreadsheet commands
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 * Advanced Features:: Want to know more?
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 * For Gurus:: Want to know @emph{even more}?
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78 * Index:: Concept, Function and Variable Index
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79 * Acknowledgements:: Acknowledgements
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 * GNU Free Documentation License:: The license for this documentation.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81 @end menu
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
83 @c ===================================================================
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
84
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
85 @node Sales Pitch, The Basics, Top, Top
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
86 @comment node-name, next, previous, up
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
87 @chapter Sales Pitch
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88 @cindex features
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
90 @itemize @bullet
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
91 @item Create and edit simple spreadsheets with a minimum of fuss.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
92 @item Full undo/redo/autosave.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
93 @item Immune to viruses in spreadsheet files.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94 @item Cell formulas are straight Emacs Lisp.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
95 @item Printer functions for control of cell appearance.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
96 @item Intuitive keystroke commands: C-o = insert row, M-o = insert column, etc.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
97 @item ``Spillover'' of lengthy cell values into following blank cells.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
98 @item Header line shows column letters or a selected row.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
99 @item Completing-read for entering symbols as cell values.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
100 @item Cut, copy, and paste can transfer formulas and printer functions.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101 @item Import and export of tab-separated values or tab-separated formulas.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
102 @item Plaintext, easily-hacked file format.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
103 @end itemize
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
104
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
105 @c ===================================================================
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
106
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
107 @node The Basics, Advanced Features, Sales Pitch, Top
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
108 @comment node-name, next, previous, up
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
109 @chapter The Basics
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
110 @cindex basic commands
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
111 @findex ses-jump
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
112 @findex ses-mark-row
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
113 @findex ses-mark-column
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
114 @findex ses-mark-whole-buffer
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
115 @findex set-mark-command
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
116 @findex keyboard-quit
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
117
85646
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
118 To create a new spreadsheet, visit a nonexistent file whose name ends
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
119 with ".ses". For example, @kbd{C-x C-f test.ses RET}.
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
120
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
121
84314
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
122 A @dfn{cell identifier} is a symbol with a column letter and a row
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
123 number. Cell B7 is the 2nd column of the 7th row. For very wide
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
124 spreadsheets, there are two column letters: cell AB7 is the 28th
85646
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
125 column of the 7th row. Super wide spreadsheets get AAA1, etc.
84314
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
126
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
127 @table @kbd
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
128 @item j
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
129 Moves point to cell, specified by identifier (@code{ses-jump}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
130 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
131
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
132 Point is always at the left edge of a cell, or at the empty endline.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
133 When mark is inactive, the current cell is underlined. When mark is
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
134 active, the range is the highlighted rectangle of cells (SES always
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
135 uses transient mark mode). Drag the mouse from A1 to A3 to create the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
136 range A1-A2. Many SES commands operate only on single cells, not
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
137 ranges.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
138
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
139 @table @kbd
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
140 @item C-SPC
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
141 @itemx C-@@
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
142 Set mark at point (@code{set-mark-command}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
143
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
144 @item C-g
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
145 Turn off the mark (@code{keyboard-quit}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
146
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
147 @item M-h
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
148 Highlight current row (@code{ses-mark-row}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
149
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
150 @item S-M-h
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
151 Highlight current column (@code{ses-mark-column}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
152
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
153 @item C-x h
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
154 Highlight all cells (@code{mark-whole-buffer}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
155 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
156
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
157 @menu
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
158 * Formulas::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
159 * Resizing::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
160 * Printer functions::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
161 * Clearing cells::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
162 * Copy/cut/paste::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
163 * Customizing SES::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
164 @end menu
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
165
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
166 @node Formulas, Resizing, The Basics, The Basics
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
167 @section Cell formulas
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
168 @cindex formulas
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
169 @cindex formulas, entering
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
170 @findex ses-read-cell
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
171 @findex ses-read-symbol
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
172 @findex ses-edit-cell
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
173 @findex ses-recalculate-cell
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
174 @findex ses-recalculate-all
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
175
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
176 To enter a number into the current cell, just start typing:
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
177
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
178 @table @kbd
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
179 @item 0..9
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
180 Self-insert a digit (@code{ses-read-cell}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
181
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
182 @item -
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
183 Self-insert a negative number (@code{ses-read-cell}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
184
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
185 @item .
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
186 Self-insert a fractional number (@code{ses-read-cell}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
187
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
188 @item "
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
189 Self-insert a quoted string. The ending double-quote
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
190 is inserted for you (@code{ses-read-cell}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
191
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
192 @item (
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
193 Self-insert an expression. The right-parenthesis is inserted for you
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
194 (@code{ses-read-cell}). To access another cell's value, just use its
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
195 identifier in your expression. Whenever the other cell is changed,
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
196 this cell's formula will be reevaluated. While typing in the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
197 expression, you can use @kbd{M-@key{TAB}} to complete symbol names.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
198
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
199 @item ' @r{(apostrophe)}
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
200 Enter a symbol (ses-read-symbol). SES remembers all symbols that have
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
201 been used as formulas, so you can type just the beginning of a symbol
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
202 and use @kbd{@key{SPC}}, @kbd{@key{TAB}}, and @kbd{?} to complete it.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
203 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
204
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
205 To enter something else (e.g., a vector), begin with a digit, then
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
206 erase the digit and type whatever you want.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
207
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
208 @table @kbd
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
209 @item RET
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
210 Edit the existing formula in the current cell (@code{ses-edit-cell}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
211
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
212 @item C-c C-c
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
213 Force recalculation of the current cell or range (@code{ses-recalculate-cell}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
214
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
215 @item C-c C-l
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
216 Recalculate the entire spreadsheet (@code{ses-recalculate-all}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
217 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
218
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
219 @node Resizing, Printer functions, Formulas, The Basics
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
220 @section Resizing the spreadsheet
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
221 @cindex resizing spreadsheets
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
222 @findex ses-insert-row
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
223 @findex ses-insert-column
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
224 @findex ses-delete-row
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
225 @findex ses-delete-column
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
226 @findex ses-set-column-width
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
227 @findex ses-forward-or-insert
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
228 @findex ses-append-row-jump-first-column
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
229
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
230
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
231 Basic commands:
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
232
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
233 @table @kbd
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
234 @item C-o
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
235 (@code{ses-insert-row})
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
236
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
237 @item M-o
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
238 (@code{ses-insert-column})
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
239
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
240 @item C-k
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
241 (@code{ses-delete-row})
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
242
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
243 @item M-k
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
244 (@code{ses-delete-column})
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
245
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
246 @item w
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
247 (@code{ses-set-column-width})
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
248
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
249 @item TAB
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
250 Moves point to the next rightward cell, or inserts a new column if
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
251 already at last cell on line, or inserts a new row if at endline
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
252 (@code{ses-forward-or-insert}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
253
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
254 @item C-j
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
255 Linefeed inserts below the current row and moves to column A
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
256 (@code{ses-append-row-jump-first-column}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
257 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
258
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
259 Resizing the spreadsheet (unless you're just changing a column width)
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
260 relocates all the cell-references in formulas so they still refer to
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
261 the same cells. If a formula mentioned B1 and you insert a new first
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
262 row, the formula will now mention B2.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
263
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
264 If you delete a cell that a formula refers to, the cell-symbol is
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
265 deleted from the formula, so @code{(+ A1 B1 C1)} after deleting the third
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
266 column becomes @code{(+ A1 B1)}. In case this is not what you wanted:
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
267
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
268 @table @kbd
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
269 @item C-_
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
270 @itemx C-x u
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
271 Undo previous action (@code{(undo)}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
272 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
273
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
274
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
275 @node Printer functions, Clearing cells, Resizing, The Basics
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
276 @section Printer functions
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
277 @cindex printer functions
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
278 @findex ses-read-cell-printer
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
279 @findex ses-read-column-printer
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
280 @findex ses-read-default-printer
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
281 @findex ses-center
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
282 @findex ses-center-span
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
283 @findex ses-dashfill
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
284 @findex ses-dashfill-span
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
285 @findex ses-tildefill-span
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
286
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
287
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
288 Printer functions convert binary cell values into the print forms that
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
289 Emacs will display on the screen.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
290
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
291 A printer can be a format string, like @samp{"$%.2f"}. The result
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
292 string is right-aligned within the print cell. To get left-alignment,
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
293 use parentheses: @samp{("$%.2f")}. A printer can also be a
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
294 one-argument function (a symbol or a lambda), whose result is a string
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
295 (right-aligned) or list of one string (left-aligned). While typing in
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
296 a lambda, you can use @kbd{M-@key{TAB}} to complete the names of symbols.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
297
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
298 Each cell has a printer. If @code{nil}, the column-printer for the cell's
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
299 column is used. If that is also @code{nil}, the default-printer for the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
300 spreadsheet is used.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
301
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
302 @table @kbd
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
303 @item p
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
304 Enter a printer for current cell or range (@code{ses-read-cell-printer}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
305
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
306 @item M-p
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
307 Enter a printer for the current column (@code{ses-read-column-printer}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
308
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
309 @item C-c C-p
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
310 Enter the default printer for the spreadsheet
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
311 (@code{ses-read-default-printer}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
312 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
313
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
314 The @code{ses-read-@r{XXX}-printer} commands have their own minibuffer
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
315 history, which is preloaded with the set of all printers used in this
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
316 spreadsheet, plus the standard printers.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
317
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
318 The standard printers are suitable only for cells, not columns or
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
319 default, because they format the value using the column-printer (or
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
320 default-printer if @code{nil}) and then center the result:
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
321
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
322 @table @code
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
323 @item ses-center
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
324 Just centering.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
325
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
326 @item ses-center-span
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
327 Centering with spill-over to following blank cells.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
328
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
329 @item ses-dashfill
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
330 Centering using dashes (-) instead of spaces.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
331
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
332 @item ses-dashfill-span
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
333 Centering with dashes and spill-over.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
334
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
335 @item ses-tildefill-span
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
336 Centering with tildes (~) and spill-over.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
337 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
338
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
339
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
340 @node Clearing cells, Copy/cut/paste, Printer functions, The Basics
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
341 @section Clearing cells
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
342 @cindex clearing commands
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
343 @findex ses-clear-cell-backward
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
344 @findex ses-clear-cell-forward
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
345
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
346 These commands set both formula and printer to @code{nil}:
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
347
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
348 @table @kbd
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
349 @item DEL
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
350 Clear cell and move left (@code{ses-clear-cell-backward}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
351
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
352 @item C-d
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
353 Clear cell and move right (@code{ses-clear-cell-forward}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
354 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
355
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
356
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
357 @node Copy/cut/paste, Customizing SES, Clearing cells, The Basics
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
358 @section Copy, cut, and paste
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
359 @cindex copy
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
360 @cindex cut
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
361 @cindex paste
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
362 @findex kill-ring-save
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
363 @findex mouse-set-region
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
364 @findex mouse-set-secondary
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
365 @findex ses-kill-override
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
366 @findex yank
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
367 @findex clipboard-yank
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
368 @findex mouse-yank-at-click
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
369 @findex mouse-yank-at-secondary
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
370 @findex ses-yank-pop
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
371
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
372 The copy functions work on rectangular regions of cells. You can paste the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
373 copies into non-SES buffers to export the print text.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
374
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
375 @table @kbd
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
376 @item M-w
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
377 @itemx [copy]
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
378 @itemx [C-insert]
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
379 Copy the highlighted cells to kill ring and primary clipboard
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
380 (@code{kill-ring-save}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
381
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
382 @item [drag-mouse-1]
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
383 Mark a region and copy it to kill ring and primary clipboard
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
384 (@code{mouse-set-region}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
385
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
386 @item [M-drag-mouse-1]
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
387 Mark a region and copy it to kill ring and secondary clipboard
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
388 (@code{mouse-set-secondary}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
389
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
390 @item C-w
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
391 @itemx [cut]
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
392 @itemx [S-delete]
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
393 The cut functions do not actually delete rows or columns---they copy
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
394 and then clear (@code{ses-kill-override}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
395
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
396 @item C-y
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
397 @itemx [S-insert]
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
398 Paste from kill ring (@code{yank}). The paste functions behave
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
399 differently depending on the format of the text being inserted:
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
400 @itemize @bullet
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
401 @item
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
402 When pasting cells that were cut from a SES buffer, the print text is
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
403 ignored and only the attached formula and printer are inserted; cell
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
404 references in the formula are relocated unless you use @kbd{C-u}.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
405 @item
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
406 The pasted text overwrites a rectangle of cells whose top left corner
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
407 is the current cell. If part of the rectangle is beyond the edges of
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
408 the spreadsheet, you must confirm the increase in spreadsheet size.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
409 @item
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
410 Non-SES text is usually inserted as a replacement formula for the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
411 current cell. If the formula would be a symbol, it's treated as a
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
412 string unless you use @kbd{C-u}. Pasted formulas with syntax errors
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
413 are always treated as strings.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
414 @end itemize
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
415
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
416 @item [paste]
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
417 Paste from primary clipboard or kill ring (@code{clipboard-yank}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
418
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
419 @item [mouse-2]
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
420 Set point and paste from primary clipboard (@code{mouse-yank-at-click}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
421
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
422 @item [M-mouse-2]
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
423 Set point and paste from secondary clipboard (@code{mouse-yank-secondary}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
424
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
425 @item M-y
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
426 Immediately after a paste, you can replace the text with a preceding
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
427 element from the kill ring (@code{ses-yank-pop}). Unlike the standard
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
428 Emacs yank-pop, the SES version uses @code{undo} to delete the old
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
429 yank. This doesn't make any difference?
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
430 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
431
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
432 @node Customizing SES, , Copy/cut/paste, The Basics
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
433 @section Customizing SES
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
434 @cindex customizing
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
435 @vindex enable-local-eval
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
436 @vindex ses-mode-hook
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
437 @vindex safe-functions
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
438 @vindex enable-local-eval
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
439
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
440
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
441 By default, a newly-created spreadsheet has 1 row and 1 column. The
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
442 column width is 7 and the default printer is @samp{"%.7g"}. Each of these
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
443 can be customized. Look in group ``ses''.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
444
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
445 After entering a cell value, point normally moves right to the next
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
446 cell. You can customize @code{ses-after-entry-functions} to move left or
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
447 up or down. For diagonal movement, select two functions from the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
448 list.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
449
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
450 @code{ses-mode-hook} is a normal mode hook (list of functions to
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
451 execute when starting SES mode for a buffer).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
452
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
453 The variable @code{safe-functions} is a list of possibly-unsafe
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
454 functions to be treated as safe when analysing formulas and printers.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
455 @xref{Virus protection}. Before customizing @code{safe-functions},
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
456 think about how much you trust the person who's suggesting this
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
457 change. The value @code{t} turns off all anti-virus protection. A
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
458 list-of-functions value might enable a ``gee whiz'' spreadsheet, but it
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
459 also creates trapdoors in your anti-virus armor. In order for virus
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
460 protection to work, you must always press @kbd{n} when presented with
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
461 a virus warning, unless you understand what the questionable code is
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
462 trying to do. Do not listen to those who tell you to customize
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
463 @code{enable-local-eval}---this variable is for people who don't wear
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
464 safety belts!
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
465
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
466
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
467 @c ===================================================================
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
468
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
469 @node Advanced Features, For Gurus, The Basics, Top
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
470 @chapter Advanced Features
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
471 @cindex advanced features
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
472 @findex ses-read-header-row
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
473
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
474
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
475 @table @kbd
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
476 @item C-c M-C-h
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
477 (@code{ses-set-header-row}). The header line at the top of the SES
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
478 window normally shows the column letter for each column. You can set
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
479 it to show a copy of some row, such as a row of column titles, so that
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
480 row will always be visible. Default is to set the current row as the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
481 header; use C-u to prompt for header row. Set the header to row 0 to
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
482 show column letters again.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
483 @item [header-line mouse-3]
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
484 Pops up a menu to set the current row as the header, or revert to
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
485 column letters.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
486 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
487
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
488 @menu
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
489 * The print area::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
490 * Ranges in formulas::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
491 * Sorting by column::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
492 * Standard formula functions::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
493 * More on cell printing::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
494 * Import and export::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
495 * Virus protection::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
496 * Spreadsheets with details and summary::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
497 @end menu
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
498
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
499 @node The print area, Ranges in formulas, Advanced Features, Advanced Features
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
500 @section The print area
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
501 @cindex print area
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
502 @findex widen
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
503 @findex ses-renarrow-buffer
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
504 @findex ses-reprint-all
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
505
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
506 A SES file consists of a print area and a data area. Normally the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
507 buffer is narrowed to show only the print area. The print area is
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
508 read-only except for special SES commands; it contains cell values
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
509 formatted by printer functions. The data area records the formula and
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
510 printer functions, etc.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
511
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
512 @table @kbd
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
513 @item C-x n w
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
514 Show print and data areas (@code{widen}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
515
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
516 @item C-c C-n
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
517 Show only print area (@code{ses-renarrow-buffer}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
518
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
519 @item S-C-l
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
520 @itemx M-C-l
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
521 Recreate print area by reevaluating printer functions for all cells
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
522 (@code{ses-reprint-all}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
523 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
524
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
525 @node Ranges in formulas, Sorting by column, The print area, Advanced Features
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
526 @section Ranges in formulas
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
527 @cindex ranges
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
528 @findex ses-insert-range-click
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
529 @findex ses-insert-range
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
530 @findex ses-insert-ses-range-click
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
531 @findex ses-insert-ses-range
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
532 @vindex from
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
533 @vindex to
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
534
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
535 A formula like
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
536 @lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
537 (+ A1 A2 A3)
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
538 @end lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
539 is the sum of three specific cells. If you insert a new second row,
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
540 the formula becomes
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
541 @lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
542 (+ A1 A3 A4)
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
543 @end lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
544 and the new row is not included in the sum.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
545
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
546 The macro @code{(ses-range @var{from} @var{to})} evaluates to a list of
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
547 the values in a rectangle of cells. If your formula is
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
548 @lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
549 (apply '+ (ses-range A1 A3))
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
550 @end lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
551 and you insert a new second row, it becomes
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
552 @lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
553 (apply '+ (ses-range A1 A4))
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
554 @end lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
555 and the new row is included in the sum.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
556
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
557 While entering or editing a formula in the minibuffer, you can select
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
558 a range in the spreadsheet (using mouse or keyboard), then paste a
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
559 representation of that range into your formula. Suppose you select
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
560 A1-C1:
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
561
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
562 @table @kbd
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
563 @item [S-mouse-3]
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
564 Inserts "A1 B1 C1" @code{(ses-insert-range-click})
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
565
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
566 @item C-c C-r
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
567 Keyboard version (@code{ses-insert-range}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
568
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
569 @item [C-S-mouse-3]
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
570 Inserts "(ses-range A1 C1)" (@code{ses-insert-ses-range-click}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
571
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
572 @item C-c C-s
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
573 Keyboard version (@code{ses-insert-ses-range}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
574 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
575
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
576 If you delete the @var{from} or @var{to} cell for a range, the nearest
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
577 still-existing cell is used instead. If you delete the entire range,
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
578 the formula relocator will delete the ses-range from the formula.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
579
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
580 If you insert a new row just beyond the end of a one-column range, or
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
581 a new column just beyond a one-row range, the new cell is included in
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
582 the range. New cells inserted just before a range are not included.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
583
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
584
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
585 @node Sorting by column, Standard formula functions, Ranges in formulas, Advanced Features
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
586 @section Sorting by column
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
587 @cindex sorting
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
588 @findex ses-sort-column
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
589 @findex ses-sort-column-click
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
590
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
591 @table @kbd
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
592 @item C-c M-C-s
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
593 Sort the cells of a range using one of the columns
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
594 (@code{ses-sort-column}). The rows (or partial rows if the range
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
595 doesn't include all columns) are rearranged so the chosen column will
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
596 be in order.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
597
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
598 @item [header-line mouse-2]
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
599 The easiest way to sort is to click mouse-2 on the chosen column's header row
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
600 (@code{ses-sort-column-click}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
601 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
602
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
603 The sort comparison uses @code{string<}, which works well for
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
604 right-justified numbers and left-justified strings.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
605
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
606 With prefix arg, sort is in descending order.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
607
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
608 Rows are moved one at a time, with relocation of formulas. This works
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
609 well if formulas refer to other cells in their row, not so well for
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
610 formulas that refer to other rows in the range or to cells outside the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
611 range.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
612
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
613
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
614 @node Standard formula functions, More on cell printing, Sorting by column, Advanced Features
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
615 @section Standard formula functions
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
616 @cindex standard formula functions
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
617 @cindex *skip*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
618 @cindex *error*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
619 @findex ses-delete-blanks
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
620 @findex ses-average
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
621 @findex ses+
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
622
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
623 Oftentimes you want a calculation to exclude the blank cells. Here
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
624 are some useful functions to call from your formulas:
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
625
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
626 @table @code
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
627 @item (ses-delete-blanks &rest @var{args})
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
628 Returns a list from which all blank cells (value is either @code{nil} or
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
629 '*skip*) have been deleted.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
630
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
631 @item (ses+ &rest @var{args})
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
632 Sum of non-blank arguments.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
633
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
634 @item (ses-average @var{list})
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
635 Average of non-blank elements in @var{list}. Here the list is passed
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
636 as a single argument, since you'll probably use it with @code{ses-range}.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
637 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
638
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
639 @node More on cell printing, Import and export, Standard formula functions, Advanced Features
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
640 @section More on cell printing
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
641 @cindex cell printing, more
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
642 @findex ses-truncate-cell
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
643 @findex ses-recalculate-cell
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
644
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
645 Special cell values:
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
646 @itemize
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
647 @item nil prints the same as "", but allows previous cell to spill over.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
648 @item '*skip* replaces nil when the previous cell actually does spill over;
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
649 nothing is printed for it.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
650 @item '*error* indicates that the formula signaled an error instead of
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
651 producing a value: the print cell is filled with hash marks (#).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
652 @end itemize
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
653
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
654 If the result from the printer function is too wide for the cell and
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
655 the following cell is @code{nil}, the result will spill over into the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
656 following cell. Very wide results can spill over several cells. If
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
657 the result is too wide for the available space (up to the end of the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
658 row or the next non-@code{nil} cell), the result is truncated if the cell's
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
659 value is a string, or replaced with hash marks otherwise.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
660
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
661 SES could get confused by printer results that contain newlines or
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
662 tabs, so these are replaced with question marks.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
663
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
664 @table @kbd
85646
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
665 @item t
84314
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
666 Confine a cell to its own column (@code{ses-truncate-cell}). This
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
667 allows you to move point to a rightward cell that would otherwise be
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
668 covered by a spill-over. If you don't change the rightward cell, the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
669 confined cell will spill over again the next time it is reprinted.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
670
85646
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
671 @item c
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
672 When applied to a single cell, this command displays in the echo area
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
673 any formula error or printer error that occurred during
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
674 recalculation/reprinting (@code{ses-recalculate-cell}). You can use
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
675 this to undo the effect of @kbd{t}.
84314
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
676 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
677
85646
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
678 When a printer function signals an error, the fallback printer
84314
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
679 @samp{"%s"} is substituted. This is useful when your column printer
85646
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
680 is numeric-only and you use a string as a cell value. Note that the
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
681 standard default printer is ``%.7g'' which is numeric-only, so cells
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
682 that are empty of contain strings will use the fallback printer.
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
683 @kbd{c} on such cells will display ``Format specifier doesn't match
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
684 argument type''.
84314
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
685
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
686
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
687 @node Import and export, Virus protection, More on cell printing, Advanced Features
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
688 @section Import and export
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
689 @cindex import and export
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
690 @cindex export, and import
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
691 @findex ses-export-tsv
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
692 @findex ses-export-tsf
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
693
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
694 @table @kbd
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
695 @item x t
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
696 Export a range of cells as tab-separated values (@code{ses-export-tsv}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
697 @item x T
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
698 Export a range of cells as tab-separated formulas (@code{ses-export-tsf}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
699 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
700
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
701 The exported text goes to the kill ring --- you can paste it into
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
702 another buffer. Columns are separated by tabs, rows by newlines.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
703
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
704 To import text, use any of the yank commands where the text to paste
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
705 contains tabs and/or newlines. Imported formulas are not relocated.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
706
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
707 @node Virus protection, Spreadsheets with details and summary, Import and export, Advanced Features
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
708 @section Virus protection
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
709 @cindex virus protection
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
710
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
711 Whenever a formula or printer is read from a file or is pasted into
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
712 the spreadsheet, it receives a ``needs safety check'' marking. Later,
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
713 when the formula or printer is evaluated for the first time, it is
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
714 checked for safety using the @code{unsafep} predicate; if found to be
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
715 ``possibly unsafe'', the questionable formula or printer is displayed
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
716 and you must press Y to approve it or N to use a substitute. The
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
717 substitute always signals an error.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
718
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
719 Formulas or printers that you type in are checked immediately for
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
720 safety. If found to be possibly unsafe and you press N to disapprove,
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
721 the action is canceled and the old formula or printer will remain.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
722
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
723 Besides viruses (which try to copy themselves to other files),
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
724 @code{unsafep} can also detect all other kinds of Trojan horses, such as
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
725 spreadsheets that delete files, send email, flood Web sites, alter
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
726 your Emacs settings, etc.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
727
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
728 Generally, spreadsheet formulas and printers are simple things that
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
729 don't need to do any fancy computing, so all potentially-dangerous
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
730 parts of the Emacs Lisp environment can be excluded without cramping
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
731 your style as a formula-writer. See the documentation in @file{unsafep.el}
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
732 for more info on how Lisp forms are classified as safe or unsafe.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
733
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
734 @node Spreadsheets with details and summary, , Virus protection, Advanced Features
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
735 @section Spreadsheets with details and summary
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
736 @cindex details and summary
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
737 @cindex summary, and details
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
738
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
739 A common organization for spreadsheets is to have a bunch of ``detail''
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
740 rows, each perhaps describing a transaction, and then a set of
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
741 ``summary'' rows that each show reduced data for some subset of the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
742 details. SES supports this organization via the @code{ses-select}
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
743 function.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
744
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
745 @table @code
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
746 @item (ses-select @var{fromrange} @var{test} @var{torange})
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
747 Returns a subset of @var{torange}. For each member in @var{fromrange}
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
748 that is equal to @var{test}, the corresponding member of @var{torange}
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
749 is included in the result.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
750 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
751
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
752 Example of use:
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
753 @lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
754 (ses-average (ses-select (ses-range A1 A5) 'Smith (ses-range B1 B5)))
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
755 @end lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
756 This computes the average of the B column values for those rows whose
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
757 A column value is the symbol 'Smith.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
758
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
759 Arguably one could specify only @var{fromrange} plus
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
760 @var{to-row-offset} and @var{to-column-offset}. The @var{torange} is
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
761 stated explicitly to ensure that the formula will be recalculated if
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
762 any cell in either range is changed.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
763
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
764 File @file{etc/ses-example.el} in the Emacs distribution is an example of a
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
765 details-and-summary spreadsheet.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
766
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
767
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
768 @c ===================================================================
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
769
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
770 @node For Gurus, Index, Advanced Features, Top
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
771 @chapter For Gurus
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
772 @cindex advanced features
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
773
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
774 @menu
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
775 * Deferred updates::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
776 * Nonrelocatable references::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
777 * The data area::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
778 * Buffer-local variables in spreadsheets::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
779 * Uses of defadvice in SES::
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
780 @end menu
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
781
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
782 @node Deferred updates, Nonrelocatable references, For Gurus, For Gurus
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
783 @section Deferred updates
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
784 @cindex deferred updates
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
785 @cindex updates, deferred
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
786 @vindex run-with-idle-timer
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
787
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
788 To save time by avoiding redundant computations, cells that need
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
789 recalculation due to changes in other cells are added to a set. At
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
790 the end of the command, each cell in the set is recalculated once.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
791 This can create a new set of cells that need recalculation. The
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
792 process is repeated until either the set is empty or it stops changing
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
793 (due to circular references among the cells). In extreme cases, you
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
794 might see progress messages of the form ``Recalculating... (@var{nnn}
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
795 cells left)''. If you interrupt the calculation using @kbd{C-g}, the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
796 spreadsheet will be left in an inconsistent state, so use @kbd{C-_} or
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
797 @kbd{C-c C-l} to fix it.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
798
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
799 To save even more time by avoiding redundant writes, cells that have
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
800 changes are added to a set instead of being written immediately to the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
801 data area. Each cell in the set is written once, at the end of the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
802 command. If you change vast quantities of cells, you might see a
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
803 progress message of the form ``Writing... (@var{nnn} cells left)''.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
804 These deferred cell-writes cannot be interrupted by @kbd{C-g}, so
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
805 you'll just have to wait.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
806
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
807 SES uses @code{run-with-idle-timer} to move the cell underline when
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
808 Emacs will be scrolling the buffer after the end of a command, and
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
809 also to narrow and underline after @kbd{C-x C-v}. This is visible as
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
810 a momentary glitch after C-x C-v and certain scrolling commands. You
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
811 can type ahead without worrying about the glitch.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
812
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
813
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
814 @node Nonrelocatable references, The data area, Deferred updates, For Gurus
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
815 @section Nonrelocatable references
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
816 @cindex nonrelocatable references
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
817 @cindex references, nonrelocatable
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
818
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
819 @kbd{C-y} relocates all cell-references in a pasted formula, while
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
820 @kbd{C-u C-y} relocates none of the cell-references. What about mixed
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
821 cases?
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
822
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
823 You can use
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
824 @lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
825 (symbol-value 'B3)
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
826 @end lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
827 to make an @dfn{absolute reference}. The formula relocator skips over
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
828 quoted things, so this will not be relocated when pasted or when
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
829 rows/columns are inserted/deleted. However, B3 will not be recorded
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
830 as a dependency of this cell, so this cell will not be updated
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
831 automatically when B3 is changed.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
832
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
833 The variables @code{row} and @code{col} are dynamically bound while a
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
834 cell formula is being evaluated. You can use
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
835 @lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
836 (ses-cell-value row 0)
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
837 @end lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
838 to get the value from the leftmost column in the current row. This
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
839 kind of dependency is also not recorded.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
840
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
841
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
842 @node The data area, Buffer-local variables in spreadsheets, Nonrelocatable references, For Gurus
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
843 @section The data area
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
844 @cindex data area
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
845 @findex ses-reconstruct-all
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
846
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
847 Begins with an 014 character, followed by sets of cell-definition
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
848 macros for each row, followed by column-widths, column-printers,
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
849 default-printer, and header-row. Then there's the global parameters
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
850 (file-format ID, numrows, numcols) and the local variables (specifying
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
851 SES mode for the buffer, etc.)
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
852
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
853 When a SES file is loaded, first the numrows and numcols values are
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
854 loaded, then the entire data area is @code{eval}ed, and finally the local
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
855 variables are processed.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
856
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
857 You can edit the data area, but don't insert or delete any newlines
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
858 except in the local-variables part, since SES locates things by
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
859 counting newlines. Use @kbd{C-x C-e} at the end of a line to install
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
860 your edits into the spreadsheet data structures (this does not update
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
861 the print area, use e.g. @kbd{C-c C-l} for that).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
862
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
863 The data area is maintained as an image of spreadsheet data
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
864 structures that area stored in buffer-local variables. If the data
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
865 area gets messed up, you can try reconstructing the data area from the
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
866 data structures:
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
867
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
868 @table @kbd
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
869 @item C-c M-C-l
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
870 (@code{ses-reconstruct-all}).
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
871 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
872
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
873
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
874 @node Buffer-local variables in spreadsheets, Uses of defadvice in SES, The data area, For Gurus
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
875 @section Buffer-local variables in spreadsheets
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
876 @cindex buffer-local variables
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
877 @cindex variables, buffer-local
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
878
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
879 You can add additional local variables to the list at the bottom of
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
880 the data area, such as hidden constants you want to refer to in your
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
881 formulas.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
882
85646
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
883 You can override the variable @code{ses--symbolic-formulas} to be a list of
84314
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
884 symbols (as parenthesized strings) to show as completions for the '
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
885 command. This initial completions list is used instead of the actual
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
886 set of symbols-as-formulas in the spreadsheet.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
887
85646
54604755057d ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
Jonathan Yavner <jyavner@member.fsf.org>
parents: 84329
diff changeset
888 For an example of this, see file @file{etc/ses-example.ses}.
84314
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
889
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
890 If (for some reason) you want your formulas or printers to save data
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
891 into variables, you must declare these variables as buffer-locals in
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
892 order to avoid a virus warning.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
893
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
894 You can define functions by making them values for the fake local
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
895 variable @code{eval}. Such functions can then be used in your
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
896 formulas and printers, but usually each @code{eval} is presented to
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
897 the user during file loading as a potential virus --- this can get
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
898 annoying.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
899
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
900 You can define functions in your @file{.emacs} file. Other people can
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
901 still read the print area of your spreadsheet, but they won't be able
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
902 to recalculate or reprint anything that depends on your functions. To
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
903 avoid virus warnings, each function used in a formula needs
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
904 @lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
905 (put 'your-function-name 'safe-function t)
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
906 @end lisp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
907
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
908 @node Uses of defadvice in SES, , Buffer-local variables in spreadsheets, For Gurus
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
909 @section Uses of defadvice in SES
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
910 @cindex defadvice
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
911 @cindex undo-more
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
912 @cindex copy-region-as-kill
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
913 @cindex yank
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
914
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
915 @table @code
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
916 @item undo-more
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
917 Defines a new undo element format (@var{fun} . @var{args}), which
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
918 means ``undo by applying @var{fun} to @var{args}''. For spreadsheet
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
919 buffers, it allows undos in the data area even though that's outside
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
920 the narrowing.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
921
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
922 @item copy-region-as-kill
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
923 When copying from the print area of a spreadsheet, treat the region as
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
924 a rectangle and attach each cell's formula and printer as 'ses
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
925 properties.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
926
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
927 @item yank
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
928 When yanking into the print area of a spreadsheet, first try to yank
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
929 as cells (if the yank text has 'ses properties), then as tab-separated
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
930 formulas, then (if all else fails) as a single formula for the current
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
931 cell.
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
932 @end table
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
933
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
934 @c ===================================================================
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
935 @node Index, Acknowledgements, For Gurus, Top
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
936 @unnumbered Index
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
937
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
938 @printindex cp
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
939
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
940 @c ===================================================================
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
941
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
942 @node Acknowledgements, GNU Free Documentation License, Index, Top
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
943 @chapter Acknowledgements
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
944
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
945 Coding by:
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
946 @quotation
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
947 Jonathan Yavner @email{jyavner@@member.fsf.org}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
948 Stefan Monnier @email{monnier@@gnu.org}
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
949 @end quotation
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
950
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
951 @noindent
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
952 Texinfo manual by:
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
953 @quotation
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
954 Jonathan Yavner @email{jyavner@@member.fsf.org}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
955 Brad Collins <brad@@chenla.org>
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
956 @end quotation
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
957
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
958 @noindent
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
959 Ideas from:
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
960 @quotation
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
961 Christoph Conrad @email{christoph.conrad@@gmx.de}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
962 CyberBob @email{cyberbob@@redneck.gacracker.org}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
963 Syver Enstad @email{syver-en@@online.no}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
964 Ami Fischman @email{fischman@@zion.bpnetworks.com}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
965 Thomas Gehrlein @email{Thomas.Gehrlein@@t-online.de}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
966 Chris F.A. Johnson @email{c.f.a.johnson@@rogers.com}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
967 Yusong Li @email{lyusong@@hotmail.com}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
968 Juri Linkov @email{juri@@jurta.org}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
969 Harald Maier @email{maierh@@myself.com}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
970 Alan Nash @email{anash@@san.rr.com}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
971 François Pinard @email{pinard@@iro.umontreal.ca}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
972 Pedro Pinto @email{ppinto@@cs.cmu.edu}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
973 Stefan Reichör @email{xsteve@@riic.at}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
974 Oliver Scholz @email{epameinondas@@gmx.de}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
975 Richard M. Stallman @email{rms@@gnu.org}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
976 Luc Teirlinck @email{teirllm@@dms.auburn.edu}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
977 J. Otto Tennant @email{jotto@@pobox.com}@*
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
978 Jean-Philippe Theberge @email{jphil@@acs.pagesjaunes.fr}
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
979 @end quotation
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
980
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
981 @c ===================================================================
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
982
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
983 @node GNU Free Documentation License, , Acknowledgements, Top
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
984 @appendix GNU Free Documentation License
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
985 @include doclicense.texi
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
986
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
987 @bye
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
988
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
989 @ignore
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
990 arch-tag: 10a4ee1c-7ef4-4c06-8b7a-f975e39f0dec
1a963cb7a35a Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
991 @end ignore