diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-08-05 13:31:10 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-08-05 13:35:13 -0700 |
commit | 92e5b41c7c5898820356fc66456804a45bbe7852 (patch) | |
tree | b4f3858e4f3e55078a57f5f40c024d7a773952f1 /doc/misc/ses.texi | |
parent | 6a9d967048f489bea8c716eb7b5be2c582b480bb (diff) | |
download | emacs-92e5b41c7c5898820356fc66456804a45bbe7852.tar.gz |
Spelling and minor grammar fixes
* test/file-organization.org: Rename from test/file-organisation.org.
Diffstat (limited to 'doc/misc/ses.texi')
-rw-r--r-- | doc/misc/ses.texi | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/misc/ses.texi b/doc/misc/ses.texi index 1c5070b38a9..84d2cc77c0c 100644 --- a/doc/misc/ses.texi +++ b/doc/misc/ses.texi @@ -567,10 +567,10 @@ s-expression (using @code{ses-prin1}), centered and surrounded by @code{#} filling. @end itemize -Another precaution to take is to avoid stack-overflow (due to a -printer function indefintely recursively re-calling itself). This can -happen mistakenly when you use a local printer as a column printer, -and this local printer implicitely call the current column printer, so +Another precaution to take is to avoid stack overflow due to a +printer function calling itself indefinitely. This mistake can +happen when you use a local printer as a column printer, +and this local printer implicitly calls the current column printer, so it will call itself recursively. Imagine for instance that you want to create some local printer @code{=fill} that would center the content of a cell and surround it by equal signs @code{=}, and you do it this @@ -583,12 +583,12 @@ way: (t (ses-center x 0 ?=)))) @end lisp -Because @code{=fill} uses standard printer @code{ses-center} without -passing explicitely any printer to it, @code{ses-center} will call the -current column printer if any or the spreadsheet default printer -otherwise. So using @code{=fill} as a column printer will result in a -stack overflow in this column. SES does not make any check for that, -you just have to be careful. For instance re-write @code{=fill} like +Because @code{=fill} uses the standard printer @code{ses-center} without +explicitly passing any printer to it, @code{ses-center} will call the +current column printer if any, or the spreadsheet default printer +otherwise. So using @code{=fill} as a column printer will result in a +stack overflow in this column. SES does not check for that; +you just have to be careful. For instance, re-write @code{=fill} like this: @lisp @@ -599,11 +599,11 @@ this: (t (ses-center-span x ?# 'ses-prin1)))) @end lisp -The code above applies the @code{=} filling only to strings, it also +The code above applies the @code{=} filling only to strings; it also surrounds the string by one space on each side before filling with -@code{=} signs. So string @samp{Foo} will be displayed like @samp{@w{=== -Foo ===}} in an 11 character wide column. Anything else than empty cell -or non string is displayed like errouneous by using @code{#} filling. +@code{=} signs. So the string @samp{Foo} will be displayed like @samp{@w{=== +Foo ===}} in an 11 character wide column. Anything other than an empty cell +or a non-string is displayed as an error by using @code{#} filling. @node Clearing cells @section Clearing cells |