diff options
| author | Jay Belanger | 2008-10-10 14:54:11 +0000 |
|---|---|---|
| committer | Jay Belanger | 2008-10-10 14:54:11 +0000 |
| commit | 4a65fb7ad22f7a408cc54538e935c43cf0af601e (patch) | |
| tree | f4d874324db0d7f2bc2c2c15eaaaddeee06173fd | |
| parent | da78ead3b562a43753dc25ffe8440dcebf8c6146 (diff) | |
| download | emacs-4a65fb7ad22f7a408cc54538e935c43cf0af601e.tar.gz emacs-4a65fb7ad22f7a408cc54538e935c43cf0af601e.zip | |
(Embedded mode overview, Customizing Embedded Mode, Customizing Calc):
Change references to `calc-embedded-open/close-word' to
`calc-embedded-word-regexp'.
| -rw-r--r-- | doc/misc/calc.texi | 46 |
1 files changed, 20 insertions, 26 deletions
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index 504fe5ea729..7259f77617d 100644 --- a/doc/misc/calc.texi +++ b/doc/misc/calc.texi | |||
| @@ -953,9 +953,9 @@ To leave Embedded mode, type @kbd{C-x * e} again. The mode line | |||
| 953 | and keyboard will revert to the way they were before. | 953 | and keyboard will revert to the way they were before. |
| 954 | 954 | ||
| 955 | The related command @kbd{C-x * w} operates on a single word, which | 955 | The related command @kbd{C-x * w} operates on a single word, which |
| 956 | generally means a single number, inside text. It uses any | 956 | generally means a single number, inside text. It searches for an |
| 957 | non-numeric characters rather than blank lines to delimit the | 957 | expression which ``looks'' like a number containing the point. |
| 958 | formula it reads. Here's an example of its use: | 958 | Here's an example of its use: |
| 959 | 959 | ||
| 960 | @smallexample | 960 | @smallexample |
| 961 | A slope of one-third corresponds to an angle of 1 degrees. | 961 | A slope of one-third corresponds to an angle of 1 degrees. |
| @@ -30748,11 +30748,10 @@ other one, except it now uses @samp{\'} (``end-of-buffer'') and | |||
| 30748 | of describing a blank line that is more appropriate for this | 30748 | of describing a blank line that is more appropriate for this |
| 30749 | case). | 30749 | case). |
| 30750 | 30750 | ||
| 30751 | @vindex calc-embedded-open-word | 30751 | @vindex calc-embedded-word-regexp |
| 30752 | @vindex calc-embedded-close-word | 30752 | The @code{calc-embedded-word-regexp} variable holds a regular expression |
| 30753 | The @code{calc-embedded-open-word} and @code{calc-embedded-close-word} | 30753 | used to define an expression to look for (a ``word'') when you type |
| 30754 | variables are similar expressions used when you type @kbd{C-x * w} | 30754 | @kbd{C-x * w} to enable Embedded mode. |
| 30755 | instead of @kbd{C-x * e} to enable Embedded mode. | ||
| 30756 | 30755 | ||
| 30757 | @vindex calc-embedded-open-plain | 30756 | @vindex calc-embedded-open-plain |
| 30758 | The @code{calc-embedded-open-plain} variable is a string which | 30757 | The @code{calc-embedded-open-plain} variable is a string which |
| @@ -34883,26 +34882,21 @@ It consists of a list of lists of the form | |||
| 34883 | @code{nil}. | 34882 | @code{nil}. |
| 34884 | @end defvar | 34883 | @end defvar |
| 34885 | 34884 | ||
| 34886 | @defvar calc-embedded-open-word | 34885 | @defvar calc-embedded-word-regexp |
| 34887 | @defvarx calc-embedded-close-word | 34886 | @defvarx calc-embedded-word-regexp-alist |
| 34888 | @defvarx calc-embedded-open-close-word-alist | ||
| 34889 | See @ref{Customizing Embedded Mode}.@* | 34887 | See @ref{Customizing Embedded Mode}.@* |
| 34890 | The variables @code{calc-embedded-open-word} and | 34888 | The variable @code{calc-embedded-word-regexp} determines the expression |
| 34891 | @code{calc-embedded-close-word} control the region that Calc will | 34889 | that Calc will activate when Embedded mode is entered with @kbd{C-x * |
| 34892 | activate when Embedded mode is entered with @kbd{C-x * w}. They are | 34890 | w}. It is a regular expressions. |
| 34893 | regular expressions. | 34891 | |
| 34894 | 34892 | The default value of @code{calc-embedded-word-regexp} is | |
| 34895 | The default values of @code{calc-embedded-open-word} and | 34893 | @code{"[-+]?[0-9]+\\(\\.[0-9]+\\)?\\([eE][-+]?[0-9]+\\)?"}. |
| 34896 | @code{calc-embedded-close-word} are @code{"^\\|[^-+0-9.eE]"} and | 34894 | |
| 34897 | @code{"$\\|[^-+0-9.eE]"} respectively. | 34895 | The variable @code{calc-embedded-word-regexp-alist} is used to |
| 34898 | 34896 | set @code{calc-embedded-word-regexp} to a different regular | |
| 34899 | The variable @code{calc-embedded-open-close-word-alist} is used to | 34897 | expression depending on the major mode of the editing buffer. |
| 34900 | set @code{calc-embedded-open-word} and | ||
| 34901 | @code{calc-embedded-close-word} to different regular | ||
| 34902 | expressions depending on the major mode of the editing buffer. | ||
| 34903 | It consists of a list of lists of the form | 34898 | It consists of a list of lists of the form |
| 34904 | @code{(@var{MAJOR-MODE} @var{OPEN-WORD-REGEXP} | 34899 | @code{(@var{MAJOR-MODE} @var{WORD-REGEXP})}, and its default value is |
| 34905 | @var{CLOSE-WORD-REGEXP})}, and its default value is | ||
| 34906 | @code{nil}. | 34900 | @code{nil}. |
| 34907 | @end defvar | 34901 | @end defvar |
| 34908 | 34902 | ||