aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoakim Verona2013-02-11 00:03:42 +0100
committerJoakim Verona2013-02-11 00:03:42 +0100
commit77f4834db1299b571b1fb3dfb120e5e50eec7cb1 (patch)
treeafe4035739ce5bd25799ed469f67939431ae91a3 /doc
parent33cc2cd4d53f845b7d1e681dbbe8166acdb652c3 (diff)
parenta4ba3963957c289a913b32bca9531aadcc3f377f (diff)
downloademacs-77f4834db1299b571b1fb3dfb120e5e50eec7cb1.tar.gz
emacs-77f4834db1299b571b1fb3dfb120e5e50eec7cb1.zip
auto upstream
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/trouble.texi2
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/keymaps.texi4
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/calc.texi36
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 @@
12013-02-10 Glenn Morris <rgm@gnu.org>
2
3 * trouble.texi (Checklist): Update bug keybinding.
4
12013-02-09 Eli Zaretskii <eliz@gnu.org> 52013-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
663address.) If you cannot send mail from inside Emacs, you can copy the 663address.) If you cannot send mail from inside Emacs, you can copy the
664text of your report to your normal mail client (if your system 664text of your report to your normal mail client (if your system
665supports it, you can type @kbd{C-c m} to have Emacs do this for you) 665supports it, you can type @kbd{C-c M-i} to have Emacs do this for you)
666and send it to that address. Or you can simply send an email to that 666and send it to that address. Or you can simply send an email to that
667address describing the problem. 667address 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 @@
12013-02-10 Glenn Morris <rgm@gnu.org>
2
3 * keymaps.texi (Creating Keymaps): Update make-keymap result.
4
12013-02-09 Eli Zaretskii <eliz@gnu.org> 52013-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
327event. The argument @var{prompt} specifies a 327event. The argument @var{prompt} specifies a
328prompt string, as in @code{make-sparse-keymap}. 328prompt 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 @@
12013-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
12013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz> 62013-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
27867input units. 27867input units.
27868 27868
27869If 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,
27871if you request units which are inconsistent with the original units, you will be warned about
27872it and no conversion will occur.
27873
27874One special exception is that if you specify a single unit name, and 27869One special exception is that if you specify a single unit name, and
27875a compatible unit appears somewhere in the units expression, then 27870a compatible unit appears somewhere in the units expression, then
27876that compatible unit will be converted to the new unit and the 27871that 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}.
27880The ``remainder unit'' @samp{cm} is left alone rather than being 27875The ``remainder unit'' @samp{cm} is left alone rather than being
27881changed to the base unit @samp{m}. 27876changed to the base unit @samp{m}.
27882 27877
27878If you want to disallow using inconsistent units, you can set the
27879customizable variable @code{calc-ensure-consistent-units} to @code{t}
27880(@pxref{Customizing Calc}). In this case, if you request units which
27881are inconsistent with the original units, you will be warned about it
27882and no conversion will occur.
27883
27883You can use explicit unit conversion instead of the @kbd{u s} command 27884You can use explicit unit conversion instead of the @kbd{u s} command
27884to gain more control over the units of the result of an expression. 27885to gain more control over the units of the result of an expression.
27885For example, given @samp{5 m + 23 mm}, you can type @kbd{u c m} or 27886For 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
27913If the value on the stack does not contain any units, @kbd{u c} will 27914If the value on the stack does not contain any units, @kbd{u c} will
27914prompt first for the old units which this value should be considered 27915prompt first for the old units which this value should be considered
27915to have, then for the new units. Assuming the old and new units you 27916to have, then for the new units. (If the value on the stack can be
27916give are consistent with each other, the result also will not contain 27917simplified so that it doesn't contain any units, like @samp{ft/in} can
27917any units. For example, @kbd{@w{u c} cm @key{RET} in @key{RET}} 27918be simplified to 12, then @kbd{u c} will still prompt for both old
27918converts the number 2 on the stack to 5.08. 27919units 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
27923consistent with each other, the result also will not contain any
27924units. For example, @kbd{@w{u c} cm @key{RET} in @key{RET}} converts
27925the 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
35694is @code{nil}. 35701is @code{nil}.
35695@end defvar 35702@end defvar
35696 35703
35704@defvar calc-allow-units-as-numbers
35705When converting units, the variable @code{calc-allow-units-as-numbers}
35706determines whether or not values which can be simplified so that
35707they don't contain units (such as @samp{ft/in} can be simplified to 12)
35708can be regarded as not containing units. If
35709@code{calc-allow-units-as-numbers} is non-@code{nil}, then @kbd{u c}
35710will prompt for both old units and new units when converting an expression
35711like @samp{ft/in}, otherwise @kbd{u c} will only prompt for the new units.
35712The 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
35698The variable @code{calc-undo-length} determines the number of undo 35716The variable @code{calc-undo-length} determines the number of undo
35699steps that Calc will keep track of when @code{calc-quit} is called. 35717steps that Calc will keep track of when @code{calc-quit} is called.