diff options
author | Vincent Belaïche <vincentb1@users.sourceforge.net> | 2017-07-17 19:58:12 +0200 |
---|---|---|
committer | Vincent Belaïche <vincentb1@users.sourceforge.net> | 2017-07-17 19:58:12 +0200 |
commit | 002d6abcc76a8a83e5ea191e6f8d6dbed6b714eb (patch) | |
tree | da9a2362e05509bb7db3686e9e2178e48f06b0f1 /doc/misc | |
parent | 727b3df056d978c05bb5dbce5cef715b3b7c31db (diff) | |
download | emacs-002d6abcc76a8a83e5ea191e6f8d6dbed6b714eb.tar.gz emacs-002d6abcc76a8a83e5ea191e6f8d6dbed6b714eb.tar.bz2 emacs-002d6abcc76a8a83e5ea191e6f8d6dbed6b714eb.zip |
Fix symbol completion and document it.
* doc/misc/ses.texi (Configuring what printer function
applies): Add description of keys for completing local printer
symbols and listing local printers in a help buffer.
(Formulas): Add decription for key to list the named cell
symbols in a help buffer.
* lisp/ses.el (ses-completion-keys): New constant.
(ses--completion-table): New defvar.
(ses--list-orig-buffer): New defvar.
(ses-mode-edit-map): Fixed for symbol completion, plus add
help functions to list named cells or local printers.
(ses-edit-cell-complete-symbol)
(ses--edit-cell-completion-at-point-function): New defuns for
completion during formula edition.
(ses-edit-cell): Redefine dynamically edit keymap for
completion keys to point at the right function.
(ses-read-printer-complete-symbol)
(ses--read-printer-completion-at-point-function): New defuns
for completion during printer edition.
(ses-read-printer): Redefine dynamically edit keymap for
completion keys to point at the right function.
(ses-list-local-printers): New defun.
(ses-list-named-cells): New defun.
Diffstat (limited to 'doc/misc')
-rw-r--r-- | doc/misc/ses.texi | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/doc/misc/ses.texi b/doc/misc/ses.texi index cac874d0f02..fc79b027a1d 100644 --- a/doc/misc/ses.texi +++ b/doc/misc/ses.texi @@ -292,7 +292,13 @@ Self-insert an expression. The right-parenthesis is inserted for you (@code{ses-read-cell}). To access another cell's value, just use its identifier in your expression. Whenever the other cell is changed, this cell's formula will be reevaluated. While typing in the -expression, you can use @kbd{M-@key{TAB}} to complete symbol names. +expression, you can use the following keys: +@table @kbd +@item M-@key{TAB} +to complete symbol names, and +@item C-h C-n +to list the named cells symbols in a help buffer. +@end table @item ' @r{(apostrophe)} Enter a symbol (ses-read-symbol). @acronym{SES} remembers all symbols that have @@ -458,11 +464,22 @@ Enter the default printer for the spreadsheet (@code{ses-read-default-printer}). @end table -The @code{ses-read-@var{xxx}-printer} commands have their own -minibuffer history, which is preloaded with the set of all printers -used in this spreadsheet, plus the standard printers (@pxref{Standard -printer functions}) and the local printers (@pxref{Local printer -functions}). +The @code{ses-read-@var{xxx}-printer} allows the following commands during editing: + +@table @kbd +@item @key{arrow-up} +@itemx @key{arrow-down} +To browse history: the @code{ses-read-@var{xxx}-printer} commands have +their own minibuffer history, which is preloaded with the set of all +printers used in this spreadsheet, plus the standard printers +(@pxref{Standard printer functions}) and the local printers +(@pxref{Local printer functions}). +@item @key{TAB} +To complete the local printer symbols, and +@item C-h C-p +To list the local printers in a help buffer. +@end table + @node Standard printer functions @subsection Standard printer functions |