diff options
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/misc/calc.texi | 34 |
2 files changed, 38 insertions, 2 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 2d67aec0eab..566fab45fbf 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com> | ||
| 2 | |||
| 3 | * calc.texi (Making Selections, Selecting Subformulas) | ||
| 4 | (Customizing Calc): Mention how to use faces to emphasize selected | ||
| 5 | sub-formulas. | ||
| 6 | |||
| 1 | 2010-08-05 Michael Albinus <michael.albinus@gmx.de> | 7 | 2010-08-05 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 8 | ||
| 3 | * tramp.texi (External packages): File attributes cache flushing | 9 | * tramp.texi (External packages): File attributes cache flushing |
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index ab81cf1bca2..5e4fc5c8486 100644 --- a/doc/misc/calc.texi +++ b/doc/misc/calc.texi | |||
| @@ -21513,7 +21513,11 @@ to | |||
| 21513 | 21513 | ||
| 21514 | @noindent | 21514 | @noindent |
| 21515 | Every character not part of the sub-formula @samp{b} has been changed | 21515 | Every character not part of the sub-formula @samp{b} has been changed |
| 21516 | to a dot. The @samp{*} next to the line number is to remind you that | 21516 | to a dot. (If the customizable variable |
| 21517 | @code{calc-highlight-selections-with-faces} is non-nil, then the characters | ||
| 21518 | not part of the sub-formula are de-emphasized by using a less | ||
| 21519 | noticeable face instead of using dots. @pxref{Displaying Selections}.) | ||
| 21520 | The @samp{*} next to the line number is to remind you that | ||
| 21517 | the formula has a portion of it selected. (In this case, it's very | 21521 | the formula has a portion of it selected. (In this case, it's very |
| 21518 | obvious, but it might not always be. If Embedded mode is enabled, | 21522 | obvious, but it might not always be. If Embedded mode is enabled, |
| 21519 | the word @samp{Sel} also appears in the mode line because the stack | 21523 | the word @samp{Sel} also appears in the mode line because the stack |
| @@ -21726,6 +21730,9 @@ of the hierarchy simply by pointing to it with the cursor. | |||
| 21726 | @noindent | 21730 | @noindent |
| 21727 | @kindex j d | 21731 | @kindex j d |
| 21728 | @pindex calc-show-selections | 21732 | @pindex calc-show-selections |
| 21733 | @vindex calc-highlight-selections-with-faces | ||
| 21734 | @vindex calc-selected-face | ||
| 21735 | @vindex calc-nonselected-face | ||
| 21729 | The @kbd{j d} (@code{calc-show-selections}) command controls how | 21736 | The @kbd{j d} (@code{calc-show-selections}) command controls how |
| 21730 | selected sub-formulas are displayed. One of the alternatives is | 21737 | selected sub-formulas are displayed. One of the alternatives is |
| 21731 | illustrated in the above examples; if we press @kbd{j d} we switch | 21738 | illustrated in the above examples; if we press @kbd{j d} we switch |
| @@ -21740,6 +21747,13 @@ by @samp{#} signs: | |||
| 21740 | . . . . 2 x + 1 | 21747 | . . . . 2 x + 1 |
| 21741 | @end group | 21748 | @end group |
| 21742 | @end smallexample | 21749 | @end smallexample |
| 21750 | If the customizable variable | ||
| 21751 | @code{calc-highlight-selections-with-faces} is non-nil, then the | ||
| 21752 | non-selected portion of the formula will be de-emphasized by using a | ||
| 21753 | less noticeable face (@code{calc-nonselected-face}) instead of dots | ||
| 21754 | and the selected sub-formula will be highlighted by using a more | ||
| 21755 | noticeable face (@code{calc-selected-face}) instead of @samp{#} | ||
| 21756 | signs. (@pxref{Customizing Calc}.) | ||
| 21743 | 21757 | ||
| 21744 | @node Operating on Selections, Rearranging with Selections, Displaying Selections, Selecting Subformulas | 21758 | @node Operating on Selections, Rearranging with Selections, Displaying Selections, Selecting Subformulas |
| 21745 | @subsection Operating on Selections | 21759 | @subsection Operating on Selections |
| @@ -34911,7 +34925,7 @@ character of the prefix can simply be typed twice. | |||
| 34911 | 34925 | ||
| 34912 | Calc is controlled by many variables, most of which can be reset | 34926 | Calc is controlled by many variables, most of which can be reset |
| 34913 | from within Calc. Some variables are less involved with actual | 34927 | from within Calc. Some variables are less involved with actual |
| 34914 | calculation, and can be set outside of Calc using Emacs's | 34928 | calculation and can be set outside of Calc using Emacs's |
| 34915 | customization facilities. These variables are listed below. | 34929 | customization facilities. These variables are listed below. |
| 34916 | Typing @kbd{M-x customize-variable RET @var{variable-name} RET} | 34930 | Typing @kbd{M-x customize-variable RET @var{variable-name} RET} |
| 34917 | will bring up a buffer in which the variable's value can be redefined. | 34931 | will bring up a buffer in which the variable's value can be redefined. |
| @@ -35197,6 +35211,22 @@ should also be added to @code{calc-embedded-announce-formula-alist} | |||
| 35197 | and @code{calc-embedded-open-close-plain-alist}. | 35211 | and @code{calc-embedded-open-close-plain-alist}. |
| 35198 | @end defvar | 35212 | @end defvar |
| 35199 | 35213 | ||
| 35214 | @defvar calc-highlight-selections-with-faces | ||
| 35215 | @defvarx calc-selected-face | ||
| 35216 | @defvarx calc-nonselected-face | ||
| 35217 | The variable @code{calc-highlight-selections-with-faces} | ||
| 35218 | determines how selected sub-formulas are distinguished. | ||
| 35219 | If @code{calc-highlight-selections-with-faces} is nil, then | ||
| 35220 | a selected sub-formula is distinguished either by changing every | ||
| 35221 | character not part of the sub-formula with a dot or by changing every | ||
| 35222 | character in the sub-formula with a @samp{#} sign. | ||
| 35223 | If @code{calc-highlight-selections-with-faces} is t, | ||
| 35224 | then a selected sub-formula is distinguished either by displaying the | ||
| 35225 | non-selected portion of the formula with @code{calc-nonselected-face} | ||
| 35226 | or by displaying the selected sub-formula with | ||
| 35227 | @code{calc-nonselected-face}. (@pxref{Displaying Selections}.) | ||
| 35228 | @end defvar | ||
| 35229 | |||
| 35200 | @defvar calc-multiplication-has-precedence | 35230 | @defvar calc-multiplication-has-precedence |
| 35201 | The variable @code{calc-multiplication-has-precedence} determines | 35231 | The variable @code{calc-multiplication-has-precedence} determines |
| 35202 | whether multiplication has precedence over division in algebraic | 35232 | whether multiplication has precedence over division in algebraic |