diff options
| author | Joakim Verona | 2013-02-11 00:03:42 +0100 |
|---|---|---|
| committer | Joakim Verona | 2013-02-11 00:03:42 +0100 |
| commit | 77f4834db1299b571b1fb3dfb120e5e50eec7cb1 (patch) | |
| tree | afe4035739ce5bd25799ed469f67939431ae91a3 /doc | |
| parent | 33cc2cd4d53f845b7d1e681dbbe8166acdb652c3 (diff) | |
| parent | a4ba3963957c289a913b32bca9531aadcc3f377f (diff) | |
| download | emacs-77f4834db1299b571b1fb3dfb120e5e50eec7cb1.tar.gz emacs-77f4834db1299b571b1fb3dfb120e5e50eec7cb1.zip | |
auto upstream
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/trouble.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/keymaps.texi | 4 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/calc.texi | 36 |
6 files changed, 44 insertions, 11 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index d2f44eabb0e..bcd9c0c0693 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-02-10 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * trouble.texi (Checklist): Update bug keybinding. | ||
| 4 | |||
| 1 | 2013-02-09 Eli Zaretskii <eliz@gnu.org> | 5 | 2013-02-09 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * msdog.texi (Text and Binary): Delete the description of | 7 | * msdog.texi (Text and Binary): Delete the description of |
diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi index 97c0ff97530..1c667bc56cb 100644 --- a/doc/emacs/trouble.texi +++ b/doc/emacs/trouble.texi | |||
| @@ -662,7 +662,7 @@ will be sent to the Emacs maintainers at @email{bug-gnu-emacs@@gnu.org}. | |||
| 662 | (If you want to suggest an improvement or new feature, use the same | 662 | (If you want to suggest an improvement or new feature, use the same |
| 663 | address.) If you cannot send mail from inside Emacs, you can copy the | 663 | address.) If you cannot send mail from inside Emacs, you can copy the |
| 664 | text of your report to your normal mail client (if your system | 664 | text of your report to your normal mail client (if your system |
| 665 | supports it, you can type @kbd{C-c m} to have Emacs do this for you) | 665 | supports it, you can type @kbd{C-c M-i} to have Emacs do this for you) |
| 666 | and send it to that address. Or you can simply send an email to that | 666 | and send it to that address. Or you can simply send an email to that |
| 667 | address describing the problem. | 667 | address describing the problem. |
| 668 | 668 | ||
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 90b2349387f..a61d84a77b1 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-02-10 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * keymaps.texi (Creating Keymaps): Update make-keymap result. | ||
| 4 | |||
| 1 | 2013-02-09 Eli Zaretskii <eliz@gnu.org> | 5 | 2013-02-09 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * modes.texi (%-Constructs): Remove the description of %t. | 7 | * modes.texi (%-Constructs): Remove the description of %t. |
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi index 7c66bbec801..54211d1aa0b 100644 --- a/doc/lispref/keymaps.texi +++ b/doc/lispref/keymaps.texi | |||
| @@ -327,10 +327,12 @@ these characters to @code{nil}, and does not bind any other kind of | |||
| 327 | event. The argument @var{prompt} specifies a | 327 | event. The argument @var{prompt} specifies a |
| 328 | prompt string, as in @code{make-sparse-keymap}. | 328 | prompt string, as in @code{make-sparse-keymap}. |
| 329 | 329 | ||
| 330 | @c This example seems kind of pointless, but I guess it serves | ||
| 331 | @c to contrast the result with make-sparse-keymap above. | ||
| 330 | @example | 332 | @example |
| 331 | @group | 333 | @group |
| 332 | (make-keymap) | 334 | (make-keymap) |
| 333 | @result{} (keymap #^[t nil nil nil @dots{} nil nil keymap]) | 335 | @result{} (keymap #^[nil nil keymap nil nil nil @dots{}]) |
| 334 | @end group | 336 | @end group |
| 335 | @end example | 337 | @end example |
| 336 | 338 | ||
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index c0a454d31b5..11ff3700da4 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com> | ||
| 2 | |||
| 3 | * calc.texi (Basic Operations on Units): | ||
| 4 | (Customizing Calc): Mention the variable `calc-allow-units-as-numbers'. | ||
| 5 | |||
| 1 | 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz> | 6 | 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz> |
| 2 | 7 | ||
| 3 | * eshell.texi: Fill most of the missing sections. | 8 | * eshell.texi: Fill most of the missing sections. |
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index a5514867a99..da018acffe9 100644 --- a/doc/misc/calc.texi +++ b/doc/misc/calc.texi | |||
| @@ -27866,11 +27866,6 @@ acres per meter-second.) Remainder units are expressed in terms of | |||
| 27866 | ``fundamental'' units like @samp{m} and @samp{s}, regardless of the | 27866 | ``fundamental'' units like @samp{m} and @samp{s}, regardless of the |
| 27867 | input units. | 27867 | input units. |
| 27868 | 27868 | ||
| 27869 | If you want to disallow using inconsistent units, you can set the customizable variable | ||
| 27870 | @code{calc-ensure-consistent-units} to @code{t} (@pxref{Customizing Calc}). In this case, | ||
| 27871 | if you request units which are inconsistent with the original units, you will be warned about | ||
| 27872 | it and no conversion will occur. | ||
| 27873 | |||
| 27874 | One special exception is that if you specify a single unit name, and | 27869 | One special exception is that if you specify a single unit name, and |
| 27875 | a compatible unit appears somewhere in the units expression, then | 27870 | a compatible unit appears somewhere in the units expression, then |
| 27876 | that compatible unit will be converted to the new unit and the | 27871 | that compatible unit will be converted to the new unit and the |
| @@ -27880,6 +27875,12 @@ change the @samp{s} to @samp{ms} to get @samp{9.8e-4 cm/ms^2}. | |||
| 27880 | The ``remainder unit'' @samp{cm} is left alone rather than being | 27875 | The ``remainder unit'' @samp{cm} is left alone rather than being |
| 27881 | changed to the base unit @samp{m}. | 27876 | changed to the base unit @samp{m}. |
| 27882 | 27877 | ||
| 27878 | If you want to disallow using inconsistent units, you can set the | ||
| 27879 | customizable variable @code{calc-ensure-consistent-units} to @code{t} | ||
| 27880 | (@pxref{Customizing Calc}). In this case, if you request units which | ||
| 27881 | are inconsistent with the original units, you will be warned about it | ||
| 27882 | and no conversion will occur. | ||
| 27883 | |||
| 27883 | You can use explicit unit conversion instead of the @kbd{u s} command | 27884 | You can use explicit unit conversion instead of the @kbd{u s} command |
| 27884 | to gain more control over the units of the result of an expression. | 27885 | to gain more control over the units of the result of an expression. |
| 27885 | For example, given @samp{5 m + 23 mm}, you can type @kbd{u c m} or | 27886 | For example, given @samp{5 m + 23 mm}, you can type @kbd{u c m} or |
| @@ -27912,10 +27913,16 @@ Composite units are expanded as if by @kbd{a x}, so that | |||
| 27912 | 27913 | ||
| 27913 | If the value on the stack does not contain any units, @kbd{u c} will | 27914 | If the value on the stack does not contain any units, @kbd{u c} will |
| 27914 | prompt first for the old units which this value should be considered | 27915 | prompt first for the old units which this value should be considered |
| 27915 | to have, then for the new units. Assuming the old and new units you | 27916 | to have, then for the new units. (If the value on the stack can be |
| 27916 | give are consistent with each other, the result also will not contain | 27917 | simplified so that it doesn't contain any units, like @samp{ft/in} can |
| 27917 | any units. For example, @kbd{@w{u c} cm @key{RET} in @key{RET}} | 27918 | be simplified to 12, then @kbd{u c} will still prompt for both old |
| 27918 | converts the number 2 on the stack to 5.08. | 27919 | units and new units. You can ignore the prompt for old units with |
| 27920 | @key{RET}, or turn off the prompt by setting the customizable variable | ||
| 27921 | @code{calc-allow-units-as-numbers} to @code{nil}. | ||
| 27922 | @pxref{Customizing Calc}) Assuming the old and new units you give are | ||
| 27923 | consistent with each other, the result also will not contain any | ||
| 27924 | units. For example, @kbd{@w{u c} cm @key{RET} in @key{RET}} converts | ||
| 27925 | the number 2 on the stack to 5.08. | ||
| 27919 | 27926 | ||
| 27920 | @kindex u b | 27927 | @kindex u b |
| 27921 | @pindex calc-base-units | 27928 | @pindex calc-base-units |
| @@ -35694,6 +35701,17 @@ have different dimensions. The default value of @code{calc-ensure-consistent-uni | |||
| 35694 | is @code{nil}. | 35701 | is @code{nil}. |
| 35695 | @end defvar | 35702 | @end defvar |
| 35696 | 35703 | ||
| 35704 | @defvar calc-allow-units-as-numbers | ||
| 35705 | When converting units, the variable @code{calc-allow-units-as-numbers} | ||
| 35706 | determines whether or not values which can be simplified so that | ||
| 35707 | they don't contain units (such as @samp{ft/in} can be simplified to 12) | ||
| 35708 | can be regarded as not containing units. If | ||
| 35709 | @code{calc-allow-units-as-numbers} is non-@code{nil}, then @kbd{u c} | ||
| 35710 | will prompt for both old units and new units when converting an expression | ||
| 35711 | like @samp{ft/in}, otherwise @kbd{u c} will only prompt for the new units. | ||
| 35712 | The default value of @code{calc-allow-units-as-numbers} is @code{t}. | ||
| 35713 | @end defvar | ||
| 35714 | |||
| 35697 | @defvar calc-undo-length | 35715 | @defvar calc-undo-length |
| 35698 | The variable @code{calc-undo-length} determines the number of undo | 35716 | The variable @code{calc-undo-length} determines the number of undo |
| 35699 | steps that Calc will keep track of when @code{calc-quit} is called. | 35717 | steps that Calc will keep track of when @code{calc-quit} is called. |