251 |
(right-aligned) or list of one string (left-aligned). While typing in |
(right-aligned) or list of one string (left-aligned). While typing in |
252 |
a lambda, you can use @kbd{M-TAB} to complete the names of symbols. |
a lambda, you can use @kbd{M-TAB} to complete the names of symbols. |
253 |
|
|
254 |
Each cell has a printer. If nil, the column-printer for the cell's |
Each cell has a printer. If @code{nil}, the column-printer for the cell's |
255 |
column is used. If that is also nil, the default-printer for the |
column is used. If that is also @code{nil}, the default-printer for the |
256 |
spreadsheet is used. |
spreadsheet is used. |
257 |
|
|
258 |
@table @kbd |
@table @kbd |
273 |
|
|
274 |
The standard printers are suitable only for cells, not columns or |
The standard printers are suitable only for cells, not columns or |
275 |
default, because they format the value using the column-printer (or |
default, because they format the value using the column-printer (or |
276 |
default-printer if nil) and then center the result: |
default-printer if @code{nil}) and then center the result: |
277 |
|
|
278 |
@table @code |
@table @code |
279 |
@item ses-center |
@item ses-center |
296 |
@node Clearing cells, Copy/cut/paste, Printer functions, The Basics |
@node Clearing cells, Copy/cut/paste, Printer functions, The Basics |
297 |
@section Clearing cells |
@section Clearing cells |
298 |
|
|
299 |
These commands set both formula and printer to nil: |
These commands set both formula and printer to @code{nil}: |
300 |
|
|
301 |
@table @kbd |
@table @kbd |
302 |
@item DEL |
@item DEL |
331 |
@item C-w |
@item C-w |
332 |
@itemx [cut] |
@itemx [cut] |
333 |
@itemx [S-delete] |
@itemx [S-delete] |
334 |
The cut functions do not actually delete rows or columns - they copy |
The cut functions do not actually delete rows or columns---they copy |
335 |
and then clear (@code{ses-kill-override}). |
and then clear (@code{ses-kill-override}). |
336 |
|
|
337 |
@item C-y |
@item C-y |
537 |
|
|
538 |
@table @code |
@table @code |
539 |
@item (ses-delete-blanks &rest @var{args}) |
@item (ses-delete-blanks &rest @var{args}) |
540 |
Returns a list from which all blank cells (value is either nil or |
Returns a list from which all blank cells (value is either @code{nil} or |
541 |
'*skip*) have been deleted. |
'*skip*) have been deleted. |
542 |
|
|
543 |
@item (ses+ &rest @var{args}) |
@item (ses+ &rest @var{args}) |
561 |
@end itemize |
@end itemize |
562 |
|
|
563 |
If the result from the printer function is too wide for the cell and |
If the result from the printer function is too wide for the cell and |
564 |
the following cell is nil, the result will spill over into the |
the following cell is @code{nil}, the result will spill over into the |
565 |
following cell. Very wide results can spill over several cells. If |
following cell. Very wide results can spill over several cells. If |
566 |
the result is too wide for the available space (up to the end of the |
the result is too wide for the available space (up to the end of the |
567 |
row or the next non-nil cell), the result is truncated if the cell's |
row or the next non-@code{nil} cell), the result is truncated if the cell's |
568 |
value is a string, or replaced with hash marks otherwise. |
value is a string, or replaced with hash marks otherwise. |
569 |
|
|
570 |
SES could get confused by printer results that contain newlines or |
SES could get confused by printer results that contain newlines or |