diff options
| author | era eriksson | 2013-11-20 00:16:20 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-11-20 00:16:20 -0800 |
| commit | dc7e8c171ff999fcfe7e4b86e91296eb8abc9c49 (patch) | |
| tree | 83bb65dd837f6cd51bc7893e9b81a32b8e2fb492 | |
| parent | cdd3286fd319365ec6d0819a0d1b84174034cc18 (diff) | |
| download | emacs-dc7e8c171ff999fcfe7e4b86e91296eb8abc9c49.tar.gz emacs-dc7e8c171ff999fcfe7e4b86e91296eb8abc9c49.zip | |
* lisp/ses.el (ses-mode): Doc fix.
Fixes: debbugs:14748
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/ses.el | 34 |
2 files changed, 34 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3bfc413bcd1..2f88e4f6b42 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-11-20 era eriksson <era+emacsbugs@iki.fi> | ||
| 2 | |||
| 3 | * ses.el (ses-mode): Doc fix. (Bug#14748) | ||
| 4 | |||
| 1 | 2013-11-20 Leo Liu <sdl.web@gmail.com> | 5 | 2013-11-20 Leo Liu <sdl.web@gmail.com> |
| 2 | 6 | ||
| 3 | * window.el (display-buffer-alist): Doc fix. (Bug#13594) | 7 | * window.el (display-buffer-alist): Doc fix. (Bug#13594) |
diff --git a/lisp/ses.el b/lisp/ses.el index 5f48dd2f27e..77af0ba89ab 100644 --- a/lisp/ses.el +++ b/lisp/ses.el | |||
| @@ -1886,13 +1886,39 @@ Delete overlays, remove special text properties." | |||
| 1886 | ;;;###autoload | 1886 | ;;;###autoload |
| 1887 | (defun ses-mode () | 1887 | (defun ses-mode () |
| 1888 | "Major mode for Simple Emacs Spreadsheet. | 1888 | "Major mode for Simple Emacs Spreadsheet. |
| 1889 | See \"ses-example.ses\" (in `data-directory') for more info. | ||
| 1890 | 1889 | ||
| 1891 | Key definitions: | 1890 | When you invoke SES in a new buffer, it is divided into cells |
| 1891 | that you can enter data into. You can navigate the cells with | ||
| 1892 | the arrow keys and add more cells with the tab key. The contents | ||
| 1893 | of these cells can be numbers, text, or Lisp expressions. (To | ||
| 1894 | enter text, enclose it in double quotes.) | ||
| 1895 | |||
| 1896 | In an expression, you can use cell coordinates to refer to the | ||
| 1897 | contents of another cell. For example, you can sum a range of | ||
| 1898 | cells with `(+ A1 A2 A3)'. There are specialized functions like | ||
| 1899 | `ses+' (addition for ranges with empty cells), `ses-average' (for | ||
| 1900 | performing calculations on cells), and `ses-range' and `ses-select' | ||
| 1901 | \(for extracting ranges of cells). | ||
| 1902 | |||
| 1903 | Each cell also has a print function that controls how it is | ||
| 1904 | displayed. | ||
| 1905 | |||
| 1906 | Each SES buffer is divided into a print area and a data area. | ||
| 1907 | Normally, you can simply use SES to look at and manipulate the print | ||
| 1908 | area, and let SES manage the data area outside the visible region. | ||
| 1909 | |||
| 1910 | See \"ses-example.ses\" (in `data-directory') for an example | ||
| 1911 | spreadsheet, and the Info node `(ses)Top.' | ||
| 1912 | |||
| 1913 | In the following, note the separate keymaps for cell editing mode | ||
| 1914 | and print mode specifications. Key definitions: | ||
| 1915 | |||
| 1892 | \\{ses-mode-map} | 1916 | \\{ses-mode-map} |
| 1893 | These key definitions are active only in the print area (the visible part): | 1917 | These key definitions are active only in the print area (the visible |
| 1918 | part): | ||
| 1894 | \\{ses-mode-print-map} | 1919 | \\{ses-mode-print-map} |
| 1895 | These are active only in the minibuffer, when entering or editing a formula: | 1920 | These are active only in the minibuffer, when entering or editing a |
| 1921 | formula: | ||
| 1896 | \\{ses-mode-edit-map}" | 1922 | \\{ses-mode-edit-map}" |
| 1897 | (interactive) | 1923 | (interactive) |
| 1898 | (unless (and (boundp 'ses--deferred-narrow) | 1924 | (unless (and (boundp 'ses--deferred-narrow) |