diff options
| author | Jay Belanger | 2008-07-23 02:58:53 +0000 |
|---|---|---|
| committer | Jay Belanger | 2008-07-23 02:58:53 +0000 |
| commit | 8dc6104d90b14b2abd7c2f84c0621cfa9af80516 (patch) | |
| tree | 73837d251ea2f6b072aa14455ffab7a29956ec46 /doc | |
| parent | 712b2de134e18ebf4eb4a5d2154f875becc07d20 (diff) | |
| download | emacs-8dc6104d90b14b2abd7c2f84c0621cfa9af80516.tar.gz emacs-8dc6104d90b14b2abd7c2f84c0621cfa9af80516.zip | |
(summarykey): New macro. Use to correctly format keys in the summary.
(Editing Stack Entries):
(Algebraic Entry): Rewrite introductory sentences so it can be used by
Calc's help functions. Mention fixing typos.
(Customizing Calc): Fix typo.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/ChangeLog | 12 | ||||
| -rw-r--r-- | doc/misc/calc.texi | 53 |
2 files changed, 41 insertions, 24 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index bb2d74b92a6..853c3745c82 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2008-07-23 Vincent Belaïche <vincent.b.1@hotmail.fr> | ||
| 2 | |||
| 3 | * calc.texi (Editing Stack Entries): | ||
| 4 | (Algebraic Entry): Rewrite introductory sentences so it can be used by | ||
| 5 | Calc's help functions. Mention fixing typos. | ||
| 6 | (Customizing Calc): Fix typo. | ||
| 7 | |||
| 8 | 2008-07-23 Jay Belanger <jay.p.belanger@gmail.com> | ||
| 9 | |||
| 10 | * calc.texi (summarykey): New macro. Use to correctly format keys in | ||
| 11 | the summary. | ||
| 12 | |||
| 1 | 2008-07-20 Adrian Robert <adrian.b.robert@gmail.com> | 13 | 2008-07-20 Adrian Robert <adrian.b.robert@gmail.com> |
| 2 | 14 | ||
| 3 | * ns-emacs.texi (Customization): Corrected documentation on color | 15 | * ns-emacs.texi (Customization): Corrected documentation on color |
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index 211959fa7fb..22adb6bb33c 100644 --- a/doc/misc/calc.texi +++ b/doc/misc/calc.texi | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | @alias expr=math | 23 | @alias expr=math |
| 24 | @alias tfn=code | 24 | @alias tfn=code |
| 25 | @alias mathit=expr | 25 | @alias mathit=expr |
| 26 | @alias summarykey=key | ||
| 26 | @macro cpi{} | 27 | @macro cpi{} |
| 27 | @math{@pi{}} | 28 | @math{@pi{}} |
| 28 | @end macro | 29 | @end macro |
| @@ -39,6 +40,9 @@ | |||
| 39 | @alias expr=samp | 40 | @alias expr=samp |
| 40 | @alias tfn=t | 41 | @alias tfn=t |
| 41 | @alias mathit=i | 42 | @alias mathit=i |
| 43 | @macro summarykey{ky} | ||
| 44 | \ky\ | ||
| 45 | @end macro | ||
| 42 | @macro cpi{} | 46 | @macro cpi{} |
| 43 | @expr{pi} | 47 | @expr{pi} |
| 44 | @end macro | 48 | @end macro |
| @@ -10024,9 +10028,9 @@ During numeric entry, the only editing key available is @key{DEL}. | |||
| 10024 | @pindex calc-algebraic-entry | 10028 | @pindex calc-algebraic-entry |
| 10025 | @cindex Algebraic notation | 10029 | @cindex Algebraic notation |
| 10026 | @cindex Formulas, entering | 10030 | @cindex Formulas, entering |
| 10027 | Calculations can also be entered in algebraic form. This is accomplished | 10031 | The @kbd{'} (@code{calc-algebraic-entry}) command can be used to enter |
| 10028 | by typing the apostrophe key, ', followed by the expression in | 10032 | calculations in algebraic form. This is accomplished by typing the |
| 10029 | standard format: | 10033 | apostrophe key, ', followed by the expression in standard format: |
| 10030 | 10034 | ||
| 10031 | @example | 10035 | @example |
| 10032 | ' 2+3*4 @key{RET}. | 10036 | ' 2+3*4 @key{RET}. |
| @@ -10042,9 +10046,9 @@ expressions in this way. You may want to use @key{DEL} every so often to | |||
| 10042 | clear previous results off the stack. | 10046 | clear previous results off the stack. |
| 10043 | 10047 | ||
| 10044 | You can press the apostrophe key during normal numeric entry to switch | 10048 | You can press the apostrophe key during normal numeric entry to switch |
| 10045 | the half-entered number into Algebraic entry mode. One reason to do this | 10049 | the half-entered number into Algebraic entry mode. One reason to do |
| 10046 | would be to use the full Emacs cursor motion and editing keys, which are | 10050 | this would be to fix a typo, as the full Emacs cursor motion and editing |
| 10047 | available during algebraic entry but not during numeric entry. | 10051 | keys are available during algebraic entry but not during numeric entry. |
| 10048 | 10052 | ||
| 10049 | In the same vein, during either numeric or algebraic entry you can | 10053 | In the same vein, during either numeric or algebraic entry you can |
| 10050 | press @kbd{`} (backquote) to switch to @code{calc-edit} mode, where | 10054 | press @kbd{`} (backquote) to switch to @code{calc-edit} mode, where |
| @@ -11842,11 +11846,12 @@ any portion of a vector or formula on the stack. | |||
| 11842 | @pindex calc-edit | 11846 | @pindex calc-edit |
| 11843 | @pindex calc-edit-finish | 11847 | @pindex calc-edit-finish |
| 11844 | @cindex Editing the stack with Emacs | 11848 | @cindex Editing the stack with Emacs |
| 11845 | The backquote, @kbd{`} (@code{calc-edit}) command creates a temporary | 11849 | The @kbd{`} (@code{calc-edit}) command creates a temporary buffer |
| 11846 | buffer (@samp{*Calc Edit*}) for editing the top-of-stack value using | 11850 | (@samp{*Calc Edit*}) for editing the top-of-stack value using regular |
| 11847 | regular Emacs commands. With a numeric prefix argument, it edits the | 11851 | Emacs commands. Note that @kbd{`} is a backquote, not a quote. With a |
| 11848 | specified number of stack entries at once. (An argument of zero edits | 11852 | numeric prefix argument, it edits the specified number of stack entries |
| 11849 | the entire stack; a negative argument edits one specific stack entry.) | 11853 | at once. (An argument of zero edits the entire stack; a negative |
| 11854 | argument edits one specific stack entry.) | ||
| 11850 | 11855 | ||
| 11851 | When you are done editing, press @kbd{C-c C-c} to finish and return | 11856 | When you are done editing, press @kbd{C-c C-c} to finish and return |
| 11852 | to Calc. The @key{RET} and @key{LFD} keys also work to finish most | 11857 | to Calc. The @key{RET} and @key{LFD} keys also work to finish most |
| @@ -34842,7 +34847,7 @@ and @code{calc-embedded-open-close-mode-alist}. | |||
| 34842 | @defvarx calc-embedded-open-close-formula-alist | 34847 | @defvarx calc-embedded-open-close-formula-alist |
| 34843 | See @ref{Customizing Embedded Mode}.@* | 34848 | See @ref{Customizing Embedded Mode}.@* |
| 34844 | The variables @code{calc-embedded-open-formula} and | 34849 | The variables @code{calc-embedded-open-formula} and |
| 34845 | @code{calc-embedded-open-formula} control the region that Calc will | 34850 | @code{calc-embedded-close-formula} control the region that Calc will |
| 34846 | activate as a formula when Embedded mode is entered with @kbd{C-x * e}. | 34851 | activate as a formula when Embedded mode is entered with @kbd{C-x * e}. |
| 34847 | They are regular expressions; | 34852 | They are regular expressions; |
| 34848 | Calc normally scans backward and forward in the buffer for the | 34853 | Calc normally scans backward and forward in the buffer for the |
| @@ -35172,14 +35177,14 @@ keystrokes are not listed in this summary. | |||
| 35172 | @r{ a@: M-% @: @: @:percent@:(a) a%} | 35177 | @r{ a@: M-% @: @: @:percent@:(a) a%} |
| 35173 | 35178 | ||
| 35174 | @c | 35179 | @c |
| 35175 | @r{ ... a@: @key{RET} @: @: 1 @:@:... a a} | 35180 | @r{ ... a@: @summarykey{RET} @: @: 1 @:@:... a a} |
| 35176 | @r{ ... a@: @key{SPC} @: @: 1 @:@:... a a} | 35181 | @r{ ... a@: @summarykey{SPC} @: @: 1 @:@:... a a} |
| 35177 | @r{... a b@: @key{TAB} @: @: 3 @:@:... b a} | 35182 | @r{... a b@: @summarykey{TAB} @: @: 3 @:@:... b a} |
| 35178 | @r{. a b c@: M-@key{TAB} @: @: 3 @:@:... b c a} | 35183 | @r{. a b c@: M-@summarykey{TAB} @: @: 3 @:@:... b c a} |
| 35179 | @r{... a b@: @key{LFD} @: @: 1 @:@:... a b a} | 35184 | @r{... a b@: @summarykey{LFD} @: @: 1 @:@:... a b a} |
| 35180 | @r{ ... a@: @key{DEL} @: @: 1 @:@:...} | 35185 | @r{ ... a@: @summarykey{DEL} @: @: 1 @:@:...} |
| 35181 | @r{... a b@: M-@key{DEL} @: @: 1 @:@:... b} | 35186 | @r{... a b@: M-@summarykey{DEL} @: @: 1 @:@:... b} |
| 35182 | @r{ @: M-@key{RET} @: @: 4 @:calc-last-args@:} | 35187 | @r{ @: M-@summarykey{RET} @: @: 4 @:calc-last-args@:} |
| 35183 | @r{ a@: ` @:editing @: 1,30 @:calc-edit@:} | 35188 | @r{ a@: ` @:editing @: 1,30 @:calc-edit@:} |
| 35184 | 35189 | ||
| 35185 | @c | 35190 | @c |
| @@ -35411,8 +35416,8 @@ keystrokes are not listed in this summary. | |||
| 35411 | @r{ @: d [ @: @: 4 @:calc-truncate-up@:} | 35416 | @r{ @: d [ @: @: 4 @:calc-truncate-up@:} |
| 35412 | @r{ @: d ] @: @: 4 @:calc-truncate-down@:} | 35417 | @r{ @: d ] @: @: 4 @:calc-truncate-down@:} |
| 35413 | @r{ @: d " @: @: 12,50 @:calc-display-strings@:} | 35418 | @r{ @: d " @: @: 12,50 @:calc-display-strings@:} |
| 35414 | @r{ @: d @key{SPC} @: @: @:calc-refresh@:} | 35419 | @r{ @: d @summarykey{SPC} @: @: @:calc-refresh@:} |
| 35415 | @r{ @: d @key{RET} @: @: 1 @:calc-refresh-top@:} | 35420 | @r{ @: d @summarykey{RET} @: @: 1 @:calc-refresh-top@:} |
| 35416 | 35421 | ||
| 35417 | @c | 35422 | @c |
| 35418 | @r{ @: d 0 @: @: 50 @:calc-decimal-radix@:} | 35423 | @r{ @: d 0 @: @: 50 @:calc-decimal-radix@:} |
| @@ -35549,8 +35554,8 @@ keystrokes are not listed in this summary. | |||
| 35549 | 35554 | ||
| 35550 | @c | 35555 | @c |
| 35551 | @r{ @: j 1-9 @: @: @:calc-select-part@:} | 35556 | @r{ @: j 1-9 @: @: @:calc-select-part@:} |
| 35552 | @r{ @: j @key{RET} @: @: 27 @:calc-copy-selection@:} | 35557 | @r{ @: j @summarykey{RET} @: @: 27 @:calc-copy-selection@:} |
| 35553 | @r{ @: j @key{DEL} @: @: 27 @:calc-del-selection@:} | 35558 | @r{ @: j @summarykey{DEL} @: @: 27 @:calc-del-selection@:} |
| 35554 | @r{ @: j ' @:formula @: 27 @:calc-enter-selection@:} | 35559 | @r{ @: j ' @:formula @: 27 @:calc-enter-selection@:} |
| 35555 | @r{ @: j ` @:editing @: 27,30 @:calc-edit-selection@:} | 35560 | @r{ @: j ` @:editing @: 27,30 @:calc-edit-selection@:} |
| 35556 | @r{ @: j " @: @: 7,27 @:calc-sel-expand-formula@:} | 35561 | @r{ @: j " @: @: 7,27 @:calc-sel-expand-formula@:} |