diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 37 | ||||
| -rw-r--r-- | doc/emacs/Makefile.in | 2 | ||||
| -rw-r--r-- | doc/emacs/ack.texi | 26 | ||||
| -rw-r--r-- | doc/emacs/building.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/custom.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/display.texi | 3 | ||||
| -rw-r--r-- | doc/emacs/emacs.texi | 26 | ||||
| -rw-r--r-- | doc/emacs/makefile.w32-in | 2 | ||||
| -rw-r--r-- | doc/emacs/msdog.texi | 53 | ||||
| -rw-r--r-- | doc/emacs/mule.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/search.texi | 8 | ||||
| -rw-r--r-- | doc/emacs/xresources.texi | 7 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog.trunk | 34 | ||||
| -rw-r--r-- | doc/lispref/Makefile.in | 2 | ||||
| -rw-r--r-- | doc/lispref/elisp.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/intro.texi | 4 | ||||
| -rw-r--r-- | doc/lispref/keymaps.texi | 14 | ||||
| -rw-r--r-- | doc/lispref/makefile.w32-in | 3 | ||||
| -rw-r--r-- | doc/lispref/modes.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/nonascii.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/package.texi | 101 | ||||
| -rw-r--r-- | doc/lispref/strings.texi | 4 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 51 | ||||
| -rw-r--r-- | doc/misc/Makefile.in | 13 | ||||
| -rw-r--r-- | doc/misc/auth.texi | 74 | ||||
| -rw-r--r-- | doc/misc/calc.texi | 235 | ||||
| -rw-r--r-- | doc/misc/message.texi | 28 | ||||
| -rw-r--r-- | doc/misc/tramp.texi | 29 | ||||
| -rw-r--r-- | doc/misc/trampver.texi | 2 |
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 @@ | |||
| 1 | 2011-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 | |||
| 6 | 2011-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 | |||
| 13 | 2011-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 | |||
| 23 | 2011-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 | |||
| 28 | 2011-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 | |||
| 1 | 2011-03-06 Chong Yidong <cyd@stupidchicken.com> | 38 | 2011-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. |
| 40 | MAKEINFO = @MAKEINFO@ | 40 | MAKEINFO = @MAKEINFO@ |
| 41 | MAKEINFO_OPTS = --force -I $(srcdir) | 41 | MAKEINFO_OPTS = --force --enable-encoding -I $(srcdir) |
| 42 | 42 | ||
| 43 | TEXI2DVI = texi2dvi | 43 | TEXI2DVI = texi2dvi |
| 44 | TEXI2PDF = texi2pdf | 44 | TEXI2PDF = 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. | |||
| 51 | Michael Albinus wrote @file{dbus.el}, a package that implements the | 52 | Michael Albinus wrote @file{dbus.el}, a package that implements the |
| 52 | D-Bus message bus protocol; @file{zeroconf.el}, a mode for browsing | 53 | D-Bus message bus protocol; @file{zeroconf.el}, a mode for browsing |
| 53 | Avahi services; and @file{xesam.el}, a Xesam-based search engine | 54 | Avahi services; and @file{xesam.el}, a Xesam-based search engine |
| 54 | interface. He and Kai Gro@ss{}johann wrote the Tramp package, which | 55 | interface. He and Kai Grojohann wrote the Tramp package, which |
| 55 | provides transparent remote file editing using rcp, ssh, ftp, and | 56 | provides transparent remote file editing using rcp, ssh, ftp, and |
| 56 | other network protocols. He and Daniel Pittman wrote | 57 | other 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 |
| 191 | Chong Yidong was the Emacs co-maintainer for Emacs 23. He made many | 192 | Chong Yidong was the Emacs co-maintainer for Emacs 23. He made many |
| 192 | improvements to the Emacs display engine; and, together with Kai | 193 | improvements to the Emacs display engine; and, together with Kai |
| 193 | Gro@ss{}johann and Alex Schroeder, wrote @file{longlines.el}, a minor | 194 | Grojohann and Alex Schroeder, wrote @file{longlines.el}, a minor |
| 194 | mode for wrapping long lines. | 195 | mode for wrapping long lines. |
| 195 | 196 | ||
| 196 | @item | 197 | @item |
| @@ -248,7 +249,7 @@ text replace the current selection. | |||
| 248 | Eric Ding wrote @file{goto-addr.el}, | 249 | Eric Ding wrote @file{goto-addr.el}, |
| 249 | 250 | ||
| 250 | @item | 251 | @item |
| 251 | Jan Dj@"{a}rv added support for the GTK+ toolkit and X drag-and-drop. | 252 | Jan Djrv added support for the GTK+ toolkit and X drag-and-drop. |
| 252 | 253 | ||
| 253 | @item | 254 | @item |
| 254 | Carsten Dominik wrote Ref@TeX{}, a package for setting up labels and | 255 | Carsten 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 | |||
| 283 | for incremental reading and completion of buffer names. | 284 | for incremental reading and completion of buffer names. |
| 284 | 285 | ||
| 285 | @item | 286 | @item |
| 286 | Torbj@"orn Einarsson wrote @file{f90.el}, a mode for Fortran 90 files. | 287 | Torbjrn Einarsson wrote @file{f90.el}, a mode for Fortran 90 files. |
| 287 | 288 | ||
| 288 | @item | 289 | @item |
| 289 | Tsugutomo Enami co-wrote the support for international character sets. | 290 | Tsugutomo 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 |
| 352 | Juan Le@'{o}n Lahoz Garc@'{i}a wrote @file{wdired.el}, a package for | 353 | Juan Len Lahoz Garca wrote @file{wdired.el}, a package for |
| 353 | performing file operations by directly editing Dired buffers. | 354 | performing 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 |
| 485 | Gnus have also been written by: Nagy Andras, David Blacka, Scott Byer, | 486 | Gnus have also been written by: Nagy Andras, David Blacka, Scott Byer, |
| 486 | Kevin Greiner, Kai Gro@ss{}johann, Joe Hildebrand, Paul Jarc, Sascha | 487 | Kevin Greiner, Kai Grojohann, Joe Hildebrand, Paul Jarc, Sascha |
| 487 | L@"{u}decke, David Moore, Jim Radford, Benjamin Rutt, Raymond Scholz, | 488 | Ldecke, David Moore, Jim Radford, Benjamin Rutt, Raymond Scholz, |
| 488 | Thomas Steffen, Reiner Steib, Didier Verna, Ilja Weis, Katsumi Yamaoka, | 489 | Thomas Steffen, Reiner Steib, Didier Verna, Ilja Weis, Katsumi Yamaoka, |
| 489 | Teodor Zlatanov, and others (@pxref{Contributors,,,gnus, the Gnus Manual}). | 490 | Teodor 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} | |||
| 524 | for the Transport Layer Security protocol. | 525 | for the Transport Layer Security protocol. |
| 525 | 526 | ||
| 526 | @item | 527 | @item |
| 527 | Arne J@o{}rgensen wrote @file{latexenc.el}, a package to | 528 | Arne Jrgensen wrote @file{latexenc.el}, a package to |
| 528 | automatically guess the correct coding system in LaTeX files. | 529 | automatically 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 | |||
| 576 | Emacs. | 577 | Emacs. |
| 577 | 578 | ||
| 578 | @item | 579 | @item |
| 579 | Karel Kl@'{@dotless{i}}@v{c} contributed SELinux support, for preserving the | 580 | Karel Kl@v{c} contributed SELinux support, for preserving the |
| 580 | Security-Enchanced Linux context of files on backup and copy. | 581 | Security-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 | |||
| 667 | creates a virtual Info manual of package keywords. | 668 | creates a virtual Info manual of package keywords. |
| 668 | 669 | ||
| 669 | @item | 670 | @item |
| 670 | K@'{a}roly L@H{o}rentey wrote the ``multi-terminal'' code, which | 671 | Kroly L@H{o}rentey wrote the ``multi-terminal'' code, which allows Emacs to |
| 671 | allows Emacs to run on graphical and text-only terminals | 672 | run on graphical and text-only terminals simultaneously. |
| 672 | simultaneously. | ||
| 673 | 673 | ||
| 674 | @item | 674 | @item |
| 675 | Martin Lorentzon wrote @file{vc-annotate.el}, support for version | 675 | Martin Lorentzon wrote @file{vc-annotate.el}, support for version |
| @@ -933,7 +933,7 @@ Fred Pierresteguy and Paul Reilly made Emacs work with X Toolkit | |||
| 933 | widgets. | 933 | widgets. |
| 934 | 934 | ||
| 935 | @item | 935 | @item |
| 936 | Fran@,{c}ois Pinard, Greg McGary, and Bruno Haible wrote @file{po.el}, | 936 | Franois Pinard, Greg McGary, and Bruno Haible wrote @file{po.el}, |
| 937 | support for PO translation files. | 937 | support 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. | |||
| 1056 | Show addresses for thread frames in threads buffer. | 1056 | Show addresses for thread frames in threads buffer. |
| 1057 | @end table | 1057 | @end table |
| 1058 | 1058 | ||
| 1059 | It’s possible to observe information for several threads | 1059 | It's possible to observe information for several threads |
| 1060 | simultaneously (in addition to buffers which show information for | 1060 | simultaneously (in addition to buffers which show information for |
| 1061 | currently selected thread) using the following keys from the threads | 1061 | currently selected thread) using the following keys from the threads |
| 1062 | buffer. | 1062 | buffer. |
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 |
| 1000 | lines. To enable this feature, type @kbd{M-x display-time} or customize | 1000 | lines. To enable this feature, type @kbd{M-x display-time} or customize |
| 1001 | the option @code{display-time-mode}. The information added to the mode | 1001 | the option @code{display-time-mode}. The information added to the mode |
| 1002 | line usually appears after the buffer name, before the mode names and | 1002 | line looks like this: |
| 1003 | their 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, | |||
| 1350 | Joe Arceneaux, Miles Bader, David Bakhash, Juanma Barranquero, Eli | 1352 | Joe Arceneaux, Miles Bader, David Bakhash, Juanma Barranquero, Eli |
| 1351 | Barzilay, Thomas Baumann, Steven L.@: Baur, Jay Belanger, Alexander L.@: | 1353 | Barzilay, Thomas Baumann, Steven L.@: Baur, Jay Belanger, Alexander L.@: |
| 1352 | Belikoff, Boaz Ben-Zvi, Karl Berry, Anna M.@: Bigatti, Ray Blaak, Jim | 1354 | Belikoff, Boaz Ben-Zvi, Karl Berry, Anna M.@: Bigatti, Ray Blaak, Jim |
| 1353 | Blandy, Johan Bockg@aa{}rd, Jan Bcker, Lennart Borgman, Per Bothner, | 1355 | Blandy, Johan Bockgrd, Jan Bcker, Lennart Borgman, Per Bothner, |
| 1354 | Terrence Brannon, Frank Bresz, Peter Breton, Emmanuel Briot, Kevin | 1356 | Terrence Brannon, Frank Bresz, Peter Breton, Emmanuel Briot, Kevin |
| 1355 | Broadey, Vincent Broman, David M.@: Brown, Georges Brun-Cottan, Joe | 1357 | Broadey, Vincent Broman, David M.@: Brown, Georges Brun-Cottan, Joe |
| 1356 | Buehler, W@l{}odek Bzyl, Bill Carpenter, Per Cederqvist, Hans Chalupsky, | 1358 | Buehler, 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 | |||
| 1358 | Clark, Mike Clarkson, Glynn Clements, Daniel Colascione, Andrew Csillag, | 1360 | Clark, Mike Clarkson, Glynn Clements, Daniel Colascione, Andrew Csillag, |
| 1359 | Baoqiu Cui, Doug Cutting, Mathias Dahl, Julien Danjou, Satyaki Das, | 1361 | Baoqiu Cui, Doug Cutting, Mathias Dahl, Julien Danjou, Satyaki Das, |
| 1360 | Vivek Dasmohapatra, Michael DeCorte, Gary Delp, Matthieu Devin, Eri | 1362 | Vivek Dasmohapatra, Michael DeCorte, Gary Delp, Matthieu Devin, Eri |
| 1361 | Ding, Jan Dj@"{a}rv, Carsten Dominik, Scott Draves, Benjamin Drieu, | 1363 | Ding, Jan Djrv, Carsten Dominik, Scott Draves, Benjamin Drieu, |
| 1362 | Viktor Dukhovni, Dmitry Dzhus, John Eaton, Rolf Ebert, Paul Eggert, | 1364 | Viktor Dukhovni, Dmitry Dzhus, John Eaton, Rolf Ebert, Paul Eggert, |
| 1363 | Stephen Eglen, Torbj@"orn Einarsson, Tsugutomo Enami, Hans Henrik | 1365 | Stephen Eglen, Torbjrn Einarsson, Tsugutomo Enami, Hans Henrik |
| 1364 | Eriksen, Michael Ernst, Ata Etemadi, Frederick Farnbach, Oscar | 1366 | Eriksen, Michael Ernst, Ata Etemadi, Frederick Farnbach, Oscar |
| 1365 | Figueiredo, Fred Fish, Karl Fogel, Gary Foster, Romain Francoise, Noah | 1367 | Figueiredo, Fred Fish, Karl Fogel, Gary Foster, Romain Francoise, Noah |
| 1366 | Friedman, Andreas Fuchs, Hallvard Furuseth, Keith Gabryelski, Peter S.@: | 1368 | Friedman, Andreas Fuchs, Hallvard Furuseth, Keith Gabryelski, Peter S.@: |
| 1367 | Galbraith, Kevin Gallagher, Kevin Gallo, Juan Le@'{o}n Lahoz | 1369 | Galbraith, Kevin Gallagher, Kevin Gallo, Juan Len Lahoz |
| 1368 | Garc@'{@dotless{i}}a, Howard Gayle, Daniel German, Stephen Gildea, | 1370 | Garca, Howard Gayle, Daniel German, Stephen Gildea, |
| 1369 | Julien Gilles, David Gillespie, Bob Glickstein, Deepak Goel, Boris | 1371 | Julien Gilles, David Gillespie, Bob Glickstein, Deepak Goel, Boris |
| 1370 | Goldowsky, Michelangelo Grigni, Odd Gripenstam, Kai Gro@ss{}johann, | 1372 | Goldowsky, Michelangelo Grigni, Odd Gripenstam, Kai Grojohann, |
| 1371 | Michael Gschwind, Bastien Guerry, Henry Guillaume, Doug Gwyn, Ken'ichi | 1373 | Michael Gschwind, Bastien Guerry, Henry Guillaume, Doug Gwyn, Ken'ichi |
| 1372 | Handa, Lars Hansen, Chris Hanson, K. Shane Hartman, John Heidemann, Jon | 1374 | Handa, Lars Hansen, Chris Hanson, K. Shane Hartman, John Heidemann, Jon |
| 1373 | K.@: Hellan, Jesper Harder, Magnus Henoch, Markus Heritsch, Karl Heuer, | 1375 | K.@: Hellan, Jesper Harder, Magnus Henoch, Markus Heritsch, Karl Heuer, |
| @@ -1375,17 +1377,17 @@ Manabu Higashida, Anders Holst, Jeffrey C.@: Honig, Tassilo Horn, Kurt | |||
| 1375 | Hornik, Tom Houlder, Joakim Hove, Denis Howe, Lars Ingebrigtsen, Andrew | 1377 | Hornik, Tom Houlder, Joakim Hove, Denis Howe, Lars Ingebrigtsen, Andrew |
| 1376 | Innes, Seiichiro Inoue, Philip Jackson, Pavel Janik, Paul Jarc, Ulf | 1378 | Innes, Seiichiro Inoue, Philip Jackson, Pavel Janik, Paul Jarc, Ulf |
| 1377 | Jasper, Michael K. Johnson, Kyle Jones, Terry Jones, Simon Josefsson, | 1379 | Jasper, Michael K. Johnson, Kyle Jones, Terry Jones, Simon Josefsson, |
| 1378 | Arne J@o{}rgensen, Tomoji Kagatani, Brewster Kahle, Tokuya Kameshima, | 1380 | Arne Jrgensen, Tomoji Kagatani, Brewster Kahle, Tokuya Kameshima, |
| 1379 | Lute Kamstra, David Kastrup, David Kaufman, Henry Kautz, Taichi | 1381 | Lute Kamstra, David Kastrup, David Kaufman, Henry Kautz, Taichi |
| 1380 | Kawabata, Howard Kaye, Michael Kifer, Richard King, Peter Kleiweg, Karel | 1382 | Kawabata, Howard Kaye, Michael Kifer, Richard King, Peter Kleiweg, Karel |
| 1381 | Kl@'{@dotless{i}}@v{c}, Shuhei Kobayashi, Pavel Kobiakov, Larry K.@: | 1383 | Kl@v{c}, Shuhei Kobayashi, Pavel Kobiakov, Larry K.@: |
| 1382 | Kolodney, David M.@: Koppelman, Koseki Yoshinori, Robert Krawitz, | 1384 | Kolodney, David M.@: Koppelman, Koseki Yoshinori, Robert Krawitz, |
| 1383 | Sebastian Kremer, Ryszard Kubiak, David K@aa{}gedal, Daniel LaLiberte, | 1385 | Sebastian Kremer, Ryszard Kubiak, David Kgedal, Daniel LaLiberte, |
| 1384 | Karl Landstrom, Mario Lang, Aaron Larson, James R.@: Larus, Vinicius | 1386 | Karl Landstrom, Mario Lang, Aaron Larson, James R.@: Larus, Vinicius |
| 1385 | Jose Latorre, Werner Lemberg, Frederic Lepied, Peter Liljenberg, Lars | 1387 | Jose Latorre, Werner Lemberg, Frederic Lepied, Peter Liljenberg, Lars |
| 1386 | Lindberg, Chris Lindblad, Anders Lindgren, Thomas Link, Juri Linkov, | 1388 | Lindberg, Chris Lindblad, Anders Lindgren, Thomas Link, Juri Linkov, |
| 1387 | Francis Litterio, Emilio C. Lopes, K@'{a}roly L@H{o}rentey, Dave Love, | 1389 | Francis Litterio, Emilio C. Lopes, Kroly L@H{o}rentey, Dave Love, |
| 1388 | Sascha L@"{u}decke, Eric Ludlam, Alan Mackenzie, Christopher J.@: | 1390 | Sascha Ldecke, Eric Ludlam, Alan Mackenzie, Christopher J.@: |
| 1389 | Madsen, Neil M.@: Mager, Ken Manheimer, Bill Mann, Brian Marick, Simon | 1391 | Madsen, Neil M.@: Mager, Ken Manheimer, Bill Mann, Brian Marick, Simon |
| 1390 | Marshall, Bengt Martensson, Charlie Martin, Thomas May, Roland McGrath, | 1392 | Marshall, Bengt Martensson, Charlie Martin, Thomas May, Roland McGrath, |
| 1391 | Will Mengarini, David Megginson, Ben A. Mesander, Wayne Mesard, Brad | 1393 | Will 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. |
| 30 | MAKEINFO = makeinfo | 30 | MAKEINFO = makeinfo |
| 31 | MAKEINFO_OPTS = --force -I$(srcdir) | 31 | MAKEINFO_OPTS = --force --enable-encoding -I$(srcdir) |
| 32 | MULTI_INSTALL_INFO = $(srcdir)\..\..\nt\multi-install-info.bat | 32 | MULTI_INSTALL_INFO = $(srcdir)\..\..\nt\multi-install-info.bat |
| 33 | INFO_TARGETS = $(infodir)/emacs | 33 | INFO_TARGETS = $(infodir)/emacs |
| 34 | DVI_TARGETS = emacs.dvi | 34 | DVI_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 |
| 405 | depends on your Windows version and system configuration; typical values | 405 | depends on your Windows version and system configuration; typical values |
| 406 | are @file{C:\Documents and Settings\@var{username}\Application Data} on | 406 | are @file{C:\Documents and Settings\@var{username}\Application Data} on |
| 407 | Windows 2K/XP and later, and either @file{C:\WINDOWS\Application Data} | 407 | Windows 2K/XP/2K3, @file{C:\Users\@var{username}\AppData\Roaming} on |
| 408 | Windows Vista/7/2K8, and either @file{C:\WINDOWS\Application Data} | ||
| 408 | or @file{C:\WINDOWS\Profiles\@var{username}\Application Data} on the | 409 | or @file{C:\WINDOWS\Profiles\@var{username}\Application Data} on the |
| 409 | older Windows 9X/ME systems. | 410 | older Windows 9X/ME systems. If this directory does not exist or |
| 410 | 411 | cannot 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 | 412 | value of @code{HOME}. |
| 413 | |||
| 414 | You can override this default value of @code{HOME} by explicitly | ||
| 415 | setting the environment variable @env{HOME} to point to any directory | ||
| 416 | on your system. @env{HOME} can be set either from the command shell | ||
| 417 | prompt 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. | 422 | Older versions of Emacs didn't check the application data directory. |
| 416 | When 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 | 424 | directory of drive @file{C:}, and @env{HOME} is set neither in the |
| 418 | directory pointed by @env{HOME}. If @env{HOME} is not defined, Emacs | 425 | environment nor in the Registry, Emacs will treat @file{C:\} as the |
| 419 | checks for an existing @file{.emacs} file in @file{C:\}, the root | 426 | default @code{HOME} location, and will not look in the application |
| 420 | directory of drive @file{C:}@footnote{ | 427 | data directory, even if it exists. Note that only @file{.emacs} is |
| 421 | The check in @file{C:\} is for compatibility with older versions of Emacs, | 428 | looked for in @file{C:\}; the older name @file{_emacs} (see below) is |
| 422 | which didn't check the application data directory. | 429 | not. 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 | 430 | deprecated. |
| 424 | system calls to find out the exact location of your application data | 431 | |
| 425 | directory. 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} | 434 | location for other files and directories it normally looks for or |
| 428 | environment variable to point to it, and it will use that location for | 435 | creates in the user's home directory. |
| 429 | other files and directories it normally creates in the user's home | ||
| 430 | directory. | ||
| 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 |
| 433 | location by typing @kbd{C-x d ~/ @key{RET}}. This should present the | 438 | location by typing @kbd{C-x d ~/ @key{RET}}. This should present the |
| 434 | list of files in the home directory, and show its full name on the | 439 | list of files in the home directory, and show its full name on the |
| 435 | first line. Likewise, to visit your init file, type @kbd{C-x C-f | 440 | first 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 | ||
| 445 | any 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)) | |||
| 237 | Character code properties: customize what to show | 237 | Character 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 | ||
| 243 | There are text properties here: | 243 | There 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 |
| 921 | default, to recognize the end of a sentence, not including the | 921 | uses, by default, to recognize the end of a sentence, not including |
| 922 | following space (i.e., the variable @code{sentence-end-base}): | 922 | the 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 |
| 662 | tool bars and scroll bars) is by choosing an appropriate theme, for example | 662 | tool bars and scroll bars) is by choosing an appropriate theme, for example |
| 663 | with the GNOME theme selector. You can also do Emacs specific customization | 663 | with the GNOME theme selector. |
| 664 | by inserting GTK style directives in the file @file{~/.emacs.d/gtkrc}. Some GTK | 664 | |
| 665 | You can also do Emacs specific customization | ||
| 666 | by inserting GTK style directives in the file @file{~/.emacs.d/gtkrc}, | ||
| 667 | but only if you have a Gtk+ version earlier than 3 (i.e. 2). Some GTK | ||
| 665 | themes ignore customizations in @file{~/.emacs.d/gtkrc} so not everything | 668 | themes ignore customizations in @file{~/.emacs.d/gtkrc} so not everything |
| 666 | works with all themes. To customize Emacs font, background, faces, etc., use | 669 | works with all themes. To customize Emacs font, background, faces, etc., use |
| 667 | the normal X resources (@pxref{Resources}). We will present some examples of | 670 | the 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 @@ | |||
| 1 | 2011-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 | |||
| 9 | 2011-03-10 Eli Zaretskii <eliz@gnu.org> | ||
| 10 | |||
| 11 | * modes.texi (Operator Precedence Grammars): Don't use characters | ||
| 12 | outside ISO-8859-1. | ||
| 13 | |||
| 14 | 2011-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 | |||
| 20 | 2011-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 | |||
| 26 | 2011-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 | |||
| 31 | 2011-03-06 Juanma Barranquero <lekktu@gmail.com> | ||
| 32 | |||
| 33 | * makefile.w32-in (srcs): Add package.texi. | ||
| 34 | |||
| 1 | 2011-03-06 Chong Yidong <cyd@stupidchicken.com> | 35 | 2011-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 | |||
| 31 | emacsdir = $(srcdir)/../emacs | 31 | emacsdir = $(srcdir)/../emacs |
| 32 | 32 | ||
| 33 | MAKEINFO = @MAKEINFO@ | 33 | MAKEINFO = @MAKEINFO@ |
| 34 | MAKEINFO_OPTS = --force -I $(emacsdir) -I $(srcdir) | 34 | MAKEINFO_OPTS = --force --enable-encoding -I $(emacsdir) -I $(srcdir) |
| 35 | TEXI2DVI = texi2dvi | 35 | TEXI2DVI = texi2dvi |
| 36 | TEXI2PDF = texi2pdf | 36 | TEXI2PDF = texi2pdf |
| 37 | DVIPS = dvips | 37 | DVIPS = 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, | |||
| 542 | K. Richard Magill, Brian Marick, Roland McGrath, Stefan Monnier, Skip | 542 | K. Richard Magill, Brian Marick, Roland McGrath, Stefan Monnier, Skip |
| 543 | Montanaro, John Gardiner Myers, Thomas A. Peterson, Francesco Potorti, | 543 | Montanaro, John Gardiner Myers, Thomas A. Peterson, Francesco Potorti, |
| 544 | Friedrich Pukelsheim, Arnold D. Robbins, Raul Rockwell, Jason Rumney, | 544 | Friedrich Pukelsheim, Arnold D. Robbins, Raul Rockwell, Jason Rumney, |
| 545 | Per Starb@"ack, Shinichirou Sugou, Kimmo Suominen, Edward Tharp, Bill | 545 | Per Starbck, Shinichirou Sugou, Kimmo Suominen, Edward Tharp, Bill |
| 546 | Trost, Rickard Westman, Jean White, Eduard Wiebe, Matthew Wilding, | 546 | Trost, Rickard Westman, Jean White, Eduard Wiebe, Matthew Wilding, |
| 547 | Carl Witty, Dale Worley, Rusty Wright, and David D. Zuhn. | 547 | Carl 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 |
| 1707 | and your language environment is multibyte Latin-1, these commands | 1707 | and your language environment is multibyte Latin-1, these commands |
| 1708 | actually bind the multibyte character with code 2294, not the unibyte | 1708 | actually bind the multibyte character with code 246, not the byte |
| 1709 | Latin-1 character with code 246 (@kbd{M-v}). In order to use this | 1709 | code 246 (@kbd{M-v}) sent by a Latin-1 terminal. In order to use this |
| 1710 | binding, you need to enter the multibyte Latin-1 character as keyboard | 1710 | binding, you need to teach Emacs how to decode the keyboard by using an |
| 1711 | input. One way to do this is by using an appropriate input method | 1711 | appropriate input method (@pxref{Input Methods, , Input Methods, emacs, The GNU |
| 1712 | (@pxref{Input Methods, , Input Methods, emacs, The GNU Emacs Manual}). | 1712 | Emacs Manual}). |
| 1713 | |||
| 1714 | If you want to use a unibyte character in the key binding, you can | ||
| 1715 | construct the key sequence string using @code{multibyte-char-to-unibyte} | ||
| 1716 | or @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 |
| 1719 | This function sets the binding of @var{key} in the current global map | 1715 | This 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 | |||
| 33 | TEX=tex | 33 | TEX=tex |
| 34 | INSTALL_INFO = install-info | 34 | INSTALL_INFO = install-info |
| 35 | MAKEINFO = makeinfo | 35 | MAKEINFO = makeinfo |
| 36 | MAKEINFO_OPTS = --force -I$(srcdir) -I$(emacsdir) | 36 | MAKEINFO_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 | |||
| 3403 | or right-associativity of infix operators, nesting of tokens like | 3403 | or right-associativity of infix operators, nesting of tokens like |
| 3404 | parentheses and many other cases. | 3404 | parentheses 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 | |||
| 167 | user that cannot be overridden automatically. | 167 | user 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} |
| 170 | characters unchanged, and converts bytes with codes 128 through 159 to | 170 | characters unchanged, and converts bytes with codes 128 through 255 to |
| 171 | the multibyte representation of raw eight-bit bytes. | 171 | the 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 |
| 11 | users. A @dfn{package} is a collection of one or more files, | 12 | users. 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 |
| 31 | package}. A simple package is stored in a package archive as a single | 35 | package}. A simple package is stored in a package archive as a single |
| @@ -69,6 +73,7 @@ installing this package also automatically installs its dependencies; | |||
| 69 | if any dependency cannot be found, the package cannot be installed. | 73 | if 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 |
| 73 | command @code{package-install-file}, creates a subdirectory of | 78 | command @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 | |||
| 78 | package's contents (the single Lisp file for a simple package, or the | 83 | package's contents (the single Lisp file for a simple package, or the |
| 79 | files extracted from a multi-file package). | 84 | files 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 |
| 82 | autoload magic comments (@pxref{Autoload}). These autoload | 88 | autoload magic comments (@pxref{Autoload}). These autoload |
| 83 | definitions are saved to a file named @file{@var{name}-autoloads.el} | 89 | definitions 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 |
| 104 | file must conform to the Emacs Lisp library header conventions | 111 | file 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 |
| 166 | package, but it offers more features: it can include multiple Emacs | 173 | package, 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 |
| 207 | assumed to be an Info directory file made with @command{install-info}. | 214 | assumed 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 |
| 209 | install-info, texinfo, Texinfo}. The Info files listed in this | 216 | install-info, texinfo, Texinfo}. The relevant Info files should also |
| 210 | directory file should also be present in the content directory. In | 217 | be present in the content directory. In this case, Emacs will |
| 211 | this case, Emacs will automatically add the content directory to | 218 | automatically add the content directory to @code{Info-directory-list} |
| 212 | @code{Info-directory-list} when the package is activated. | 219 | when 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 |
| 215 | created when the package is installed. Note that there is no way to | 222 | created 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 | |
| 238 | To be done. | 245 | |
| 246 | Via the Package Menu, users may download packages from @dfn{package | ||
| 247 | archives}. Such archives are specified by the variable | ||
| 248 | @code{package-archives}, whose default value contains a single entry: | ||
| 249 | the archive hosted by the GNU project at @url{elpa.gnu.org}. This | ||
| 250 | section describes how to set up and maintain a package archive. | ||
| 251 | |||
| 252 | @cindex base location, package archive | ||
| 253 | @defopt package-archives | ||
| 254 | The value of this variable is an alist of package archives recognized | ||
| 255 | by the Emacs package manager. | ||
| 256 | |||
| 257 | Each alist element corresponds to one archive, and should have the | ||
| 258 | form @code{(@var{id} . @var{location})}, where @var{id} is the name of | ||
| 259 | the archive (a string) and @var{location} is its @dfn{base location} | ||
| 260 | (a string). | ||
| 261 | |||
| 262 | If the base location starts with @samp{http:}, it is treated as a HTTP | ||
| 263 | URL, and packages are downloaded from this archive via HTTP (as is the | ||
| 264 | case for the default GNU archive). | ||
| 265 | |||
| 266 | Otherwise, the base location should be a directory name. In this | ||
| 267 | case, Emacs retrieves packages from this archive via ordinary file | ||
| 268 | access. 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, | ||
| 272 | and associated files, are stored. If you want the archive to be | ||
| 273 | reachable via HTTP, this directory must be accessible to a web server. | ||
| 274 | How 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 | ||
| 278 | by default; type @kbd{M-x load-library @kbd{RET} package-x @kbd{RET}} | ||
| 279 | to load it, or add @code{(require 'package-x)} to your init file. | ||
| 280 | @xref{Lisp Libraries,, Lisp Libraries, emacs, The GNU Emacs Manual}. | ||
| 281 | Once loaded, you can make use of the following: | ||
| 282 | |||
| 283 | @defopt package-archive-upload-base | ||
| 284 | The value of this variable is the base location of a package archive, | ||
| 285 | as a directory name. The commands in the @code{package-x} library | ||
| 286 | will use this base location. | ||
| 287 | |||
| 288 | The directory name should be absolute. You may specify a remote name, | ||
| 289 | such as @file{/ssh:foo@@example.com:/var/www/packages/}, if the | ||
| 290 | package archive is on a different machine. @xref{Remote Files,, | ||
| 291 | Remote Files, emacs, The GNU Emacs Manual}. | ||
| 292 | @end defopt | ||
| 293 | |||
| 294 | @deffn Command package-upload-file filename | ||
| 295 | This command prompts for @var{filename}, a file name, and uploads that | ||
| 296 | file to @code{package-archive-upload-base}. The file must be either a | ||
| 297 | simple package (a @file{.el} file) or a multi-file package (a | ||
| 298 | @file{.tar} file); otherwise, an error is raised. The package | ||
| 299 | attributes are automatically extracted, and the archive's contents | ||
| 300 | list is updated with this information. | ||
| 301 | |||
| 302 | If @code{package-archive-upload-base} does not specify a valid | ||
| 303 | directory, the function prompts interactively for one. If the | ||
| 304 | directory does not exist, it is created. The directory need not have | ||
| 305 | any initial contents (i.e., you can use this command to populate an | ||
| 306 | initially empty archive). | ||
| 307 | @end deffn | ||
| 308 | |||
| 309 | @deffn Command package-upload-buffer | ||
| 310 | This command is similar to @code{package-upload-file}, but instead of | ||
| 311 | prompting for a package file, it uploads the contents of the current | ||
| 312 | buffer. The current buffer must be visiting a simple package (a | ||
| 313 | @file{.el} file) or a multi-file package (a @file{.tar} file); | ||
| 314 | otherwise, an error is raised. | ||
| 315 | @end deffn | ||
| 316 | |||
| 317 | @noindent | ||
| 318 | After you create an archive, remember that it is not accessible in the | ||
| 319 | Package 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 |
| 555 | Lisp objects into strings. @code{read-from-string} (@pxref{Input | 555 | Lisp objects into strings. @code{read-from-string} (@pxref{Input |
| 556 | Functions}) can ``convert'' a string representation of a Lisp object | 556 | Functions}) can ``convert'' a string representation of a Lisp object |
| 557 | into an object. The functions @code{string-make-multibyte} and | 557 | into 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 @@ | |||
| 1 | 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com> | ||
| 2 | |||
| 3 | * calc.texi (Logarithmic Units): Update the function names. | ||
| 4 | |||
| 5 | 2011-03-15 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 6 | |||
| 7 | * message.texi (Various Commands): Document format specs in the | ||
| 8 | ellipsis. | ||
| 9 | |||
| 10 | 2011-03-15 Antoine Levitt <antoine.levitt@gmail.com> | ||
| 11 | |||
| 12 | * message.texi (Insertion Variables): Document message-cite-style. | ||
| 13 | |||
| 14 | 2011-03-14 Michael Albinus <michael.albinus@gmx.de> | ||
| 15 | |||
| 16 | * tramp.texi (Remote processes): New subsection "Running shell on | ||
| 17 | a remote host". | ||
| 18 | |||
| 19 | 2011-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 | |||
| 24 | 2011-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 | |||
| 30 | 2011-03-12 Michael Albinus <michael.albinus@gmx.de> | ||
| 31 | |||
| 32 | Sync with Tramp 2.2.1. | ||
| 33 | |||
| 34 | * trampver.texi: Update release number. | ||
| 35 | |||
| 36 | 2011-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 | |||
| 42 | 2011-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 | |||
| 47 | 2011-03-07 Antoine Levitt <antoine.levitt@gmail.com> | ||
| 48 | |||
| 49 | * message.texi (Message Buffers): Update default value of | ||
| 50 | message-generate-new-buffers. | ||
| 51 | |||
| 1 | 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com> | 52 | 2011-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 | ||
| 200 | HTML_TARGETS = emacs-faq.html | ||
| 201 | |||
| 200 | TEXI2DVI = texi2dvi | 202 | TEXI2DVI = texi2dvi |
| 201 | TEXI2PDF = texi2pdf | 203 | TEXI2PDF = texi2pdf |
| 202 | 204 | ||
| @@ -401,6 +403,15 @@ faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi | |||
| 401 | $(ENVADD) $(TEXI2DVI) $< | 403 | $(ENVADD) $(TEXI2DVI) $< |
| 402 | faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi | 404 | faq.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. | ||
| 408 | emacs-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' $@ | ||
| 413 | emacs-faq.text: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi | ||
| 414 | $(MAKEINFO) $(MAKEINFO_OPTS) --plaintext -o $@ $< | ||
| 404 | 415 | ||
| 405 | flymake : $(infodir)/flymake | 416 | flymake : $(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 | ||
| 686 | clean: mostlyclean | 697 | clean: mostlyclean |
| 687 | rm -f $(DVI_TARGETS) $(PDF_TARGETS) | 698 | rm -f $(DVI_TARGETS) $(PDF_TARGETS) $(HTML_TARGETS) emacs-faq.text |
| 688 | 699 | ||
| 689 | distclean: clean | 700 | distclean: 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 | |||
| 131 | later. | 131 | later. |
| 132 | 132 | ||
| 133 | If you have problems with the search, set @code{auth-source-debug} to | 133 | If 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 |
| 135 | the @code{*Messages*} buffer. Ditto for any other problems, your | 135 | checking in the @code{*Messages*} buffer. Ditto for any other |
| 136 | first step is always to see what's being checked. The second step, of | 136 | problems, your first step is always to see what's being checked. The |
| 137 | course, is to write a blog entry about it and wait for the answer in | 137 | second step, of course, is to write a blog entry about it and wait for |
| 138 | the comments. | 138 | the answer in the comments. |
| 139 | 139 | ||
| 140 | You can customize the variable @code{auth-sources}. The following may | 140 | You can customize the variable @code{auth-sources}. The following may |
| 141 | be needed if you are using an older version of Emacs or if the | 141 | be 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 | ||
| 235 | The auth-source library lets you control logging output easily. | ||
| 236 | |||
| 237 | @defvar auth-source-debug | ||
| 238 | Set this variable to 'trivia to see lots of output in *Messages*, or | ||
| 239 | set it to a function that behaves like @code{message} to do your own | ||
| 240 | logging. | ||
| 241 | @end defvar | ||
| 242 | |||
| 235 | The auth-source library only has a few functions for external use. | 243 | The 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 | ||
| 251 | Let's take a look at an example of using @code{auth-source-search} | ||
| 252 | from 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 | |||
| 274 | This call requires the user and password (secret) to be in the | ||
| 275 | results. It also requests that an entry be created if it doesn't | ||
| 276 | exist already. While the created entry is being assembled, the shown | ||
| 277 | prompts will be used to interact with the user. The caller can also | ||
| 278 | pass data in @code{auth-source-creation-defaults} to supply defaults | ||
| 279 | for any of the prompts. | ||
| 280 | |||
| 281 | Note that the password needs to be evaluated if it's a function. It's | ||
| 282 | wrapped in a function to provide some security. | ||
| 283 | |||
| 284 | Later, 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 | |||
| 292 | This will work whether the @code{:save-function} was provided or not. | ||
| 293 | @code{:save-function} will be provided only when a new entry was | ||
| 294 | created, so this effectively says ``after a successful login, save the | ||
| 295 | authentication information we just used, if it was newly created.'' | ||
| 296 | |||
| 297 | After the first time it's called, the @code{:save-function} will not | ||
| 298 | run 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 | ||
| 300 | the same question again, which is annoying. This is so it won't ask | ||
| 301 | the same question again, which is annoying. This is so it won't ask | ||
| 302 | the same question again, which is annoying. | ||
| 303 | |||
| 304 | So the responsibility of the API user that specified @code{:create t} | ||
| 305 | is 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 | ||
| 245 | TODO: how to include docstring? | 309 | TODO: 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 | ||
| 28128 | The units @code{dB} (decibels) and @code{Np} (nepers) are logarithmic | 28128 | The units @code{dB} (decibels) and @code{Np} (nepers) are logarithmic |
| 28129 | units which are typically manipulated differently than standard units. | 28129 | units which are manipulated differently than standard units. Calc |
| 28130 | Calc provides commands to work with these logarithmic units. | 28130 | provides commands to work with these logarithmic units. |
| 28131 | 28131 | ||
| 28132 | Decibels and nepers are used to measure power quantities as well as | 28132 | Decibels and nepers are used to measure power quantities as well as |
| 28133 | field quantities (quantities whose squares are proportional to power). | 28133 | field quantities (quantities whose squares are proportional to power); |
| 28134 | The decibel and neper values of a quantity are relative to | 28134 | these two types of quantities are handled slightly different from each |
| 28135 | a reference quantity; for example, the decibel value of a sound | 28135 | other. By default the Calc commands work as if power quantities are |
| 28136 | pressure level of | 28136 | being used; with the @kbd{H} prefix the Calc commands work as if field |
| 28137 | @infoline @math{60 uPa} | 28137 | quantities are being used. |
| 28138 | @texline @math{60 \mu{\rm Pa}} | ||
| 28139 | relative 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}}, | ||
| 28145 | which is about | ||
| 28146 | @infoline @math{9.54 dB}. | ||
| 28147 | @texline @math{9.54 {\rm dB}}. | ||
| 28148 | Note that in taking the ratio, the original units cancel and so these | ||
| 28149 | logarithmic units are dimensionless. | ||
| 28150 | |||
| 28151 | @vindex calc-logunits-power-reference | ||
| 28152 | @vindex calc-logunits-field-reference | ||
| 28153 | The Calc commands for the logarithmic units assume that power quantities | ||
| 28154 | are being used unless the @kbd{H} prefix is used, in which case they assume that | ||
| 28155 | field quantities are being used. For power quantities, Calc uses | ||
| 28156 | @infoline @math{1 mW} | ||
| 28157 | @texline @math{1 {\rm mW}} | ||
| 28158 | as the default reference quantity; this default can be changed by changing | ||
| 28159 | the value of the customizable variable | ||
| 28160 | @code{calc-logunits-power-reference} (@pxref{Customizing Calc}). | ||
| 28161 | For field quantities, Calc uses | ||
| 28162 | @infoline @math{20 uPa} | ||
| 28163 | @texline @math{20 \mu{\rm Pa}} | ||
| 28164 | as the default reference quantity; this is the value used in acoustics | ||
| 28165 | which is where decibels are commonly encountered. This default can be | ||
| 28166 | changed by changing the value of the customizable variable | ||
| 28167 | @code{calc-logunits-field-reference} (@pxref{Customizing Calc}). A | ||
| 28168 | non-default reference quantity will be read from the stack if the | ||
| 28169 | capital @kbd{O} prefix is used. | ||
| 28170 | 28138 | ||
| 28171 | The decibel level of a power | 28139 | The decibel level of a power |
| 28172 | @infoline @math{P1}, | 28140 | @infoline @math{P1}, |
| @@ -28214,6 +28182,20 @@ relative to a reference | |||
| 28214 | is defined as | 28182 | is 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}}. |
| 28185 | For example, the decibel value of a sound pressure level of | ||
| 28186 | @infoline @math{60 uPa} | ||
| 28187 | @texline @math{60 \mu{\rm Pa}} | ||
| 28188 | relative 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}}, | ||
| 28194 | which is about | ||
| 28195 | @infoline @math{9.54 dB}. | ||
| 28196 | @texline @math{9.54 {\rm dB}}. | ||
| 28197 | Note that in taking the ratio, the original units cancel and so these | ||
| 28198 | logarithmic units are dimensionless. | ||
| 28217 | 28199 | ||
| 28218 | Nepers (named after John Napier, who is credited with inventing the | 28200 | Nepers (named after John Napier, who is credited with inventing the |
| 28219 | logarithm) are similar to bels except they use natural logarithms instead | 28201 | logarithm) 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 | ||
| 28223 | For power quantities, Calc uses | ||
| 28224 | @infoline @math{1 mW} | ||
| 28225 | @texline @math{1 {\rm mW}} | ||
| 28226 | as the default reference quantity; this default can be changed by changing | ||
| 28227 | the value of the customizable variable | ||
| 28228 | @code{calc-lu-power-reference} (@pxref{Customizing Calc}). | ||
| 28229 | For field quantities, Calc uses | ||
| 28230 | @infoline @math{20 uPa} | ||
| 28231 | @texline @math{20 \mu{\rm Pa}} | ||
| 28232 | as the default reference quantity; this is the value used in acoustics | ||
| 28233 | which is where decibels are commonly encountered. This default can be | ||
| 28234 | changed by changing the value of the customizable variable | ||
| 28235 | @code{calc-lu-field-reference} (@pxref{Customizing Calc}). A | ||
| 28236 | non-default reference quantity will be read from the stack if the | ||
| 28237 | capital @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 |
| 28243 | The @kbd{l q} (@code{calc-logunits-quantity}) [@code{powerquant}] | 28243 | The @kbd{l q} (@code{calc-lu-quant}) [@code{lupquant}] |
| 28244 | command computes the power quantity corresponding to a given number of | 28244 | command computes the power quantity corresponding to a given number of |
| 28245 | logarithmic units. With the capital @kbd{O} prefix, @kbd{O l q}, the | 28245 | logarithmic units. With the capital @kbd{O} prefix, @kbd{O l q}, the |
| 28246 | reference level will be read from the top of the stack. (In an | 28246 | reference level will be read from the top of the stack. (In an |
| 28247 | algebraic formula, @code{powerquant} can be given an optional second | 28247 | algebraic formula, @code{lupquant} can be given an optional second |
| 28248 | argument which will be used for the reference level.) For example, | 28248 | argument 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}. |
| 28251 | The @kbd{H l q} [@code{fieldquant}] command behaves like @kbd{l q} but | 28251 | The @kbd{H l q} [@code{lufquant}] command behaves like @kbd{l q} but |
| 28252 | computes field quantities instead of power quantities. | 28252 | computes 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 |
| 28262 | The @kbd{l d} (@code{calc-dblevel}) [@code{dbpowerlevel}] | 28262 | The @kbd{l d} (@code{calc-db}) [@code{dbpower}] command will compute |
| 28263 | command will compute the decibel level of a power quantity using the | 28263 | the decibel level of a power quantity using the default reference |
| 28264 | default reference level; @kbd{H l d} [@code{dbfieldlevel}] will | 28264 | level; @kbd{H l d} [@code{dbfield}] will compute the decibel level of |
| 28265 | compute the decibel level of a field quantity. The commands @kbd{l n} | 28265 | a 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 | 28267 | compute neper levels. With the capital @kbd{O} prefix these commands |
| 28268 | capital @kbd{O} prefix these commands will read a reference level | 28268 | will read a reference level from the stack; in an algebraic formula |
| 28269 | from the stack; in an algebraic formula the reference level can be | 28269 | the reference level can be given as an optional second argument. |
| 28270 | given 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 |
| 28288 | The sum of two power or field quantities doesn't correspond to the sum | 28287 | The sum of two power or field quantities doesn't correspond to the sum |
| 28289 | of the corresponding decibel or neper levels. If the powers | 28288 | of the corresponding decibel or neper levels. If the powers |
| 28290 | corresponding to decibel levels | 28289 | corresponding 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 |
| 28308 | When field quantities are combined, it often means the | 28307 | When field quantities are combined, it often means the corresponding |
| 28309 | corresponding powers are added and so the above formula might be used. | 28308 | powers are added and so the above formula might be used. In |
| 28310 | In acoustics, for example, the decibel sound pressure level is defined | 28309 | acoustics, for example, the sound pressure level is a field quantity |
| 28311 | using the field formula but the sound pressure levels are combined | 28310 | and so the decibels are often defined using the field formula, but the |
| 28312 | as the sound power levels, and so the above formula should be used. If | 28311 | sound pressure levels are combined as the sound power levels, and so |
| 28313 | two field quantities themselves are added, the new decibel level will be | 28312 | the above formula should be used. If two field quantities themselves |
| 28314 | 28313 | are 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 |
| 28352 | There are similar formulas for combining nepers. | 28351 | There are similar formulas for combining nepers. The @kbd{l +} |
| 28353 | The @kbd{l +} (@code{calc-logunits-add}) [@code{lupoweradd}] command | 28352 | (@code{calc-lu-plus}) [@code{lupadd}] command will ``add'' two |
| 28354 | will ``add'' two logarithmic unit power levels this way; with the | 28353 | logarithmic 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. |
| 28356 | unit field levels. Similarly, logarithmic units can be | 28355 | Similarly, 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}]. | 28357 | The @kbd{l *} (@code{calc-lu-times}) [@code{lupmul}] and @kbd{H l *} |
| 28359 | The @kbd{l *} (@code{calc-logunits-mul}) [@code{lupowermul}] | 28358 | [@code{lufmul}] commands will ``multiply'' a logarithmic unit by a |
| 28360 | and @kbd{H l *} [@code{lufieldmul}] commands will ``multiply'' | 28359 | number; the @kbd{l /} (@code{calc-lu-divide}) [@code{lupdiv}] and |
| 28361 | a 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 | 28361 | unit by a number. Note that the reference quantities don't play a role |
| 28363 | @kbd{H l /} [@code{lufielddiv}] commands will ``divide'' a | 28362 | in this arithmetic. |
| 28364 | logarithmic unit by a number. Note that the reference quantities don't | ||
| 28365 | play 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} | |||
| 35539 | and @code{calc-embedded-open-close-plain-alist}. | 35536 | and @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 |
| 35544 | See @ref{Logarithmic Units}.@* | 35541 | See @ref{Logarithmic Units}.@* |
| 35545 | The variables @code{calc-logunits-power-reference} and | 35542 | The 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 |
| 35547 | strings) which Calc will use as reference quantities for logarithmic | 35544 | strings) which Calc will use as reference quantities for logarithmic |
| 35548 | units. | 35545 | units. |
| 35549 | 35546 | ||
| 35550 | The default value of @code{calc-logunits-power-reference} is @code{"mW"} | 35547 | The default value of @code{calc-lu-power-reference} is @code{"mW"} |
| 35551 | and the default value of @code{calc-logunits-field-reference} is | 35548 | and 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 | ||
| 1205 | This is a format-spec string, and you can use @samp{%l} to say how | ||
| 1206 | many lines were removed, and @samp{%c} to say how many characters were | ||
| 1207 | removed. | ||
| 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 | ||
| 1939 | The overall style to be used when replying to messages. This controls | ||
| 1940 | things like where the reply should be put relative to the original, | ||
| 1941 | how the citation is formatted, where the signature goes, etc. | ||
| 1942 | |||
| 1943 | Value is either @code{nil} (no variable overrides) or a let-style list | ||
| 1944 | of pairs @code{(VARIABLE VALUE)} to override default values. | ||
| 1945 | |||
| 1946 | See @code{gnus-posting-styles} to set this variable for specific | ||
| 1947 | groups. 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 | ||
| 1952 | Where 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 |
| 1935 | All headers that match this regexp will be removed from yanked | 1958 | All 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 |
| 2301 | Create the new buffer with the name generated in the Message way. This | 2324 | Create the new buffer with the name generated in the Message way. |
| 2302 | is the default. | ||
| 2303 | 2325 | ||
| 2304 | @item unsent | 2326 | @item unsent |
| 2305 | Similar to @code{unique} but the buffer name begins with "*unsent ". | 2327 | Similar 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 | ||
| 2318 | The default value is @code{unique}. | 2340 | The 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 | |||
| 2540 | that host. | 2540 | that 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 | |||
| 2546 | Calling @code{M-x shell} in a buffer related to a remote host runs the | ||
| 2547 | local shell as defined in @option{shell-file-name}. This might be | ||
| 2548 | also a valid path name for a shell to be applied on the remote host, | ||
| 2549 | but it will fail at least when your local and remote hosts belong to | ||
| 2550 | different system types, like @samp{windows-nt} and @samp{gnu/linux}. | ||
| 2551 | |||
| 2552 | You must set the variable @option{explicit-shell-file-name} to the | ||
| 2553 | shell path name on the remote host, in order to start that shell on | ||
| 2554 | the remote host. | ||
| 2555 | |||
| 2556 | @ifset emacs | ||
| 2557 | Starting with Emacs 24 this won't be necessary, if you call | ||
| 2558 | @code{shell} interactively. You will be asked for the remote shell | ||
| 2559 | path, 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 | |||
| 2556 | continuous output of the @command{tail} command. | 2577 | continuous 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 |
| 2563 | open an interactive shell on your remote host, and run commands there. | 2584 | open an interactive shell on your remote host, and run commands there. |
| 2564 | After you have started @code{eshell}, you could perform commands like | 2585 | After you have started @code{M-x eshell}, you could perform commands |
| 2565 | this: | 2586 | like 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 |