aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefan Monnier2011-03-21 12:42:16 -0400
committerStefan Monnier2011-03-21 12:42:16 -0400
commitcafdcef32d55cbb44389d7e322e7f973cbb72dfd (patch)
tree7ee0c41ea8a589650ce6f4311fb10e61a63807b9 /doc
parenta08a25d7aaf251aa18f2ef747be53734bc55cae9 (diff)
parent4e05e67e4cd0bc1b0a4ef3176a4d0d91c6b3738e (diff)
downloademacs-cafdcef32d55cbb44389d7e322e7f973cbb72dfd.tar.gz
emacs-cafdcef32d55cbb44389d7e322e7f973cbb72dfd.zip
Merge from trunk
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog37
-rw-r--r--doc/emacs/Makefile.in2
-rw-r--r--doc/emacs/ack.texi26
-rw-r--r--doc/emacs/building.texi2
-rw-r--r--doc/emacs/custom.texi2
-rw-r--r--doc/emacs/display.texi3
-rw-r--r--doc/emacs/emacs.texi26
-rw-r--r--doc/emacs/makefile.w32-in2
-rw-r--r--doc/emacs/msdog.texi53
-rw-r--r--doc/emacs/mule.texi2
-rw-r--r--doc/emacs/search.texi8
-rw-r--r--doc/emacs/xresources.texi7
-rw-r--r--doc/lispref/ChangeLog.trunk34
-rw-r--r--doc/lispref/Makefile.in2
-rw-r--r--doc/lispref/elisp.texi2
-rw-r--r--doc/lispref/intro.texi4
-rw-r--r--doc/lispref/keymaps.texi14
-rw-r--r--doc/lispref/makefile.w32-in3
-rw-r--r--doc/lispref/modes.texi2
-rw-r--r--doc/lispref/nonascii.texi2
-rw-r--r--doc/lispref/package.texi101
-rw-r--r--doc/lispref/strings.texi4
-rw-r--r--doc/misc/ChangeLog51
-rw-r--r--doc/misc/Makefile.in13
-rw-r--r--doc/misc/auth.texi74
-rw-r--r--doc/misc/calc.texi235
-rw-r--r--doc/misc/message.texi28
-rw-r--r--doc/misc/tramp.texi29
-rw-r--r--doc/misc/trampver.texi2
29 files changed, 551 insertions, 219 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index dfdef6a0b05..a30ffc07971 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,40 @@
12011-03-12 Eli Zaretskii <eliz@gnu.org>
2
3 * msdog.texi (Windows HOME): Fix the wording to clarify how Emacs sets
4 HOME on Windows and where it looks for init files. (Bug#8221)
5
62011-03-10 Eli Zaretskii <eliz@gnu.org>
7
8 * search.texi (Regexp Example):
9 * mule.texi (International Chars):
10 * building.texi (External Lisp): Don't use characters outside
11 ISO-8859-1.
12
132011-03-09 Eli Zaretskii <eliz@gnu.org>
14
15 * ack.texi (Acknowledgments): Convert to ISO-8859-1 encoding. Use
16 Texinfo @-commands for non Latin-1 characters.
17
18 * makefile.w32-in (MAKEINFO_OPTS): Add --enable-encoding.
19
20 * custom.texi (Init File): Add index entries for ".emacs".
21 (Bug#8210)
22
232011-03-08 Jan Djärv <jan.h.d@swipnet.se>
24
25 * xresources.texi (GTK resources): ~/.emacs.d/gtkrc does not work
26 for Gtk+ 3.
27
282011-03-08 Glenn Morris <rgm@gnu.org>
29
30 * Makefile.in (MAKEINFO_OPTS): Add --enable-encoding.
31 * emacs.texi (Acknowledgments):
32 * ack.texi (Acknowledgments): Names to UTF-8.
33 * emacs.texi: Set documentencoding.
34
35 * display.texi (Optional Mode Line): Don't mention exactly where
36 display-time appears. (Bug#8193)
37
12011-03-06 Chong Yidong <cyd@stupidchicken.com> 382011-03-06 Chong Yidong <cyd@stupidchicken.com>
2 39
3 * search.texi (Isearch Yank): C-y now bound to isearch-yank-kill. 40 * search.texi (Isearch Yank): C-y now bound to isearch-yank-kill.
diff --git a/doc/emacs/Makefile.in b/doc/emacs/Makefile.in
index 0ba396e6427..ae142dba6e6 100644
--- a/doc/emacs/Makefile.in
+++ b/doc/emacs/Makefile.in
@@ -38,7 +38,7 @@ texinfodir = $(srcdir)/../misc
38# The makeinfo program is part of the Texinfo distribution. 38# The makeinfo program is part of the Texinfo distribution.
39# Use --force so that it generates output even if there are errors. 39# Use --force so that it generates output even if there are errors.
40MAKEINFO = @MAKEINFO@ 40MAKEINFO = @MAKEINFO@
41MAKEINFO_OPTS = --force -I $(srcdir) 41MAKEINFO_OPTS = --force --enable-encoding -I $(srcdir)
42 42
43TEXI2DVI = texi2dvi 43TEXI2DVI = texi2dvi
44TEXI2PDF = texi2pdf 44TEXI2PDF = texi2pdf
diff --git a/doc/emacs/ack.texi b/doc/emacs/ack.texi
index d49fd7b7c60..debe7149cb5 100644
--- a/doc/emacs/ack.texi
+++ b/doc/emacs/ack.texi
@@ -1,3 +1,4 @@
1@c -*- coding: iso-latin-1 -*-
1@c This is part of the Emacs manual. 2@c This is part of the Emacs manual.
2@c Copyright (C) 1994-1997, 1999-2011 Free Software Foundation, Inc. 3@c Copyright (C) 1994-1997, 1999-2011 Free Software Foundation, Inc.
3@c See file emacs.texi for copying conditions. 4@c See file emacs.texi for copying conditions.
@@ -51,7 +52,7 @@ files.
51Michael Albinus wrote @file{dbus.el}, a package that implements the 52Michael Albinus wrote @file{dbus.el}, a package that implements the
52D-Bus message bus protocol; @file{zeroconf.el}, a mode for browsing 53D-Bus message bus protocol; @file{zeroconf.el}, a mode for browsing
53Avahi services; and @file{xesam.el}, a Xesam-based search engine 54Avahi services; and @file{xesam.el}, a Xesam-based search engine
54interface. He and Kai Gro@ss{}johann wrote the Tramp package, which 55interface. He and Kai Grojohann wrote the Tramp package, which
55provides transparent remote file editing using rcp, ssh, ftp, and 56provides transparent remote file editing using rcp, ssh, ftp, and
56other network protocols. He and Daniel Pittman wrote 57other network protocols. He and Daniel Pittman wrote
57@file{tramp-cache.el}. 58@file{tramp-cache.el}.
@@ -190,7 +191,7 @@ prior to Emacs 23 for Mac OS.
190@item 191@item
191Chong Yidong was the Emacs co-maintainer for Emacs 23. He made many 192Chong Yidong was the Emacs co-maintainer for Emacs 23. He made many
192improvements to the Emacs display engine; and, together with Kai 193improvements to the Emacs display engine; and, together with Kai
193Gro@ss{}johann and Alex Schroeder, wrote @file{longlines.el}, a minor 194Grojohann and Alex Schroeder, wrote @file{longlines.el}, a minor
194mode for wrapping long lines. 195mode for wrapping long lines.
195 196
196@item 197@item
@@ -248,7 +249,7 @@ text replace the current selection.
248Eric Ding wrote @file{goto-addr.el}, 249Eric Ding wrote @file{goto-addr.el},
249 250
250@item 251@item
251Jan Dj@"{a}rv added support for the GTK+ toolkit and X drag-and-drop. 252Jan Djrv added support for the GTK+ toolkit and X drag-and-drop.
252 253
253@item 254@item
254Carsten Dominik wrote Ref@TeX{}, a package for setting up labels and 255Carsten Dominik wrote Ref@TeX{}, a package for setting up labels and
@@ -283,7 +284,7 @@ folders have mail waiting in them; and @file{iswitchb.el}, a feature
283for incremental reading and completion of buffer names. 284for incremental reading and completion of buffer names.
284 285
285@item 286@item
286Torbj@"orn Einarsson wrote @file{f90.el}, a mode for Fortran 90 files. 287Torbjrn Einarsson wrote @file{f90.el}, a mode for Fortran 90 files.
287 288
288@item 289@item
289Tsugutomo Enami co-wrote the support for international character sets. 290Tsugutomo Enami co-wrote the support for international character sets.
@@ -349,7 +350,7 @@ Kevin Gallo added multiple-frame support for Windows NT and wrote
349@file{w32-win.el}, support functions for the MS-Windows window system. 350@file{w32-win.el}, support functions for the MS-Windows window system.
350 351
351@item 352@item
352Juan Le@'{o}n Lahoz Garc@'{i}a wrote @file{wdired.el}, a package for 353Juan Len Lahoz Garca wrote @file{wdired.el}, a package for
353performing file operations by directly editing Dired buffers. 354performing file operations by directly editing Dired buffers.
354 355
355@item 356@item
@@ -483,8 +484,8 @@ Emacs: @file{dns.el} for Domain Name Service lookups;
483@file{netrc.el} for parsing of @file{.netrc} files; and 484@file{netrc.el} for parsing of @file{.netrc} files; and
484@file{time-date.el} for general date and time handling. Components of 485@file{time-date.el} for general date and time handling. Components of
485Gnus have also been written by: Nagy Andras, David Blacka, Scott Byer, 486Gnus have also been written by: Nagy Andras, David Blacka, Scott Byer,
486Kevin Greiner, Kai Gro@ss{}johann, Joe Hildebrand, Paul Jarc, Sascha 487Kevin Greiner, Kai Grojohann, Joe Hildebrand, Paul Jarc, Sascha
487L@"{u}decke, David Moore, Jim Radford, Benjamin Rutt, Raymond Scholz, 488Ldecke, David Moore, Jim Radford, Benjamin Rutt, Raymond Scholz,
488Thomas Steffen, Reiner Steib, Didier Verna, Ilja Weis, Katsumi Yamaoka, 489Thomas Steffen, Reiner Steib, Didier Verna, Ilja Weis, Katsumi Yamaoka,
489Teodor Zlatanov, and others (@pxref{Contributors,,,gnus, the Gnus Manual}). 490Teodor Zlatanov, and others (@pxref{Contributors,,,gnus, the Gnus Manual}).
490 491
@@ -524,7 +525,7 @@ S/MIME and Sieve components; and @file{tls.el} and @file{starttls.el}
524for the Transport Layer Security protocol. 525for the Transport Layer Security protocol.
525 526
526@item 527@item
527Arne J@o{}rgensen wrote @file{latexenc.el}, a package to 528Arne Jrgensen wrote @file{latexenc.el}, a package to
528automatically guess the correct coding system in LaTeX files. 529automatically guess the correct coding system in LaTeX files.
529 530
530@item 531@item
@@ -576,7 +577,7 @@ files and running a PostScript interpreter interactively from within
576Emacs. 577Emacs.
577 578
578@item 579@item
579Karel Kl@'{@dotless{i}}@v{c} contributed SELinux support, for preserving the 580Karel Kl@v{c} contributed SELinux support, for preserving the
580Security-Enchanced Linux context of files on backup and copy. 581Security-Enchanced Linux context of files on backup and copy.
581 582
582@item 583@item
@@ -667,9 +668,8 @@ directory-local variables; and the @code{info-finder} feature that
667creates a virtual Info manual of package keywords. 668creates a virtual Info manual of package keywords.
668 669
669@item 670@item
670K@'{a}roly L@H{o}rentey wrote the ``multi-terminal'' code, which 671Kroly L@H{o}rentey wrote the ``multi-terminal'' code, which allows Emacs to
671allows Emacs to run on graphical and text-only terminals 672run on graphical and text-only terminals simultaneously.
672simultaneously.
673 673
674@item 674@item
675Martin Lorentzon wrote @file{vc-annotate.el}, support for version 675Martin Lorentzon wrote @file{vc-annotate.el}, support for version
@@ -933,7 +933,7 @@ Fred Pierresteguy and Paul Reilly made Emacs work with X Toolkit
933widgets. 933widgets.
934 934
935@item 935@item
936Fran@,{c}ois Pinard, Greg McGary, and Bruno Haible wrote @file{po.el}, 936Franois Pinard, Greg McGary, and Bruno Haible wrote @file{po.el},
937support for PO translation files. 937support for PO translation files.
938 938
939@item 939@item
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi
index 1a02e92b67f..a07e7582011 100644
--- a/doc/emacs/building.texi
+++ b/doc/emacs/building.texi
@@ -1056,7 +1056,7 @@ Show file information or library names in threads buffer.
1056Show addresses for thread frames in threads buffer. 1056Show addresses for thread frames in threads buffer.
1057@end table 1057@end table
1058 1058
1059 Its possible to observe information for several threads 1059 It's possible to observe information for several threads
1060simultaneously (in addition to buffers which show information for 1060simultaneously (in addition to buffers which show information for
1061currently selected thread) using the following keys from the threads 1061currently selected thread) using the following keys from the threads
1062buffer. 1062buffer.
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index 9304e8bef08..7a696df319b 100644
--- a/doc/emacs/custom.texi
+++ b/doc/emacs/custom.texi
@@ -2114,6 +2114,8 @@ Reference Manual}.
2114@node Init File 2114@node Init File
2115@section The Init File, @file{~/.emacs} 2115@section The Init File, @file{~/.emacs}
2116@cindex init file 2116@cindex init file
2117@cindex .emacs file
2118@cindex ~/.emacs file
2117@cindex Emacs initialization file 2119@cindex Emacs initialization file
2118@cindex key rebinding, permanent 2120@cindex key rebinding, permanent
2119@cindex rebinding keys, permanently 2121@cindex rebinding keys, permanently
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi
index a21b660ee21..5eaf2e7e3ca 100644
--- a/doc/emacs/display.texi
+++ b/doc/emacs/display.texi
@@ -999,8 +999,7 @@ value is 200 characters.
999 Emacs can optionally display the time and system load in all mode 999 Emacs can optionally display the time and system load in all mode
1000lines. To enable this feature, type @kbd{M-x display-time} or customize 1000lines. To enable this feature, type @kbd{M-x display-time} or customize
1001the option @code{display-time-mode}. The information added to the mode 1001the option @code{display-time-mode}. The information added to the mode
1002line usually appears after the buffer name, before the mode names and 1002line looks like this:
1003their parentheses. It looks like this:
1004 1003
1005@example 1004@example
1006@var{hh}:@var{mm}pm @var{l.ll} 1005@var{hh}:@var{mm}pm @var{l.ll}
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index cd9a4602bf9..7ca6204a994 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -1,4 +1,4 @@
1\input texinfo 1\input texinfo @c -*- coding: iso-latin-1 -*-
2 2
3@setfilename ../../info/emacs 3@setfilename ../../info/emacs
4@settitle GNU Emacs Manual 4@settitle GNU Emacs Manual
@@ -29,6 +29,8 @@ developing GNU and promoting software freedom.''
29@end quotation 29@end quotation
30@end copying 30@end copying
31 31
32@documentencoding ISO-8859-1
33
32@dircategory Emacs 34@dircategory Emacs
33@direntry 35@direntry
34* Emacs: (emacs). The extensible self-documenting text editor. 36* Emacs: (emacs). The extensible self-documenting text editor.
@@ -1350,7 +1352,7 @@ Abrahamsson, Jay K.@: Adams, Michael Albinus, Nagy Andras, Ralf Angeli,
1350Joe Arceneaux, Miles Bader, David Bakhash, Juanma Barranquero, Eli 1352Joe Arceneaux, Miles Bader, David Bakhash, Juanma Barranquero, Eli
1351Barzilay, Thomas Baumann, Steven L.@: Baur, Jay Belanger, Alexander L.@: 1353Barzilay, Thomas Baumann, Steven L.@: Baur, Jay Belanger, Alexander L.@:
1352Belikoff, Boaz Ben-Zvi, Karl Berry, Anna M.@: Bigatti, Ray Blaak, Jim 1354Belikoff, Boaz Ben-Zvi, Karl Berry, Anna M.@: Bigatti, Ray Blaak, Jim
1353Blandy, Johan Bockg@aa{}rd, Jan Bcker, Lennart Borgman, Per Bothner, 1355Blandy, Johan Bockgrd, Jan Bcker, Lennart Borgman, Per Bothner,
1354Terrence Brannon, Frank Bresz, Peter Breton, Emmanuel Briot, Kevin 1356Terrence Brannon, Frank Bresz, Peter Breton, Emmanuel Briot, Kevin
1355Broadey, Vincent Broman, David M.@: Brown, Georges Brun-Cottan, Joe 1357Broadey, Vincent Broman, David M.@: Brown, Georges Brun-Cottan, Joe
1356Buehler, W@l{}odek Bzyl, Bill Carpenter, Per Cederqvist, Hans Chalupsky, 1358Buehler, W@l{}odek Bzyl, Bill Carpenter, Per Cederqvist, Hans Chalupsky,
@@ -1358,16 +1360,16 @@ Chong Yidong, Chris Chase, Bob Chassell, Andrew Choi, Sacha Chua, James
1358Clark, Mike Clarkson, Glynn Clements, Daniel Colascione, Andrew Csillag, 1360Clark, Mike Clarkson, Glynn Clements, Daniel Colascione, Andrew Csillag,
1359Baoqiu Cui, Doug Cutting, Mathias Dahl, Julien Danjou, Satyaki Das, 1361Baoqiu Cui, Doug Cutting, Mathias Dahl, Julien Danjou, Satyaki Das,
1360Vivek Dasmohapatra, Michael DeCorte, Gary Delp, Matthieu Devin, Eri 1362Vivek Dasmohapatra, Michael DeCorte, Gary Delp, Matthieu Devin, Eri
1361Ding, Jan Dj@"{a}rv, Carsten Dominik, Scott Draves, Benjamin Drieu, 1363Ding, Jan Djrv, Carsten Dominik, Scott Draves, Benjamin Drieu,
1362Viktor Dukhovni, Dmitry Dzhus, John Eaton, Rolf Ebert, Paul Eggert, 1364Viktor Dukhovni, Dmitry Dzhus, John Eaton, Rolf Ebert, Paul Eggert,
1363Stephen Eglen, Torbj@"orn Einarsson, Tsugutomo Enami, Hans Henrik 1365Stephen Eglen, Torbjrn Einarsson, Tsugutomo Enami, Hans Henrik
1364Eriksen, Michael Ernst, Ata Etemadi, Frederick Farnbach, Oscar 1366Eriksen, Michael Ernst, Ata Etemadi, Frederick Farnbach, Oscar
1365Figueiredo, Fred Fish, Karl Fogel, Gary Foster, Romain Francoise, Noah 1367Figueiredo, Fred Fish, Karl Fogel, Gary Foster, Romain Francoise, Noah
1366Friedman, Andreas Fuchs, Hallvard Furuseth, Keith Gabryelski, Peter S.@: 1368Friedman, Andreas Fuchs, Hallvard Furuseth, Keith Gabryelski, Peter S.@:
1367Galbraith, Kevin Gallagher, Kevin Gallo, Juan Le@'{o}n Lahoz 1369Galbraith, Kevin Gallagher, Kevin Gallo, Juan Len Lahoz
1368Garc@'{@dotless{i}}a, Howard Gayle, Daniel German, Stephen Gildea, 1370Garca, Howard Gayle, Daniel German, Stephen Gildea,
1369Julien Gilles, David Gillespie, Bob Glickstein, Deepak Goel, Boris 1371Julien Gilles, David Gillespie, Bob Glickstein, Deepak Goel, Boris
1370Goldowsky, Michelangelo Grigni, Odd Gripenstam, Kai Gro@ss{}johann, 1372Goldowsky, Michelangelo Grigni, Odd Gripenstam, Kai Grojohann,
1371Michael Gschwind, Bastien Guerry, Henry Guillaume, Doug Gwyn, Ken'ichi 1373Michael Gschwind, Bastien Guerry, Henry Guillaume, Doug Gwyn, Ken'ichi
1372Handa, Lars Hansen, Chris Hanson, K. Shane Hartman, John Heidemann, Jon 1374Handa, Lars Hansen, Chris Hanson, K. Shane Hartman, John Heidemann, Jon
1373K.@: Hellan, Jesper Harder, Magnus Henoch, Markus Heritsch, Karl Heuer, 1375K.@: Hellan, Jesper Harder, Magnus Henoch, Markus Heritsch, Karl Heuer,
@@ -1375,17 +1377,17 @@ Manabu Higashida, Anders Holst, Jeffrey C.@: Honig, Tassilo Horn, Kurt
1375Hornik, Tom Houlder, Joakim Hove, Denis Howe, Lars Ingebrigtsen, Andrew 1377Hornik, Tom Houlder, Joakim Hove, Denis Howe, Lars Ingebrigtsen, Andrew
1376Innes, Seiichiro Inoue, Philip Jackson, Pavel Janik, Paul Jarc, Ulf 1378Innes, Seiichiro Inoue, Philip Jackson, Pavel Janik, Paul Jarc, Ulf
1377Jasper, Michael K. Johnson, Kyle Jones, Terry Jones, Simon Josefsson, 1379Jasper, Michael K. Johnson, Kyle Jones, Terry Jones, Simon Josefsson,
1378Arne J@o{}rgensen, Tomoji Kagatani, Brewster Kahle, Tokuya Kameshima, 1380Arne Jrgensen, Tomoji Kagatani, Brewster Kahle, Tokuya Kameshima,
1379Lute Kamstra, David Kastrup, David Kaufman, Henry Kautz, Taichi 1381Lute Kamstra, David Kastrup, David Kaufman, Henry Kautz, Taichi
1380Kawabata, Howard Kaye, Michael Kifer, Richard King, Peter Kleiweg, Karel 1382Kawabata, Howard Kaye, Michael Kifer, Richard King, Peter Kleiweg, Karel
1381Kl@'{@dotless{i}}@v{c}, Shuhei Kobayashi, Pavel Kobiakov, Larry K.@: 1383Kl@v{c}, Shuhei Kobayashi, Pavel Kobiakov, Larry K.@:
1382Kolodney, David M.@: Koppelman, Koseki Yoshinori, Robert Krawitz, 1384Kolodney, David M.@: Koppelman, Koseki Yoshinori, Robert Krawitz,
1383Sebastian Kremer, Ryszard Kubiak, David K@aa{}gedal, Daniel LaLiberte, 1385Sebastian Kremer, Ryszard Kubiak, David Kgedal, Daniel LaLiberte,
1384Karl Landstrom, Mario Lang, Aaron Larson, James R.@: Larus, Vinicius 1386Karl Landstrom, Mario Lang, Aaron Larson, James R.@: Larus, Vinicius
1385Jose Latorre, Werner Lemberg, Frederic Lepied, Peter Liljenberg, Lars 1387Jose Latorre, Werner Lemberg, Frederic Lepied, Peter Liljenberg, Lars
1386Lindberg, Chris Lindblad, Anders Lindgren, Thomas Link, Juri Linkov, 1388Lindberg, Chris Lindblad, Anders Lindgren, Thomas Link, Juri Linkov,
1387Francis Litterio, Emilio C. Lopes, K@'{a}roly L@H{o}rentey, Dave Love, 1389Francis Litterio, Emilio C. Lopes, Kroly L@H{o}rentey, Dave Love,
1388Sascha L@"{u}decke, Eric Ludlam, Alan Mackenzie, Christopher J.@: 1390Sascha Ldecke, Eric Ludlam, Alan Mackenzie, Christopher J.@:
1389Madsen, Neil M.@: Mager, Ken Manheimer, Bill Mann, Brian Marick, Simon 1391Madsen, Neil M.@: Mager, Ken Manheimer, Bill Mann, Brian Marick, Simon
1390Marshall, Bengt Martensson, Charlie Martin, Thomas May, Roland McGrath, 1392Marshall, Bengt Martensson, Charlie Martin, Thomas May, Roland McGrath,
1391Will Mengarini, David Megginson, Ben A. Mesander, Wayne Mesard, Brad 1393Will Mengarini, David Megginson, Ben A. Mesander, Wayne Mesard, Brad
diff --git a/doc/emacs/makefile.w32-in b/doc/emacs/makefile.w32-in
index bbbcaf0528b..ad976468be9 100644
--- a/doc/emacs/makefile.w32-in
+++ b/doc/emacs/makefile.w32-in
@@ -28,7 +28,7 @@ infodir = $(srcdir)/../../info
28 28
29# The makeinfo program is part of the Texinfo distribution. 29# The makeinfo program is part of the Texinfo distribution.
30MAKEINFO = makeinfo 30MAKEINFO = makeinfo
31MAKEINFO_OPTS = --force -I$(srcdir) 31MAKEINFO_OPTS = --force --enable-encoding -I$(srcdir)
32MULTI_INSTALL_INFO = $(srcdir)\..\..\nt\multi-install-info.bat 32MULTI_INSTALL_INFO = $(srcdir)\..\..\nt\multi-install-info.bat
33INFO_TARGETS = $(infodir)/emacs 33INFO_TARGETS = $(infodir)/emacs
34DVI_TARGETS = emacs.dvi 34DVI_TARGETS = emacs.dvi
diff --git a/doc/emacs/msdog.texi b/doc/emacs/msdog.texi
index 7358773485d..0a454db86bb 100644
--- a/doc/emacs/msdog.texi
+++ b/doc/emacs/msdog.texi
@@ -404,36 +404,45 @@ names, which might cause misalignment of columns in Dired display.
404@dfn{user-specific application data directory}. The actual location 404@dfn{user-specific application data directory}. The actual location
405depends on your Windows version and system configuration; typical values 405depends on your Windows version and system configuration; typical values
406are @file{C:\Documents and Settings\@var{username}\Application Data} on 406are @file{C:\Documents and Settings\@var{username}\Application Data} on
407Windows 2K/XP and later, and either @file{C:\WINDOWS\Application Data} 407Windows 2K/XP/2K3, @file{C:\Users\@var{username}\AppData\Roaming} on
408Windows Vista/7/2K8, and either @file{C:\WINDOWS\Application Data}
408or @file{C:\WINDOWS\Profiles\@var{username}\Application Data} on the 409or @file{C:\WINDOWS\Profiles\@var{username}\Application Data} on the
409older Windows 9X/ME systems. 410older Windows 9X/ME systems. If this directory does not exist or
410 411cannot be accessed, Emacs falls back to @file{C:\} as the default
411 @code{HOME} can also be set in the system registry, for details see 412value of @code{HOME}.
413
414 You can override this default value of @code{HOME} by explicitly
415setting the environment variable @env{HOME} to point to any directory
416on your system. @env{HOME} can be set either from the command shell
417prompt or from the @samp{My Computer}s @samp{Properties} dialog.
418@code{HOME} can also be set in the system registry, for details see
412@ref{MS-Windows Registry}. 419@ref{MS-Windows Registry}.
413 420
414@cindex init file @file{.emacs} on MS-Windows 421 For compatibility with older versions of Emacs@footnote{
415 The home directory is where your init file @file{.emacs} is stored. 422Older versions of Emacs didn't check the application data directory.
416When Emacs starts, it first checks whether the environment variable 423}, if there is a file named @file{.emacs} in @file{C:\}, the root
417@env{HOME} is set. If it is, it looks for the init file in the 424directory of drive @file{C:}, and @env{HOME} is set neither in the
418directory pointed by @env{HOME}. If @env{HOME} is not defined, Emacs 425environment nor in the Registry, Emacs will treat @file{C:\} as the
419checks for an existing @file{.emacs} file in @file{C:\}, the root 426default @code{HOME} location, and will not look in the application
420directory of drive @file{C:}@footnote{ 427data directory, even if it exists. Note that only @file{.emacs} is
421The check in @file{C:\} is for compatibility with older versions of Emacs, 428looked for in @file{C:\}; the older name @file{_emacs} (see below) is
422which didn't check the application data directory. 429not. This use of @file{C:\.emacs} to define @code{HOME} is
423}. If there's no such file in @file{C:\}, Emacs next uses the Windows 430deprecated.
424system calls to find out the exact location of your application data 431
425directory. If that system call fails, Emacs falls back to @file{C:\}. 432 Whatever the final place is, Emacs sets the internal value of the
426 433@env{HOME} environment variable to point to it, and it will use that
427 Whatever the final place is, Emacs sets the value of the @env{HOME} 434location for other files and directories it normally looks for or
428environment variable to point to it, and it will use that location for 435creates in the user's home directory.
429other files and directories it normally creates in the user's home
430directory.
431 436
432 You can always find out where Emacs thinks is your home directory's 437 You can always find out where Emacs thinks is your home directory's
433location by typing @kbd{C-x d ~/ @key{RET}}. This should present the 438location by typing @kbd{C-x d ~/ @key{RET}}. This should present the
434list of files in the home directory, and show its full name on the 439list of files in the home directory, and show its full name on the
435first line. Likewise, to visit your init file, type @kbd{C-x C-f 440first line. Likewise, to visit your init file, type @kbd{C-x C-f
436~/.emacs @key{RET}}. 441~/.emacs @key{RET}} (assuming the file's name is @file{.emacs}).
442
443@cindex init file @file{.emacs} on MS-Windows
444 The home directory is where your init file is stored. It can have
445any name mentioned in @ref{Init File}.
437 446
438@cindex @file{_emacs} init file, MS-Windows 447@cindex @file{_emacs} init file, MS-Windows
439 Because MS-DOS does not allow file names with leading dots, and 448 Because MS-DOS does not allow file names with leading dots, and
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi
index 22c155d26de..e12ec707063 100644
--- a/doc/emacs/mule.texi
+++ b/doc/emacs/mule.texi
@@ -237,7 +237,7 @@ preferred charset: unicode (Unicode (ISO10646))
237Character code properties: customize what to show 237Character code properties: customize what to show
238 name: LATIN CAPITAL LETTER A WITH GRAVE 238 name: LATIN CAPITAL LETTER A WITH GRAVE
239 general-category: Lu (Letter, Uppercase) 239 general-category: Lu (Letter, Uppercase)
240 decomposition: (65 768) ('A' '̀') 240 decomposition: (65 768) ('A' '`')
241 old-name: LATIN CAPITAL LETTER A GRAVE 241 old-name: LATIN CAPITAL LETTER A GRAVE
242 242
243There are text properties here: 243There are text properties here:
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index 9fdccc3218d..b5d426210aa 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -917,13 +917,13 @@ setting of the syntax table (@pxref{Syntax}).
917@node Regexp Example 917@node Regexp Example
918@section Regular Expression Example 918@section Regular Expression Example
919 919
920 Here is an example of a regexp---the regexp that Emacs uses, by 920 Here is an example of a regexp---similar to the regexp that Emacs
921default, to recognize the end of a sentence, not including the 921uses, by default, to recognize the end of a sentence, not including
922following space (i.e., the variable @code{sentence-end-base}): 922the following space (i.e., the variable @code{sentence-end-base}):
923 923
924@example 924@example
925@verbatim 925@verbatim
926[.?!][]\"'””)}]* 926[.?!][]\"')}]*
927@end verbatim 927@end verbatim
928@end example 928@end example
929 929
diff --git a/doc/emacs/xresources.texi b/doc/emacs/xresources.texi
index 41a09a5f713..33ea83d7d6e 100644
--- a/doc/emacs/xresources.texi
+++ b/doc/emacs/xresources.texi
@@ -660,8 +660,11 @@ The color for the border shadow, on the top and the left.
660@iftex 660@iftex
661 The most common way to customize the GTK widgets Emacs uses (menus, dialogs 661 The most common way to customize the GTK widgets Emacs uses (menus, dialogs
662tool bars and scroll bars) is by choosing an appropriate theme, for example 662tool bars and scroll bars) is by choosing an appropriate theme, for example
663with the GNOME theme selector. You can also do Emacs specific customization 663with the GNOME theme selector.
664by inserting GTK style directives in the file @file{~/.emacs.d/gtkrc}. Some GTK 664
665You can also do Emacs specific customization
666by inserting GTK style directives in the file @file{~/.emacs.d/gtkrc},
667but only if you have a Gtk+ version earlier than 3 (i.e. 2). Some GTK
665themes ignore customizations in @file{~/.emacs.d/gtkrc} so not everything 668themes ignore customizations in @file{~/.emacs.d/gtkrc} so not everything
666works with all themes. To customize Emacs font, background, faces, etc., use 669works with all themes. To customize Emacs font, background, faces, etc., use
667the normal X resources (@pxref{Resources}). We will present some examples of 670the normal X resources (@pxref{Resources}). We will present some examples of
diff --git a/doc/lispref/ChangeLog.trunk b/doc/lispref/ChangeLog.trunk
index 5d28a90136e..c705aae4934 100644
--- a/doc/lispref/ChangeLog.trunk
+++ b/doc/lispref/ChangeLog.trunk
@@ -1,3 +1,37 @@
12011-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * strings.texi (String Conversion): Don't mention
4 string-make-(uni|multi)byte (bug#8262).
5 * nonascii.texi (Converting Representations): Fix up range.
6 * keymaps.texi (Key Binding Commands): Update code point, avoid
7 "unibyte character" and remove mention of unibyte bindings.
8
92011-03-10 Eli Zaretskii <eliz@gnu.org>
10
11 * modes.texi (Operator Precedence Grammars): Don't use characters
12 outside ISO-8859-1.
13
142011-03-09 Eli Zaretskii <eliz@gnu.org>
15
16 * intro.texi (Acknowledgements): Convert to ISO-8859-1 encoding.
17
18 * makefile.w32-in (MAKEINFO_OPTS): Add --enable-encoding.
19
202011-03-08 Glenn Morris <rgm@gnu.org>
21
22 * Makefile.in (MAKEINFO_OPTS): Add --enable-encoding.
23 * intro.texi (Acknowledgements): Names to UTF-8.
24 * elisp.texi: Set documentencoding.
25
262011-03-06 Chong Yidong <cyd@stupidchicken.com>
27
28 * package.texi: Update index keywords.
29 (Package Archives): New node contents. Document package-x.el.
30
312011-03-06 Juanma Barranquero <lekktu@gmail.com>
32
33 * makefile.w32-in (srcs): Add package.texi.
34
12011-03-06 Chong Yidong <cyd@stupidchicken.com> 352011-03-06 Chong Yidong <cyd@stupidchicken.com>
2 36
3 * package.texi (Packaging, Packaging Basics, Simple Packages) 37 * package.texi (Packaging, Packaging Basics, Simple Packages)
diff --git a/doc/lispref/Makefile.in b/doc/lispref/Makefile.in
index d5427f6e477..75fa884224b 100644
--- a/doc/lispref/Makefile.in
+++ b/doc/lispref/Makefile.in
@@ -31,7 +31,7 @@ texinfodir = $(srcdir)/../misc
31emacsdir = $(srcdir)/../emacs 31emacsdir = $(srcdir)/../emacs
32 32
33MAKEINFO = @MAKEINFO@ 33MAKEINFO = @MAKEINFO@
34MAKEINFO_OPTS = --force -I $(emacsdir) -I $(srcdir) 34MAKEINFO_OPTS = --force --enable-encoding -I $(emacsdir) -I $(srcdir)
35TEXI2DVI = texi2dvi 35TEXI2DVI = texi2dvi
36TEXI2PDF = texi2pdf 36TEXI2PDF = texi2pdf
37DVIPS = dvips 37DVIPS = dvips
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi
index fc066526614..69c50ba42be 100644
--- a/doc/lispref/elisp.texi
+++ b/doc/lispref/elisp.texi
@@ -62,6 +62,8 @@ developing GNU and promoting software freedom.''
62@end quotation 62@end quotation
63@end copying 63@end copying
64 64
65@documentencoding ISO-8859-1
66
65@dircategory GNU Emacs Lisp 67@dircategory GNU Emacs Lisp
66@direntry 68@direntry
67* Elisp: (elisp). The Emacs Lisp Reference Manual. 69* Elisp: (elisp). The Emacs Lisp Reference Manual.
diff --git a/doc/lispref/intro.texi b/doc/lispref/intro.texi
index baa184004e2..7c070726023 100644
--- a/doc/lispref/intro.texi
+++ b/doc/lispref/intro.texi
@@ -1,4 +1,4 @@
1@c -*-texinfo-*- 1@c -*-coding: iso-latin-1-*-
2@c This is part of the GNU Emacs Lisp Reference Manual. 2@c This is part of the GNU Emacs Lisp Reference Manual.
3@c Copyright (C) 1990-1994, 2001-2011 Free Software Foundation, Inc. 3@c Copyright (C) 1990-1994, 2001-2011 Free Software Foundation, Inc.
4@c See the file elisp.texi for copying conditions. 4@c See the file elisp.texi for copying conditions.
@@ -542,6 +542,6 @@ Kirman, Bob Knighten, Frederick M. Korz, Joe Lammens, Glenn M. Lewis,
542K. Richard Magill, Brian Marick, Roland McGrath, Stefan Monnier, Skip 542K. Richard Magill, Brian Marick, Roland McGrath, Stefan Monnier, Skip
543Montanaro, John Gardiner Myers, Thomas A. Peterson, Francesco Potorti, 543Montanaro, John Gardiner Myers, Thomas A. Peterson, Francesco Potorti,
544Friedrich Pukelsheim, Arnold D. Robbins, Raul Rockwell, Jason Rumney, 544Friedrich Pukelsheim, Arnold D. Robbins, Raul Rockwell, Jason Rumney,
545Per Starb@"ack, Shinichirou Sugou, Kimmo Suominen, Edward Tharp, Bill 545Per Starbck, Shinichirou Sugou, Kimmo Suominen, Edward Tharp, Bill
546Trost, Rickard Westman, Jean White, Eduard Wiebe, Matthew Wilding, 546Trost, Rickard Westman, Jean White, Eduard Wiebe, Matthew Wilding,
547Carl Witty, Dale Worley, Rusty Wright, and David D. Zuhn. 547Carl Witty, Dale Worley, Rusty Wright, and David D. Zuhn.
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi
index af24ff5aa43..2648c22ca01 100644
--- a/doc/lispref/keymaps.texi
+++ b/doc/lispref/keymaps.texi
@@ -1705,15 +1705,11 @@ or
1705 1705
1706@noindent 1706@noindent
1707and your language environment is multibyte Latin-1, these commands 1707and your language environment is multibyte Latin-1, these commands
1708actually bind the multibyte character with code 2294, not the unibyte 1708actually bind the multibyte character with code 246, not the byte
1709Latin-1 character with code 246 (@kbd{M-v}). In order to use this 1709code 246 (@kbd{M-v}) sent by a Latin-1 terminal. In order to use this
1710binding, you need to enter the multibyte Latin-1 character as keyboard 1710binding, you need to teach Emacs how to decode the keyboard by using an
1711input. One way to do this is by using an appropriate input method 1711appropriate input method (@pxref{Input Methods, , Input Methods, emacs, The GNU
1712(@pxref{Input Methods, , Input Methods, emacs, The GNU Emacs Manual}). 1712Emacs Manual}).
1713
1714 If you want to use a unibyte character in the key binding, you can
1715construct the key sequence string using @code{multibyte-char-to-unibyte}
1716or @code{string-make-unibyte} (@pxref{Converting Representations}).
1717 1713
1718@deffn Command global-set-key key binding 1714@deffn Command global-set-key key binding
1719This function sets the binding of @var{key} in the current global map 1715This function sets the binding of @var{key} in the current global map
diff --git a/doc/lispref/makefile.w32-in b/doc/lispref/makefile.w32-in
index e0bcd21f2c0..7b88e861d67 100644
--- a/doc/lispref/makefile.w32-in
+++ b/doc/lispref/makefile.w32-in
@@ -33,7 +33,7 @@ texinfodir = $(srcdir)/../misc
33TEX=tex 33TEX=tex
34INSTALL_INFO = install-info 34INSTALL_INFO = install-info
35MAKEINFO = makeinfo 35MAKEINFO = makeinfo
36MAKEINFO_OPTS = --force -I$(srcdir) -I$(emacsdir) 36MAKEINFO_OPTS = --force --enable-encoding -I$(srcdir) -I$(emacsdir)
37 37
38# The environment variable and its value to add $(srcdir) to the path 38# The environment variable and its value to add $(srcdir) to the path
39# searched for TeX input files. 39# searched for TeX input files.
@@ -87,6 +87,7 @@ srcs = \
87 $(srcdir)/numbers.texi \ 87 $(srcdir)/numbers.texi \
88 $(srcdir)/objects.texi \ 88 $(srcdir)/objects.texi \
89 $(srcdir)/os.texi \ 89 $(srcdir)/os.texi \
90 $(srcdir)/package.texi \
90 $(srcdir)/positions.texi \ 91 $(srcdir)/positions.texi \
91 $(srcdir)/processes.texi \ 92 $(srcdir)/processes.texi \
92 $(srcdir)/searching.texi \ 93 $(srcdir)/searching.texi \
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index f238f38462f..f0a8985fa75 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -3403,7 +3403,7 @@ Such pairs of precedences are sufficient to express left-associativity
3403or right-associativity of infix operators, nesting of tokens like 3403or right-associativity of infix operators, nesting of tokens like
3404parentheses and many other cases. 3404parentheses and many other cases.
3405 3405
3406@c ¡Let's leave this undocumented to leave it more open for change! 3406@c Let's leave this undocumented to leave it more open for change!
3407@c @defvar smie-grammar 3407@c @defvar smie-grammar
3408@c The value of this variable is an alist specifying the left and right 3408@c The value of this variable is an alist specifying the left and right
3409@c precedence of each token. It is meant to be initialized by using one of 3409@c precedence of each token. It is meant to be initialized by using one of
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index 409ecc7e20c..6fcde611998 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -167,7 +167,7 @@ acceptable because the buffer's representation is a choice made by the
167user that cannot be overridden automatically. 167user that cannot be overridden automatically.
168 168
169 Converting unibyte text to multibyte text leaves @acronym{ASCII} 169 Converting unibyte text to multibyte text leaves @acronym{ASCII}
170characters unchanged, and converts bytes with codes 128 through 159 to 170characters unchanged, and converts bytes with codes 128 through 255 to
171the multibyte representation of raw eight-bit bytes. 171the multibyte representation of raw eight-bit bytes.
172 172
173 Converting multibyte text to unibyte converts all @acronym{ASCII} 173 Converting multibyte text to unibyte converts all @acronym{ASCII}
diff --git a/doc/lispref/package.texi b/doc/lispref/package.texi
index 4de44fe165d..62fbc2a9a07 100644
--- a/doc/lispref/package.texi
+++ b/doc/lispref/package.texi
@@ -5,7 +5,8 @@
5@setfilename ../../info/package 5@setfilename ../../info/package
6@node Packaging, Antinews, System Interface, Top 6@node Packaging, Antinews, System Interface, Top
7@chapter Preparing Lisp code for distribution 7@chapter Preparing Lisp code for distribution
8@cindex packaging 8@cindex package
9@cindex Lisp package
9 10
10 Emacs provides a standard way to distribute Emacs Lisp code to 11 Emacs provides a standard way to distribute Emacs Lisp code to
11users. A @dfn{package} is a collection of one or more files, 12users. A @dfn{package} is a collection of one or more files,
@@ -24,8 +25,11 @@ put it in a @dfn{package archive} for others to download.
24 25
25@node Packaging Basics 26@node Packaging Basics
26@section Packaging Basics 27@section Packaging Basics
27@cindex packaging basics
28@cindex package attributes 28@cindex package attributes
29@cindex package name
30@cindex package version
31@cindex dependencies
32@cindex package dependencies
29 33
30 A package is either a @dfn{simple package} or a @dfn{multi-file 34 A package is either a @dfn{simple package} or a @dfn{multi-file
31package}. A simple package is stored in a package archive as a single 35package}. A simple package is stored in a package archive as a single
@@ -69,6 +73,7 @@ installing this package also automatically installs its dependencies;
69if any dependency cannot be found, the package cannot be installed. 73if any dependency cannot be found, the package cannot be installed.
70@end table 74@end table
71 75
76@cindex content directory, package
72 Installing a package, either via the Package Menu, or via the 77 Installing a package, either via the Package Menu, or via the
73command @code{package-install-file}, creates a subdirectory of 78command @code{package-install-file}, creates a subdirectory of
74@code{package-user-dir} named @file{@var{name}-@var{version}}, where 79@code{package-user-dir} named @file{@var{name}-@var{version}}, where
@@ -78,6 +83,7 @@ package's @dfn{content directory}. It is where Emacs puts the
78package's contents (the single Lisp file for a simple package, or the 83package's contents (the single Lisp file for a simple package, or the
79files extracted from a multi-file package). 84files extracted from a multi-file package).
80 85
86@cindex package autoloads
81 Emacs then searches every Lisp file in the content directory for 87 Emacs then searches every Lisp file in the content directory for
82autoload magic comments (@pxref{Autoload}). These autoload 88autoload magic comments (@pxref{Autoload}). These autoload
83definitions are saved to a file named @file{@var{name}-autoloads.el} 89definitions are saved to a file named @file{@var{name}-autoloads.el}
@@ -98,7 +104,8 @@ typically called to begin using the package.
98 104
99@node Simple Packages 105@node Simple Packages
100@section Simple Packages 106@section Simple Packages
101@cindex single file packages 107@cindex single file package
108@cindex simple package
102 109
103 A simple package consists of a single Emacs Lisp source file. The 110 A simple package consists of a single Emacs Lisp source file. The
104file must conform to the Emacs Lisp library header conventions 111file must conform to the Emacs Lisp library header conventions
@@ -160,7 +167,7 @@ single-file package to a package archive.
160 167
161@node Multi-file Packages 168@node Multi-file Packages
162@section Multi-file Packages 169@section Multi-file Packages
163@cindex multi-file packages 170@cindex multi-file package
164 171
165 A multi-file package is less convenient to create than a single-file 172 A multi-file package is less convenient to create than a single-file
166package, but it offers more features: it can include multiple Emacs 173package, but it offers more features: it can include multiple Emacs
@@ -206,10 +213,10 @@ file is used as the long description.
206 If the content directory contains a file named @file{dir}, this is 213 If the content directory contains a file named @file{dir}, this is
207assumed to be an Info directory file made with @command{install-info}. 214assumed to be an Info directory file made with @command{install-info}.
208@xref{Invoking install-info, Invoking install-info, Invoking 215@xref{Invoking install-info, Invoking install-info, Invoking
209install-info, texinfo, Texinfo}. The Info files listed in this 216install-info, texinfo, Texinfo}. The relevant Info files should also
210directory file should also be present in the content directory. In 217be present in the content directory. In this case, Emacs will
211this case, Emacs will automatically add the content directory to 218automatically add the content directory to @code{Info-directory-list}
212@code{Info-directory-list} when the package is activated. 219when the package is activated.
213 220
214 Do not include any @file{.elc} files in the package. Those are 221 Do not include any @file{.elc} files in the package. Those are
215created when the package is installed. Note that there is no way to 222created when the package is installed. Note that there is no way to
@@ -234,5 +241,79 @@ variable @code{load-file-name} (@pxref{Loading}). Here is an example:
234 241
235@node Package Archives 242@node Package Archives
236@section Creating and Maintaining Package Archives 243@section Creating and Maintaining Package Archives
237 244@cindex package archive
238To be done. 245
246 Via the Package Menu, users may download packages from @dfn{package
247archives}. Such archives are specified by the variable
248@code{package-archives}, whose default value contains a single entry:
249the archive hosted by the GNU project at @url{elpa.gnu.org}. This
250section describes how to set up and maintain a package archive.
251
252@cindex base location, package archive
253@defopt package-archives
254The value of this variable is an alist of package archives recognized
255by the Emacs package manager.
256
257Each alist element corresponds to one archive, and should have the
258form @code{(@var{id} . @var{location})}, where @var{id} is the name of
259the archive (a string) and @var{location} is its @dfn{base location}
260(a string).
261
262If the base location starts with @samp{http:}, it is treated as a HTTP
263URL, and packages are downloaded from this archive via HTTP (as is the
264case for the default GNU archive).
265
266Otherwise, the base location should be a directory name. In this
267case, Emacs retrieves packages from this archive via ordinary file
268access. Such ``local'' archives are mainly useful for testing.
269@end defopt
270
271 A package archive is simply a directory in which the package files,
272and associated files, are stored. If you want the archive to be
273reachable via HTTP, this directory must be accessible to a web server.
274How to accomplish this is beyond the scope of this manual.
275
276 A convenient way to set up and update a package archive is via the
277@code{package-x} library. This is included with Emacs, but not loaded
278by default; type @kbd{M-x load-library @kbd{RET} package-x @kbd{RET}}
279to load it, or add @code{(require 'package-x)} to your init file.
280@xref{Lisp Libraries,, Lisp Libraries, emacs, The GNU Emacs Manual}.
281Once loaded, you can make use of the following:
282
283@defopt package-archive-upload-base
284The value of this variable is the base location of a package archive,
285as a directory name. The commands in the @code{package-x} library
286will use this base location.
287
288The directory name should be absolute. You may specify a remote name,
289such as @file{/ssh:foo@@example.com:/var/www/packages/}, if the
290package archive is on a different machine. @xref{Remote Files,,
291Remote Files, emacs, The GNU Emacs Manual}.
292@end defopt
293
294@deffn Command package-upload-file filename
295This command prompts for @var{filename}, a file name, and uploads that
296file to @code{package-archive-upload-base}. The file must be either a
297simple package (a @file{.el} file) or a multi-file package (a
298@file{.tar} file); otherwise, an error is raised. The package
299attributes are automatically extracted, and the archive's contents
300list is updated with this information.
301
302If @code{package-archive-upload-base} does not specify a valid
303directory, the function prompts interactively for one. If the
304directory does not exist, it is created. The directory need not have
305any initial contents (i.e., you can use this command to populate an
306initially empty archive).
307@end deffn
308
309@deffn Command package-upload-buffer
310This command is similar to @code{package-upload-file}, but instead of
311prompting for a package file, it uploads the contents of the current
312buffer. The current buffer must be visiting a simple package (a
313@file{.el} file) or a multi-file package (a @file{.tar} file);
314otherwise, an error is raised.
315@end deffn
316
317@noindent
318After you create an archive, remember that it is not accessible in the
319Package Menu interface unless it is in @code{package-archives}.
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index ce080bc221f..d062c215952 100644
--- a/doc/lispref/strings.texi
+++ b/doc/lispref/strings.texi
@@ -554,8 +554,8 @@ strings and integers. @code{format} (@pxref{Formatting Strings}) and
554@code{prin1-to-string} (@pxref{Output Functions}) can also convert 554@code{prin1-to-string} (@pxref{Output Functions}) can also convert
555Lisp objects into strings. @code{read-from-string} (@pxref{Input 555Lisp objects into strings. @code{read-from-string} (@pxref{Input
556Functions}) can ``convert'' a string representation of a Lisp object 556Functions}) can ``convert'' a string representation of a Lisp object
557into an object. The functions @code{string-make-multibyte} and 557into an object. The functions @code{string-to-multibyte} and
558@code{string-make-unibyte} convert the text representation of a string 558@code{string-to-unibyte} convert the text representation of a string
559(@pxref{Converting Representations}). 559(@pxref{Converting Representations}).
560 560
561 @xref{Documentation}, for functions that produce textual descriptions 561 @xref{Documentation}, for functions that produce textual descriptions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 2c5f998737a..50f0e4e45b9 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,54 @@
12011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2
3 * calc.texi (Logarithmic Units): Update the function names.
4
52011-03-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6
7 * message.texi (Various Commands): Document format specs in the
8 ellipsis.
9
102011-03-15 Antoine Levitt <antoine.levitt@gmail.com>
11
12 * message.texi (Insertion Variables): Document message-cite-style.
13
142011-03-14 Michael Albinus <michael.albinus@gmx.de>
15
16 * tramp.texi (Remote processes): New subsection "Running shell on
17 a remote host".
18
192011-03-12 Teodor Zlatanov <tzz@lifelogs.com>
20
21 * auth.texi (Help for developers): Update docs to explain that the
22 :save-function will only run the first time.
23
242011-03-12 Glenn Morris <rgm@gnu.org>
25
26 * Makefile.in (emacs-faq.html): Fix some more cross-refs.
27 (emacs-faq.text): New target.
28 (clean): Add emacs-faq.
29
302011-03-12 Michael Albinus <michael.albinus@gmx.de>
31
32 Sync with Tramp 2.2.1.
33
34 * trampver.texi: Update release number.
35
362011-03-11 Glenn Morris <rgm@gnu.org>
37
38 * Makefile.in (HTML_TARGETS): New.
39 (clean): Delete $HTML_TARGETS.
40 (emacs-faq.html): New, for use with the gnu.org Emacs webpage.
41
422011-03-08 Teodor Zlatanov <tzz@lifelogs.com>
43
44 * auth.texi (Help for developers): Show example of using
45 `auth-source-search' with prompts and :save-function.
46
472011-03-07 Antoine Levitt <antoine.levitt@gmail.com>
48
49 * message.texi (Message Buffers): Update default value of
50 message-generate-new-buffers.
51
12011-03-06 Jay Belanger <jay.p.belanger@gmail.com> 522011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
2 53
3 * calc.texi (Logarithmic Units): Rename calc-logunits-dblevel 54 * calc.texi (Logarithmic Units): Rename calc-logunits-dblevel
diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in
index 0a28d417c70..450199a33c5 100644
--- a/doc/misc/Makefile.in
+++ b/doc/misc/Makefile.in
@@ -197,6 +197,8 @@ PDF_TARGETS = \
197 widget.pdf \ 197 widget.pdf \
198 woman.pdf 198 woman.pdf
199 199
200HTML_TARGETS = emacs-faq.html
201
200TEXI2DVI = texi2dvi 202TEXI2DVI = texi2dvi
201TEXI2PDF = texi2pdf 203TEXI2PDF = texi2pdf
202 204
@@ -401,6 +403,15 @@ faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
401 $(ENVADD) $(TEXI2DVI) $< 403 $(ENVADD) $(TEXI2DVI) $<
402faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi 404faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
403 $(ENVADD) $(TEXI2PDF) $< 405 $(ENVADD) $(TEXI2PDF) $<
406## This is the name used on the Emacs web-page.
407## sed fixes up links to point to split version of the manual.
408emacs-faq.html: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
409 $(MAKEINFO) $(MAKEINFO_OPTS) --no-split \
410 --css-ref='/layout.css' --html -o $@ $<
411 sed -i -e 's|a href="\([a-z]*\)\.html#\([^"]*\)"|a href="manual/html_node/\1/\2.html"|g' \
412 -e 's|/Top\.html|/|g' $@
413emacs-faq.text: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
414 $(MAKEINFO) $(MAKEINFO_OPTS) --plaintext -o $@ $<
404 415
405flymake : $(infodir)/flymake 416flymake : $(infodir)/flymake
406$(infodir)/flymake: flymake.texi 417$(infodir)/flymake: flymake.texi
@@ -684,7 +695,7 @@ mostlyclean:
684 rm -f gnustmp.* 695 rm -f gnustmp.*
685 696
686clean: mostlyclean 697clean: mostlyclean
687 rm -f $(DVI_TARGETS) $(PDF_TARGETS) 698 rm -f $(DVI_TARGETS) $(PDF_TARGETS) $(HTML_TARGETS) emacs-faq.text
688 699
689distclean: clean 700distclean: clean
690# rm -f Makefile 701# rm -f Makefile
diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi
index 23ac23dce5b..a16da92343e 100644
--- a/doc/misc/auth.texi
+++ b/doc/misc/auth.texi
@@ -131,11 +131,11 @@ library encourages this confusion by accepting both, as you'll see
131later. 131later.
132 132
133If you have problems with the search, set @code{auth-source-debug} to 133If you have problems with the search, set @code{auth-source-debug} to
134@code{t} and see what host, port, and user the library is checking in 134@code{'trivia} and see what host, port, and user the library is
135the @code{*Messages*} buffer. Ditto for any other problems, your 135checking in the @code{*Messages*} buffer. Ditto for any other
136first step is always to see what's being checked. The second step, of 136problems, your first step is always to see what's being checked. The
137course, is to write a blog entry about it and wait for the answer in 137second step, of course, is to write a blog entry about it and wait for
138the comments. 138the answer in the comments.
139 139
140You can customize the variable @code{auth-sources}. The following may 140You can customize the variable @code{auth-sources}. The following may
141be needed if you are using an older version of Emacs or if the 141be needed if you are using an older version of Emacs or if the
@@ -232,6 +232,14 @@ TODO: how does it work generally, how does secrets.el work, some examples.
232@node Help for developers 232@node Help for developers
233@chapter Help for developers 233@chapter Help for developers
234 234
235The auth-source library lets you control logging output easily.
236
237@defvar auth-source-debug
238Set this variable to 'trivia to see lots of output in *Messages*, or
239set it to a function that behaves like @code{message} to do your own
240logging.
241@end defvar
242
235The auth-source library only has a few functions for external use. 243The auth-source library only has a few functions for external use.
236 244
237@defun auth-source-search SPEC 245@defun auth-source-search SPEC
@@ -240,6 +248,62 @@ TODO: how to include docstring?
240 248
241@end defun 249@end defun
242 250
251Let's take a look at an example of using @code{auth-source-search}
252from Gnus' @code{nnimap.el}.
253
254@example
255(defun nnimap-credentials (address ports)
256 (let* ((auth-source-creation-prompts
257 '((user . "IMAP user at %h: ")
258 (secret . "IMAP password for %u@@%h: ")))
259 (found (nth 0 (auth-source-search :max 1
260 :host address
261 :port ports
262 :require '(:user :secret)
263 :create t))))
264 (if found
265 (list (plist-get found :user)
266 (let ((secret (plist-get found :secret)))
267 (if (functionp secret)
268 (funcall secret)
269 secret))
270 (plist-get found :save-function))
271 nil)))
272@end example
273
274This call requires the user and password (secret) to be in the
275results. It also requests that an entry be created if it doesn't
276exist already. While the created entry is being assembled, the shown
277prompts will be used to interact with the user. The caller can also
278pass data in @code{auth-source-creation-defaults} to supply defaults
279for any of the prompts.
280
281Note that the password needs to be evaluated if it's a function. It's
282wrapped in a function to provide some security.
283
284Later, after a successful login, @code{nnimal.el} calls the
285@code{:save-function} like so:
286
287@example
288(when (functionp (nth 2 credentials))
289 (funcall (nth 2 credentials)))
290@end example
291
292This will work whether the @code{:save-function} was provided or not.
293@code{:save-function} will be provided only when a new entry was
294created, so this effectively says ``after a successful login, save the
295authentication information we just used, if it was newly created.''
296
297After the first time it's called, the @code{:save-function} will not
298run again (but it will log something if you have set
299@code{auth-source-debug} to @code{'trivia}). This is so it won't ask
300the same question again, which is annoying. This is so it won't ask
301the same question again, which is annoying. This is so it won't ask
302the same question again, which is annoying.
303
304So the responsibility of the API user that specified @code{:create t}
305is to call the @code{:save-function} if it's provided.
306
243@defun auth-source-delete SPEC 307@defun auth-source-delete SPEC
244 308
245TODO: how to include docstring? 309TODO: how to include docstring?
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index 88103fc0034..f732eff5690 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -28126,47 +28126,15 @@ tell Calc to use a different file for the Calc init file.)
28126@section Logarithmic Units 28126@section Logarithmic Units
28127 28127
28128The units @code{dB} (decibels) and @code{Np} (nepers) are logarithmic 28128The units @code{dB} (decibels) and @code{Np} (nepers) are logarithmic
28129units which are typically manipulated differently than standard units. 28129units which are manipulated differently than standard units. Calc
28130Calc provides commands to work with these logarithmic units. 28130provides commands to work with these logarithmic units.
28131 28131
28132Decibels and nepers are used to measure power quantities as well as 28132Decibels and nepers are used to measure power quantities as well as
28133field quantities (quantities whose squares are proportional to power). 28133field quantities (quantities whose squares are proportional to power);
28134The decibel and neper values of a quantity are relative to 28134these two types of quantities are handled slightly different from each
28135a reference quantity; for example, the decibel value of a sound 28135other. By default the Calc commands work as if power quantities are
28136pressure level of 28136being used; with the @kbd{H} prefix the Calc commands work as if field
28137@infoline @math{60 uPa} 28137quantities are being used.
28138@texline @math{60 \mu{\rm Pa}}
28139relative to
28140@infoline @math{20 uPa}
28141@texline @math{20 \mu{\rm Pa}}
28142(the threshhold of human hearing) is
28143@infoline @math{20 log10(60 uPa/ 20 uPa) dB = 20 log10(3) dB},
28144@texline @math{20 \log_{10}(60 \mu{\rm Pa}/20 \mu{\rm Pa}) {\rm dB} = 20 \log_{10}(3) {\rm dB}},
28145which is about
28146@infoline @math{9.54 dB}.
28147@texline @math{9.54 {\rm dB}}.
28148Note that in taking the ratio, the original units cancel and so these
28149logarithmic units are dimensionless.
28150
28151@vindex calc-logunits-power-reference
28152@vindex calc-logunits-field-reference
28153The Calc commands for the logarithmic units assume that power quantities
28154are being used unless the @kbd{H} prefix is used, in which case they assume that
28155field quantities are being used. For power quantities, Calc uses
28156@infoline @math{1 mW}
28157@texline @math{1 {\rm mW}}
28158as the default reference quantity; this default can be changed by changing
28159the value of the customizable variable
28160@code{calc-logunits-power-reference} (@pxref{Customizing Calc}).
28161For field quantities, Calc uses
28162@infoline @math{20 uPa}
28163@texline @math{20 \mu{\rm Pa}}
28164as the default reference quantity; this is the value used in acoustics
28165which is where decibels are commonly encountered. This default can be
28166changed by changing the value of the customizable variable
28167@code{calc-logunits-field-reference} (@pxref{Customizing Calc}). A
28168non-default reference quantity will be read from the stack if the
28169capital @kbd{O} prefix is used.
28170 28138
28171The decibel level of a power 28139The decibel level of a power
28172@infoline @math{P1}, 28140@infoline @math{P1},
@@ -28214,6 +28182,20 @@ relative to a reference
28214is defined as 28182is defined as
28215@infoline @math{20 log10(F1/F0) dB}. 28183@infoline @math{20 log10(F1/F0) dB}.
28216@texline @math{20 \log_{10}(F_{1}/F_{0}) {\rm dB}}. 28184@texline @math{20 \log_{10}(F_{1}/F_{0}) {\rm dB}}.
28185For example, the decibel value of a sound pressure level of
28186@infoline @math{60 uPa}
28187@texline @math{60 \mu{\rm Pa}}
28188relative to
28189@infoline @math{20 uPa}
28190@texline @math{20 \mu{\rm Pa}}
28191(the threshhold of human hearing) is
28192@infoline @math{20 log10(60 uPa/ 20 uPa) dB = 20 log10(3) dB},
28193@texline @math{20 \log_{10}(60 \mu{\rm Pa}/20 \mu{\rm Pa}) {\rm dB} = 20 \log_{10}(3) {\rm dB}},
28194which is about
28195@infoline @math{9.54 dB}.
28196@texline @math{9.54 {\rm dB}}.
28197Note that in taking the ratio, the original units cancel and so these
28198logarithmic units are dimensionless.
28217 28199
28218Nepers (named after John Napier, who is credited with inventing the 28200Nepers (named after John Napier, who is credited with inventing the
28219logarithm) are similar to bels except they use natural logarithms instead 28201logarithm) are similar to bels except they use natural logarithms instead
@@ -28236,55 +28218,72 @@ is
28236@infoline @math{ln(F1/F0) Np}. 28218@infoline @math{ln(F1/F0) Np}.
28237@texline @math{\ln(F_1/F_0) {\rm Np}}. 28219@texline @math{\ln(F_1/F_0) {\rm Np}}.
28238 28220
28221@vindex calc-lu-power-reference
28222@vindex calc-lu-field-reference
28223For power quantities, Calc uses
28224@infoline @math{1 mW}
28225@texline @math{1 {\rm mW}}
28226as the default reference quantity; this default can be changed by changing
28227the value of the customizable variable
28228@code{calc-lu-power-reference} (@pxref{Customizing Calc}).
28229For field quantities, Calc uses
28230@infoline @math{20 uPa}
28231@texline @math{20 \mu{\rm Pa}}
28232as the default reference quantity; this is the value used in acoustics
28233which is where decibels are commonly encountered. This default can be
28234changed by changing the value of the customizable variable
28235@code{calc-lu-field-reference} (@pxref{Customizing Calc}). A
28236non-default reference quantity will be read from the stack if the
28237capital @kbd{O} prefix is used.
28238
28239@kindex l q 28239@kindex l q
28240@pindex calc-logunits-quantity 28240@pindex calc-lu-quant
28241@tindex powerquant 28241@tindex lupquant
28242@tindex fieldquant 28242@tindex lufquant
28243The @kbd{l q} (@code{calc-logunits-quantity}) [@code{powerquant}] 28243The @kbd{l q} (@code{calc-lu-quant}) [@code{lupquant}]
28244command computes the power quantity corresponding to a given number of 28244command computes the power quantity corresponding to a given number of
28245logarithmic units. With the capital @kbd{O} prefix, @kbd{O l q}, the 28245logarithmic units. With the capital @kbd{O} prefix, @kbd{O l q}, the
28246reference level will be read from the top of the stack. (In an 28246reference level will be read from the top of the stack. (In an
28247algebraic formula, @code{powerquant} can be given an optional second 28247algebraic formula, @code{lupquant} can be given an optional second
28248argument which will be used for the reference level.) For example, 28248argument which will be used for the reference level.) For example,
28249@code{20 dB @key{RET} l q} will return @code{100 mW}; 28249@code{20 dB @key{RET} l q} will return @code{100 mW};
28250@code{20 dB @key{RET} 4 W @key{RET} O l q} will return @code{400 W}. 28250@code{20 dB @key{RET} 4 W @key{RET} O l q} will return @code{400 W}.
28251The @kbd{H l q} [@code{fieldquant}] command behaves like @kbd{l q} but 28251The @kbd{H l q} [@code{lufquant}] command behaves like @kbd{l q} but
28252computes field quantities instead of power quantities. 28252computes field quantities instead of power quantities.
28253 28253
28254@kindex l d 28254@kindex l d
28255@pindex calc-dblevel 28255@pindex calc-db
28256@tindex dbpowerlevel 28256@tindex dbpower
28257@tindex dbfieldlevel 28257@tindex dbfield
28258@kindex l n 28258@kindex l n
28259@pindex calc-nplevel 28259@pindex calc-np
28260@tindex nppowerlevel 28260@tindex nppower
28261@tindex npfieldlevel 28261@tindex npfield
28262The @kbd{l d} (@code{calc-dblevel}) [@code{dbpowerlevel}] 28262The @kbd{l d} (@code{calc-db}) [@code{dbpower}] command will compute
28263command will compute the decibel level of a power quantity using the 28263the decibel level of a power quantity using the default reference
28264default reference level; @kbd{H l d} [@code{dbfieldlevel}] will 28264level; @kbd{H l d} [@code{dbfield}] will compute the decibel level of
28265compute the decibel level of a field quantity. The commands @kbd{l n} 28265a field quantity. The commands @kbd{l n} (@code{calc-np})
28266(@code{calc-nplevel}) [@code{nppowerlevel}] and @kbd{H l n} 28266[@code{nppower}] and @kbd{H l n} [@code{npfield}] will similarly
28267[@code{npfieldlevel}] will similarly compute neper levels. With the 28267compute neper levels. With the capital @kbd{O} prefix these commands
28268capital @kbd{O} prefix these commands will read a reference level 28268will read a reference level from the stack; in an algebraic formula
28269from the stack; in an algebraic formula the reference level can be 28269the reference level can be given as an optional second argument.
28270given as an optional second argument.
28271 28270
28272@kindex l + 28271@kindex l +
28273@pindex calc-logunits-add 28272@pindex calc-lu-plus
28274@tindex lupoweradd 28273@tindex lupadd
28275@tindex lufieldadd 28274@tindex lufadd
28276@kindex l - 28275@kindex l -
28277@pindex calc-logunits-sub 28276@pindex calc-lu-minus
28278@tindex lupowersub 28277@tindex lupsub
28279@tindex lufieldsub 28278@tindex lufsub
28280@kindex l * 28279@kindex l *
28281@pindex calc-logunits-mul 28280@pindex calc-lu-times
28282@tindex lupowermul 28281@tindex lupmul
28283@tindex lufieldmul 28282@tindex lufmul
28284@kindex l / 28283@kindex l /
28285@pindex calc-logunits-div 28284@pindex calc-lu-divide
28286@tindex lupowerdiv 28285@tindex lupdiv
28287@tindex lufielddiv 28286@tindex lufdiv
28288The sum of two power or field quantities doesn't correspond to the sum 28287The sum of two power or field quantities doesn't correspond to the sum
28289of the corresponding decibel or neper levels. If the powers 28288of the corresponding decibel or neper levels. If the powers
28290corresponding to decibel levels 28289corresponding to decibel levels
@@ -28305,13 +28304,13 @@ $$ 10 \log_{10}(10^{D_1/10} + 10^{D_2/10}) {\rm dB}.$$
28305@end tex 28304@end tex
28306 28305
28307@noindent 28306@noindent
28308When field quantities are combined, it often means the 28307When field quantities are combined, it often means the corresponding
28309corresponding powers are added and so the above formula might be used. 28308powers are added and so the above formula might be used. In
28310In acoustics, for example, the decibel sound pressure level is defined 28309acoustics, for example, the sound pressure level is a field quantity
28311using the field formula but the sound pressure levels are combined 28310and so the decibels are often defined using the field formula, but the
28312as the sound power levels, and so the above formula should be used. If 28311sound pressure levels are combined as the sound power levels, and so
28313two field quantities themselves are added, the new decibel level will be 28312the above formula should be used. If two field quantities themselves
28314 28313are added, the new decibel level will be
28315 28314
28316@ifnottex 28315@ifnottex
28317@example 28316@example
@@ -28349,20 +28348,18 @@ $$ D + 20 \log_{10}(N) {\rm dB}.$$
28349@end tex 28348@end tex
28350 28349
28351@noindent 28350@noindent
28352There are similar formulas for combining nepers. 28351There are similar formulas for combining nepers. The @kbd{l +}
28353The @kbd{l +} (@code{calc-logunits-add}) [@code{lupoweradd}] command 28352(@code{calc-lu-plus}) [@code{lupadd}] command will ``add'' two
28354will ``add'' two logarithmic unit power levels this way; with the 28353logarithmic unit power levels this way; with the @kbd{H} prefix,
28355@kbd{H} prefix, @kbd{H l +} [@code{lufieldadd}] will add logarithmic 28354@kbd{H l +} [@code{lufadd}] will add logarithmic unit field levels.
28356unit field levels. Similarly, logarithmic units can be 28355Similarly, logarithmic units can be ``subtracted'' with @kbd{l -}
28357``subtracted'' with @kbd{l -} (@code{calc-logunits-sub}) 28356(@code{calc-lu-minus}) [@code{lupsub}] or @kbd{H l -} [@code{lufsub}].
28358[@code{lupowersub}] or @kbd{H l -} [@code{lufieldsub}]. 28357The @kbd{l *} (@code{calc-lu-times}) [@code{lupmul}] and @kbd{H l *}
28359The @kbd{l *} (@code{calc-logunits-mul}) [@code{lupowermul}] 28358[@code{lufmul}] commands will ``multiply'' a logarithmic unit by a
28360and @kbd{H l *} [@code{lufieldmul}] commands will ``multiply'' 28359number; the @kbd{l /} (@code{calc-lu-divide}) [@code{lupdiv}] and
28361a logarithmic unit by a number; the @kbd{l /} 28360@kbd{H l /} [@code{lufdiv}] commands will ``divide'' a logarithmic
28362(@code{calc-logunits-divide}) [@code{lupowerdiv}] and 28361unit by a number. Note that the reference quantities don't play a role
28363@kbd{H l /} [@code{lufielddiv}] commands will ``divide'' a 28362in this arithmetic.
28364logarithmic unit by a number. Note that the reference quantities don't
28365play a role in this arithmetic.
28366 28363
28367@node Musical Notes, , Logarithmic Units, Units 28364@node Musical Notes, , Logarithmic Units, Units
28368@section Musical Notes 28365@section Musical Notes
@@ -35539,16 +35536,16 @@ should also be added to @code{calc-embedded-announce-formula-alist}
35539and @code{calc-embedded-open-close-plain-alist}. 35536and @code{calc-embedded-open-close-plain-alist}.
35540@end defvar 35537@end defvar
35541 35538
35542@defvar calc-logunits-power-reference 35539@defvar calc-lu-power-reference
35543@defvarx calc-logunits-field-reference 35540@defvarx calc-lu-field-reference
35544See @ref{Logarithmic Units}.@* 35541See @ref{Logarithmic Units}.@*
35545The variables @code{calc-logunits-power-reference} and 35542The variables @code{calc-lu-power-reference} and
35546@code{calc-logunits-field-reference} are unit expressions (written as 35543@code{calc-lu-field-reference} are unit expressions (written as
35547strings) which Calc will use as reference quantities for logarithmic 35544strings) which Calc will use as reference quantities for logarithmic
35548units. 35545units.
35549 35546
35550The default value of @code{calc-logunits-power-reference} is @code{"mW"} 35547The default value of @code{calc-lu-power-reference} is @code{"mW"}
35551and the default value of @code{calc-logunits-field-reference} is 35548and the default value of @code{calc-lu-field-reference} is
35552@code{"20 uPa"}. 35549@code{"20 uPa"}.
35553@end defvar 35550@end defvar
35554 35551
@@ -36209,26 +36206,26 @@ keystrokes are not listed in this summary.
36209@r{ v x@: I k T @: @: @:ltpt@:(x,v)} 36206@r{ v x@: I k T @: @: @:ltpt@:(x,v)}
36210 36207
36211@c 36208@c
36212@r{ a b@: l + @: @: @:lupoweradd@:(a,b)} 36209@r{ a b@: l + @: @: @:lupadd@:(a,b)}
36213@r{ a b@: H l + @: @: @:lufieldadd@:(a,b)} 36210@r{ a b@: H l + @: @: @:lufadd@:(a,b)}
36214@r{ a b@: l - @: @: @:lupowersub@:(a,b)} 36211@r{ a b@: l - @: @: @:lupsub@:(a,b)}
36215@r{ a b@: H l - @: @: @:lufieldsub@:(a,b)} 36212@r{ a b@: H l - @: @: @:lufsub@:(a,b)}
36216@r{ a b@: l * @: @: @:lupowermul@:(a,b)} 36213@r{ a b@: l * @: @: @:lupmul@:(a,b)}
36217@r{ a b@: H l * @: @: @:lufieldmul@:(a,b)} 36214@r{ a b@: H l * @: @: @:lufmul@:(a,b)}
36218@r{ a b@: l / @: @: @:lupowerdiv@:(a,b)} 36215@r{ a b@: l / @: @: @:lupdiv@:(a,b)}
36219@r{ a b@: H l / @: @: @:lufielddiv@:(a,b)} 36216@r{ a b@: H l / @: @: @:lufdiv@:(a,b)}
36220@r{ a@: l d @: @: @:dbpowerlevel@:(a)} 36217@r{ a@: l d @: @: @:dbpower@:(a)}
36221@r{ a b@: O l d @: @: @:dbpowerlevel@:(a,b)} 36218@r{ a b@: O l d @: @: @:dbpower@:(a,b)}
36222@r{ a@: H l d @: @: @:dbfieldlevel@:(a)} 36219@r{ a@: H l d @: @: @:dbfield@:(a)}
36223@r{ a b@: O H l d @: @: @:dbfieldlevel@:(a,b)} 36220@r{ a b@: O H l d @: @: @:dbfield@:(a,b)}
36224@r{ a@: l n @: @: @:nppowerlevel@:(a)} 36221@r{ a@: l n @: @: @:nppower@:(a)}
36225@r{ a b@: O l n @: @: @:nppowerlevel@:(a,b)} 36222@r{ a b@: O l n @: @: @:nppower@:(a,b)}
36226@r{ a@: H l n @: @: @:npfieldlevel@:(a)} 36223@r{ a@: H l n @: @: @:npfield@:(a)}
36227@r{ a b@: O H l n @: @: @:npfieldlevel@:(a,b)} 36224@r{ a b@: O H l n @: @: @:npfield@:(a,b)}
36228@r{ a@: l q @: @: @:powerquant@:(a)} 36225@r{ a@: l q @: @: @:lupquant@:(a)}
36229@r{ a b@: O l q @: @: @:powerquant@:(a,b)} 36226@r{ a b@: O l q @: @: @:lupquant@:(a,b)}
36230@r{ a@: H l q @: @: @:fieldquant@:(a)} 36227@r{ a@: H l q @: @: @:lufquant@:(a)}
36231@r{ a b@: O H l q @: @: @:fieldquant@:(a,b)} 36228@r{ a b@: O H l q @: @: @:lufquant@:(a,b)}
36232@r{ a@: l s @: @: @:spn@:(a)} 36229@r{ a@: l s @: @: @:spn@:(a)}
36233@r{ a@: l m @: @: @:midi@:(a)} 36230@r{ a@: l m @: @: @:midi@:(a)}
36234@r{ a@: l f @: @: @:freq@:(a)} 36231@r{ a@: l f @: @: @:freq@:(a)}
diff --git a/doc/misc/message.texi b/doc/misc/message.texi
index b28639907ed..48d0028e452 100644
--- a/doc/misc/message.texi
+++ b/doc/misc/message.texi
@@ -1202,6 +1202,10 @@ The text is killed and replaced with the contents of the variable
1202@code{message-elide-ellipsis}. The default value is to use an ellipsis 1202@code{message-elide-ellipsis}. The default value is to use an ellipsis
1203(@samp{[...]}). 1203(@samp{[...]}).
1204 1204
1205This is a format-spec string, and you can use @samp{%l} to say how
1206many lines were removed, and @samp{%c} to say how many characters were
1207removed.
1208
1205@item C-c M-k 1209@item C-c M-k
1206@kindex C-c M-k 1210@kindex C-c M-k
1207@findex message-kill-address 1211@findex message-kill-address
@@ -1930,6 +1934,25 @@ posting a prepared news message.
1930@section Insertion Variables 1934@section Insertion Variables
1931 1935
1932@table @code 1936@table @code
1937@item message-cite-style
1938@vindex message-cite-style
1939The overall style to be used when replying to messages. This controls
1940things like where the reply should be put relative to the original,
1941how the citation is formatted, where the signature goes, etc.
1942
1943Value is either @code{nil} (no variable overrides) or a let-style list
1944of pairs @code{(VARIABLE VALUE)} to override default values.
1945
1946See @code{gnus-posting-styles} to set this variable for specific
1947groups. Presets to impersonate popular mail agents are available in the
1948@code{message-cite-style-*} variables.
1949
1950@item message-cite-reply-position
1951@vindex message-cite-reply-position
1952Where the reply should be positioned. Available styles are
1953@code{traditional} to reply inline, @code{above} for top-posting, and
1954@code{below} for bottom-posting
1955
1933@item message-ignored-cited-headers 1956@item message-ignored-cited-headers
1934@vindex message-ignored-cited-headers 1957@vindex message-ignored-cited-headers
1935All headers that match this regexp will be removed from yanked 1958All headers that match this regexp will be removed from yanked
@@ -2298,8 +2321,7 @@ created.
2298 2321
2299@item unique 2322@item unique
2300@item t 2323@item t
2301Create the new buffer with the name generated in the Message way. This 2324Create the new buffer with the name generated in the Message way.
2302is the default.
2303 2325
2304@item unsent 2326@item unsent
2305Similar to @code{unique} but the buffer name begins with "*unsent ". 2327Similar to @code{unique} but the buffer name begins with "*unsent ".
@@ -2315,7 +2337,7 @@ type, the To address and the group name (any of these may be
2315@code{nil}). The function should return the new buffer name. 2337@code{nil}). The function should return the new buffer name.
2316@end table 2338@end table
2317 2339
2318The default value is @code{unique}. 2340The default value is @code{unsent}.
2319 2341
2320@item message-max-buffers 2342@item message-max-buffers
2321@vindex message-max-buffers 2343@vindex message-max-buffers
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index bdbba437af7..e1c4a806de2 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -2540,7 +2540,28 @@ Another trick might be that you put @code{ForwardX11 yes} or
2540that host. 2540that host.
2541 2541
2542 2542
2543@subsection Running shell-command on a remote host 2543@subsection Running @code{shell} on a remote host
2544@cindex shell
2545
2546Calling @code{M-x shell} in a buffer related to a remote host runs the
2547local shell as defined in @option{shell-file-name}. This might be
2548also a valid path name for a shell to be applied on the remote host,
2549but it will fail at least when your local and remote hosts belong to
2550different system types, like @samp{windows-nt} and @samp{gnu/linux}.
2551
2552You must set the variable @option{explicit-shell-file-name} to the
2553shell path name on the remote host, in order to start that shell on
2554the remote host.
2555
2556@ifset emacs
2557Starting with Emacs 24 this won't be necessary, if you call
2558@code{shell} interactively. You will be asked for the remote shell
2559path, if you are on a remote buffer, and if
2560@option{explicit-shell-file-name} is equal to @code{nil}.
2561@end ifset
2562
2563
2564@subsection Running @code{shell-command} on a remote host
2544@cindex shell-command 2565@cindex shell-command
2545 2566
2546@code{shell-command} allows to execute commands in a shell, either 2567@code{shell-command} allows to execute commands in a shell, either
@@ -2556,13 +2577,13 @@ You will see the buffer @file{*Async Shell Command*}, containing the
2556continuous output of the @command{tail} command. 2577continuous output of the @command{tail} command.
2557 2578
2558 2579
2559@subsection Running eshell on a remote host 2580@subsection Running @code{eshell} on a remote host
2560@cindex eshell 2581@cindex eshell
2561 2582
2562@value{tramp} is integrated into @file{eshell.el}. That is, you can 2583@value{tramp} is integrated into @file{eshell.el}. That is, you can
2563open an interactive shell on your remote host, and run commands there. 2584open an interactive shell on your remote host, and run commands there.
2564After you have started @code{eshell}, you could perform commands like 2585After you have started @code{M-x eshell}, you could perform commands
2565this: 2586like this:
2566 2587
2567@example 2588@example
2568@b{~ $} cd @trampfn{sudo, , , /etc} @key{RET} 2589@b{~ $} cd @trampfn{sudo, , , /etc} @key{RET}
diff --git a/doc/misc/trampver.texi b/doc/misc/trampver.texi
index 437b1372c11..e4c444980c8 100644
--- a/doc/misc/trampver.texi
+++ b/doc/misc/trampver.texi
@@ -8,7 +8,7 @@
8@c In the Tramp CVS, the version number is auto-frobbed from 8@c In the Tramp CVS, the version number is auto-frobbed from
9@c configure.ac, so you should edit that file and run 9@c configure.ac, so you should edit that file and run
10@c "autoconf && ./configure" to change the version number. 10@c "autoconf && ./configure" to change the version number.
11@set trampver 2.2.1-pre 11@set trampver 2.2.1
12 12
13@c Other flags from configuration 13@c Other flags from configuration
14@set instprefix /usr/local 14@set instprefix /usr/local