aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2014-06-07 17:35:27 -0700
committerGlenn Morris2014-06-07 17:35:27 -0700
commit36cf8493aff99b652b2ad8c9e4d55a18688e8484 (patch)
treef8ff499c2ee5e91b20d8576841f0e6bf91d1ba34 /doc
parent2be772ff45057215c1c70252008c1f9703ef3bff (diff)
parentda8de2908c35ad1fd5c437486d2ea5f6ebb75ca3 (diff)
downloademacs-36cf8493aff99b652b2ad8c9e4d55a18688e8484.tar.gz
emacs-36cf8493aff99b652b2ad8c9e4d55a18688e8484.zip
Merge from emacs-24; up to 2014-06-01T23:37:59Z!eggert@cs.ucla.edu
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog13
-rw-r--r--doc/emacs/ack.texi46
-rw-r--r--doc/emacs/emacs.texi15
-rw-r--r--doc/emacs/package.texi47
-rw-r--r--doc/emacs/programs.texi43
-rw-r--r--doc/lispref/ChangeLog12
-rw-r--r--doc/lispref/display.texi28
-rw-r--r--doc/lispref/hooks.texi4
-rw-r--r--doc/lispref/os.texi12
-rw-r--r--doc/lispref/package.texi35
10 files changed, 175 insertions, 80 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index b65e7585421..daccb5a2682 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,16 @@
12014-06-08 Glenn Morris <rgm@gnu.org>
2
3 * ack.texi (Acknowledgments):
4 * emacs.texi (Acknowledgments): Updates.
5
6 * programs.texi (Prettifying Symbols): Remove node.
7 (Misc for Programs): Mention more briefly here.
8 * emacs.texi (Top): Update menu.
9
10 * package.texi (Package Menu, Package Installation):
11 Mention signed packages.
12 (Package Installation): Mention package-pinned-packages.
13
12014-06-02 Glenn Morris <rgm@gnu.org> 142014-06-02 Glenn Morris <rgm@gnu.org>
2 15
3 * ack.texi (Acknowledgments): Remove some obsolete items. 16 * ack.texi (Acknowledgments): Remove some obsolete items.
diff --git a/doc/emacs/ack.texi b/doc/emacs/ack.texi
index 93fc51f718d..9f2496da263 100644
--- a/doc/emacs/ack.texi
+++ b/doc/emacs/ack.texi
@@ -15,7 +15,7 @@ We thank them for their generosity as well.
15 15
16This list is intended to mention every contributor of a major package or 16This list is intended to mention every contributor of a major package or
17feature we currently distribute; if you know of someone we have omitted, 17feature we currently distribute; if you know of someone we have omitted,
18please report that as a manual bug. More comprehensive information is 18please make a bug report. More comprehensive information is
19available in the @file{ChangeLog} files, summarized in the file 19available in the @file{ChangeLog} files, summarized in the file
20@file{etc/AUTHORS} in the distribution. 20@file{etc/AUTHORS} in the distribution.
21 21
@@ -51,12 +51,12 @@ files.
51@item 51@item
52Michael Albinus wrote @file{dbus.el}, a package that implements the 52Michael Albinus wrote @file{dbus.el}, a package that implements the
53D-Bus message bus protocol; @file{zeroconf.el}, a mode for browsing 53D-Bus message bus protocol; @file{zeroconf.el}, a mode for browsing
54Avahi services; 54Avahi services; @file{secrets.el}, an interface to keyring daemons for
55and @file{secrets.el}, an interface to keyring daemons for 55storing confidential data; and @file{filenotify.el} and the associated
56storing confidential data. He and Kai Großjohann wrote the Tramp package, which 56low-level interface routines, for watching file status changes.
57provides transparent remote file editing using rcp, ssh, ftp, and 57He and Kai Großjohann wrote the Tramp package, which provides
58other network protocols. He and Daniel Pittman wrote 58transparent remote file editing using ssh, ftp, and other network
59@file{tramp-cache.el}. 59protocols. He and Daniel Pittman wrote @file{tramp-cache.el}.
60 60
61@item 61@item
62Ralf Angeli wrote @file{scroll-lock.el}, a minor mode which keeps the 62Ralf Angeli wrote @file{scroll-lock.el}, a minor mode which keeps the
@@ -88,7 +88,8 @@ moving the mouse in particular patterns.
88@item 88@item
89Juanma Barranquero wrote @file{emacs-lock.el} (based on the original 89Juanma Barranquero wrote @file{emacs-lock.el} (based on the original
90version by Tom Wurgler), which makes it harder to exit with valuable 90version by Tom Wurgler), which makes it harder to exit with valuable
91buffers unsaved. He also made many other contributions to other 91buffers unsaved; and @file{frameset.el}, for saving and restoring the
92frame/window setup. He also made many other contributions to other
92areas, including MS Windows support. 93areas, including MS Windows support.
93 94
94@item 95@item
@@ -203,7 +204,9 @@ for Korean Hanja.
203 204
204@item 205@item
205Andrew Choi and Yamamoto Mitsuharu wrote the Carbon support, used 206Andrew Choi and Yamamoto Mitsuharu wrote the Carbon support, used
206prior to Emacs 23 for Mac OS. 207prior to Emacs 23 for Mac OS. Yamamoto Mitsuharu continued to
208contribute to Mac OS support in the newer Nextstep port; and also
209improved support for multi-monitor displays.
207 210
208@item 211@item
209Chong Yidong was the Emacs co-maintainer from Emacs 23 to 24.3. He made many 212Chong Yidong was the Emacs co-maintainer from Emacs 23 to 24.3. He made many
@@ -350,6 +353,10 @@ Gary Foster wrote @file{scroll-all.el}, a mode for scrolling several buffers
350together. 353together.
351 354
352@item 355@item
356Romain Francoise contributed ACL (Access Control List) support,
357for preserving extended file attributes on backup and copy.
358
359@item
353Noah Friedman wrote @file{rlogin.el}, an interface to Rlogin, 360Noah Friedman wrote @file{rlogin.el}, an interface to Rlogin,
354@file{type-break.el}, which reminds you to take periodic breaks from 361@file{type-break.el}, which reminds you to take periodic breaks from
355typing, and @code{eldoc-mode}, a mode to show the defined parameters or 362typing, and @code{eldoc-mode}, a mode to show the defined parameters or
@@ -510,13 +517,14 @@ Emacs, including: @file{dns.el} for Domain Name Service lookups;
510@file{time-date.el} for general date and time handling. 517@file{time-date.el} for general date and time handling.
511He also wrote @file{network-stream.el}, for opening network processes; 518He also wrote @file{network-stream.el}, for opening network processes;
512@file{url-queue.el}, for controlling parallel downloads of URLs; 519@file{url-queue.el}, for controlling parallel downloads of URLs;
513and implemented libxml2 support. 520and implemented libxml2 support. He also wrote @file{eww.el},
521an Emacs Lisp web browser; and implemented native zlib decompression.
514Components of Gnus have also been written by: Nagy Andras, David 522Components of Gnus have also been written by: Nagy Andras, David
515Blacka, Scott Byer, Ludovic Courtès, Julien Danjou, Kevin Greiner, Kai 523Blacka, Scott Byer, Ludovic Courtès, Julien Danjou, Kevin Greiner, Kai
516Großjohann, Joe Hildebrand, Paul Jarc, Simon Josefsson, Sascha 524Großjohann, Joe Hildebrand, Paul Jarc, Simon Josefsson, Sascha
517Lüdecke, David Moore, Jim Radford, Benjamin Rutt, Raymond Scholz, 525Lüdecke, David Moore, Jim Radford, Benjamin Rutt, Raymond Scholz,
518Thomas Steffen, Reiner Steib, Didier Verna, Ilja Weis, Katsumi 526Thomas Steffen, Reiner Steib, Jan Tatarik, Didier Verna, Ilja Weis,
519Yamaoka, Teodor Zlatanov, and others (@pxref{Contributors,,,gnus, the 527Katsumi Yamaoka, Teodor Zlatanov, and others (@pxref{Contributors,,,gnus, the
520Gnus Manual}). 528Gnus Manual}).
521 529
522@item 530@item
@@ -696,6 +704,10 @@ directory-local variables; and the @code{info-finder} feature that
696creates a virtual Info manual of package keywords. 704creates a virtual Info manual of package keywords.
697 705
698@item 706@item
707Leo Liu wrote @file{pcmpl-x.el}, providing completion for
708miscellaneous external tools; and revamped support for Octave in Emacs 24.4.
709
710@item
699Károly Lőrentey wrote the ``multi-terminal'' code, which allows 711Károly Lőrentey wrote the ``multi-terminal'' code, which allows
700Emacs to run on graphical and text terminals simultaneously. 712Emacs to run on graphical and text terminals simultaneously.
701 713
@@ -840,8 +852,8 @@ client for the ``Music Player Daemon''; @file{smie.el}, a generic
840indentation engine; and @file{pcase.el}, implementing ML-style pattern 852indentation engine; and @file{pcase.el}, implementing ML-style pattern
841matching. In Emacs 24, he integrated the lexical binding code, 853matching. In Emacs 24, he integrated the lexical binding code,
842cleaned up the CL namespace (making it acceptable to use CL 854cleaned up the CL namespace (making it acceptable to use CL
843functions at runtime), and added generalized variables to core Emacs 855functions at runtime), added generalized variables to core Emacs
844Lisp. 856Lisp, and implemented a new lightweight advice mechanism.
845 857
846@item 858@item
847Morioka Tomohiko wrote several packages for MIME support in Gnus and 859Morioka Tomohiko wrote several packages for MIME support in Gnus and
@@ -1042,7 +1054,8 @@ Guillermo J. Rozas wrote @file{scheme.el}, a mode for editing Scheme and
1042DSSSL code. 1054DSSSL code.
1043 1055
1044@item 1056@item
1045Martin Rudalics implemented improved display-buffer handling in Emacs 24. 1057Martin Rudalics implemented improved display-buffer handling in Emacs 24;
1058and implemented ``pixel-wise'' resizing of windows and frames.
1046 1059
1047@item 1060@item
1048Ivar Rummelhoff wrote @file{winner.el}, which records recent window 1061Ivar Rummelhoff wrote @file{winner.el}, which records recent window
@@ -1390,7 +1403,8 @@ zone out in front of Emacs.
1390Eli Zaretskii made many standard Emacs features work on MS-DOS and 1403Eli Zaretskii made many standard Emacs features work on MS-DOS and
1391Microsoft Windows. He also wrote @file{tty-colors.el}, which 1404Microsoft Windows. He also wrote @file{tty-colors.el}, which
1392implements transparent mapping of X colors to tty colors; and 1405implements transparent mapping of X colors to tty colors; and
1393@file{rxvt.el}. He implemented support for bidirectional text. 1406@file{rxvt.el}. He implemented support for bidirectional text,
1407and also menus on text-mode terminals.
1394 1408
1395@item 1409@item
1396Jamie Zawinski wrote much of the support for faces and X selections. 1410Jamie Zawinski wrote much of the support for faces and X selections.
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index d9aabb87daf..e24e861b138 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -669,7 +669,6 @@ Editing Programs
669* Symbol Completion:: Completion on symbol names of your program or language. 669* Symbol Completion:: Completion on symbol names of your program or language.
670* MixedCase Words:: Dealing with identifiersLikeThis. 670* MixedCase Words:: Dealing with identifiersLikeThis.
671* Semantic:: Suite of editing tools based on source code parsing. 671* Semantic:: Suite of editing tools based on source code parsing.
672* Prettifying Symbols:: Display symbols as composed characters.
673* Misc for Programs:: Other Emacs features useful for editing programs. 672* Misc for Programs:: Other Emacs features useful for editing programs.
674* C Modes:: Special commands of C, C++, Objective-C, 673* C Modes:: Special commands of C, C++, Objective-C,
675 Java, IDL, Pike and AWK modes. 674 Java, IDL, Pike and AWK modes.
@@ -1366,12 +1365,14 @@ USA
1366@node Acknowledgments 1365@node Acknowledgments
1367@unnumberedsec Acknowledgments 1366@unnumberedsec Acknowledgments
1368 1367
1368@c It's hard to update this fairly.
1369@c I wonder if it would be better to drop it in favor of AUTHORS?
1369Contributors to GNU Emacs include Jari Aalto, Per Abrahamsen, Tomas 1370Contributors to GNU Emacs include Jari Aalto, Per Abrahamsen, Tomas
1370Abrahamsson, Jay K. Adams, Alon Albert, Michael Albinus, Nagy 1371Abrahamsson, Jay K. Adams, Alon Albert, Michael Albinus, Nagy
1371Andras, Benjamin Andresen, Ralf Angeli, Dmitry Antipov, Joe Arceneaux, Emil Åström, 1372Andras, Benjamin Andresen, Ralf Angeli, Dmitry Antipov, Joe Arceneaux, Emil Åström,
1372Miles Bader, David Bakhash, Juanma Barranquero, Eli Barzilay, Thomas 1373Miles Bader, David Bakhash, Juanma Barranquero, Eli Barzilay, Thomas
1373Baumann, Steven L. Baur, Jay Belanger, Alexander L. Belikoff, 1374Baumann, Steven L. Baur, Jay Belanger, Alexander L. Belikoff,
1374Thomas Bellman, Scott Bender, Boaz Ben-Zvi, Sergey Berezin, Karl 1375Thomas Bellman, Scott Bender, Boaz Ben-Zvi, Sergey Berezin, Stephen Berman, Karl
1375Berry, Anna M. Bigatti, Ray Blaak, Martin Blais, Jim Blandy, Johan 1376Berry, Anna M. Bigatti, Ray Blaak, Martin Blais, Jim Blandy, Johan
1376Bockgård, Jan Böcker, Joel Boehland, Lennart Borgman, Per Bothner, 1377Bockgård, Jan Böcker, Joel Boehland, Lennart Borgman, Per Bothner,
1377Terrence Brannon, Frank Bresz, Peter Breton, Emmanuel Briot, Kevin 1378Terrence Brannon, Frank Bresz, Peter Breton, Emmanuel Briot, Kevin
@@ -1391,13 +1392,13 @@ Eglen, Christian Egli, Torbjörn Einarsson, Tsugutomo Enami, David
1391Engster, Hans Henrik Eriksen, Michael Ernst, Ata Etemadi, Frederick 1392Engster, Hans Henrik Eriksen, Michael Ernst, Ata Etemadi, Frederick
1392Farnbach, Oscar Figueiredo, Fred Fish, Steve Fisk, Karl Fogel, Gary 1393Farnbach, Oscar Figueiredo, Fred Fish, Steve Fisk, Karl Fogel, Gary
1393Foster, Eric S. Fraga, Romain Francoise, Noah Friedman, Andreas 1394Foster, Eric S. Fraga, Romain Francoise, Noah Friedman, Andreas
1394Fuchs, Shigeru Fukaya, Hallvard Furuseth, Keith Gabryelski, Peter S. 1395Fuchs, Shigeru Fukaya, Xue Fuqiao, Hallvard Furuseth, Keith Gabryelski, Peter S.
1395Galbraith, Kevin Gallagher, Fabián E. Gallina, Kevin Gallo, Juan León Lahoz García, 1396Galbraith, Kevin Gallagher, Fabián E. Gallina, Kevin Gallo, Juan León Lahoz García,
1396Howard Gayle, Daniel German, Stephen Gildea, Julien Gilles, David 1397Howard Gayle, Daniel German, Stephen Gildea, Julien Gilles, David
1397Gillespie, Bob Glickstein, Deepak Goel, David De La Harpe Golden, Boris 1398Gillespie, Bob Glickstein, Deepak Goel, David De La Harpe Golden, Boris
1398Goldowsky, David Goodger, Chris Gray, Kevin Greiner, Michelangelo Grigni, Odd 1399Goldowsky, David Goodger, Chris Gray, Kevin Greiner, Michelangelo Grigni, Odd
1399Gripenstam, Kai Großjohann, Michael Gschwind, Bastien Guerry, Henry 1400Gripenstam, Kai Großjohann, Michael Gschwind, Bastien Guerry, Henry
1400Guillaume, Doug Gwyn, Bruno Haible, Ken'ichi Handa, Lars Hansen, Chris 1401Guillaume, Dmitry Gutov, Doug Gwyn, Bruno Haible, Ken'ichi Handa, Lars Hansen, Chris
1401Hanson, Jesper Harder, Alexandru Harsanyi, K. Shane Hartman, John 1402Hanson, Jesper Harder, Alexandru Harsanyi, K. Shane Hartman, John
1402Heidemann, Jon K. Hellan, Magnus Henoch, Markus Heritsch, Dirk 1403Heidemann, Jon K. Hellan, Magnus Henoch, Markus Heritsch, Dirk
1403Herrmann, Karl Heuer, Manabu Higashida, Konrad Hinsen, Anders Holst, 1404Herrmann, Karl Heuer, Manabu Higashida, Konrad Hinsen, Anders Holst,
@@ -1415,14 +1416,14 @@ Ryszard Kubiak, Igor Kuzmin, David Kågedal, Daniel LaLiberte, Karl
1415Landstrom, Mario Lang, Aaron Larson, James R. Larus, Vinicius Jose 1416Landstrom, Mario Lang, Aaron Larson, James R. Larus, Vinicius Jose
1416Latorre, Werner Lemberg, Frederic Lepied, Peter Liljenberg, Christian 1417Latorre, Werner Lemberg, Frederic Lepied, Peter Liljenberg, Christian
1417Limpach, Lars Lindberg, Chris Lindblad, Anders Lindgren, Thomas Link, 1418Limpach, Lars Lindberg, Chris Lindblad, Anders Lindgren, Thomas Link,
1418Juri Linkov, Francis Litterio, Sergey Litvinov, Emilio C. Lopes, 1419Juri Linkov, Francis Litterio, Sergey Litvinov, Leo Liu, Emilio C. Lopes,
1419Martin Lorentzon, Dave Love, Eric Ludlam, Károly Lőrentey, Sascha 1420Martin Lorentzon, Dave Love, Eric Ludlam, Károly Lőrentey, Sascha
1420Lüdecke, Greg McGary, Roland McGrath, Michael McNamara, Alan Mackenzie, 1421Lüdecke, Greg McGary, Roland McGrath, Michael McNamara, Alan Mackenzie,
1421Christopher J. Madsen, Neil M. Mager, Ken Manheimer, Bill Mann, 1422Christopher J. Madsen, Neil M. Mager, Ken Manheimer, Bill Mann,
1422Brian Marick, Simon Marshall, Bengt Martensson, Charlie Martin, 1423Brian Marick, Simon Marshall, Bengt Martensson, Charlie Martin,
1423Yukihiro Matsumoto, Tomohiro Matsuyama, David Maus, Thomas May, Will Mengarini, David 1424Yukihiro Matsumoto, Tomohiro Matsuyama, David Maus, Thomas May, Will Mengarini, David
1424Megginson, Stefan Merten, Ben A. Mesander, Wayne Mesard, Brad 1425Megginson, Stefan Merten, Ben A. Mesander, Wayne Mesard, Brad
1425Miller, Lawrence Mitchell, Richard Mlynarik, Gerd Möllmann, Stefan 1426Miller, Lawrence Mitchell, Richard Mlynarik, Gerd Möllmann, Dani Moncayo, Stefan
1426Monnier, Keith Moore, Jan Moringen, Morioka Tomohiko, Glenn Morris, 1427Monnier, Keith Moore, Jan Moringen, Morioka Tomohiko, Glenn Morris,
1427Don Morrison, Diane Murray, Riccardo Murri, Sen Nagata, Erik Naggum, 1428Don Morrison, Diane Murray, Riccardo Murri, Sen Nagata, Erik Naggum,
1428Gergely Nagy, Nobuyoshi Nakada, Thomas Neumann, Mike Newton, Thien-Thi Nguyen, 1429Gergely Nagy, Nobuyoshi Nakada, Thomas Neumann, Mike Newton, Thien-Thi Nguyen,
@@ -1453,7 +1454,7 @@ South, Andre Spiegel, Michael Staats, Thomas Steffen, Ulf Stegemann,
1453Reiner Steib, Sam Steingold, Ake Stenhoff, Peter Stephenson, Ken 1454Reiner Steib, Sam Steingold, Ake Stenhoff, Peter Stephenson, Ken
1454Stevens, Andy Stewart, Jonathan Stigelman, Martin Stjernholm, Kim F. 1455Stevens, Andy Stewart, Jonathan Stigelman, Martin Stjernholm, Kim F.
1455Storm, Steve Strassmann, Christopher Suckling, Olaf Sylvester, Naoto 1456Storm, Steve Strassmann, Christopher Suckling, Olaf Sylvester, Naoto
1456Takahashi, Steven Tamm, Luc Teirlinck, Jean-Philippe Theberge, Jens 1457Takahashi, Steven Tamm, Jan Tatarik, Luc Teirlinck, Jean-Philippe Theberge, Jens
1457T. Berger Thielemann, Spencer Thomas, Jim Thompson, Toru Tomabechi, 1458T. Berger Thielemann, Spencer Thomas, Jim Thompson, Toru Tomabechi,
1458David O'Toole, Markus Triska, Tom Tromey, Enami Tsugutomo, Eli 1459David O'Toole, Markus Triska, Tom Tromey, Enami Tsugutomo, Eli
1459Tziperman, Daiki Ueno, Masanobu Umeda, Rajesh Vaidheeswarran, Neil 1460Tziperman, Daiki Ueno, Masanobu Umeda, Rajesh Vaidheeswarran, Neil
diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi
index dee1210086c..90bdafe456a 100644
--- a/doc/emacs/package.texi
+++ b/doc/emacs/package.texi
@@ -59,8 +59,9 @@ The package's version number (e.g., @samp{11.86}).
59 59
60@item 60@item
61The package's status---normally one of @samp{available} (can be 61The package's status---normally one of @samp{available} (can be
62downloaded from the package archive), @samp{installed}, or 62downloaded from the package archive), @samp{installed},
63@samp{built-in} (included in Emacs by default). 63@samp{unsigned} (installed, but not signed; @pxref{Package Signing}),
64or @samp{built-in} (included in Emacs by default).
64 65
65The status can also be @samp{new}. This is equivalent to 66The status can also be @samp{new}. This is equivalent to
66@samp{available}, except that it means the package became newly 67@samp{available}, except that it means the package became newly
@@ -167,6 +168,48 @@ directory name of the package archive. You can alter this list if you
167wish to use third party package archives---but do so at your own risk, 168wish to use third party package archives---but do so at your own risk,
168and use only third parties that you think you can trust! 169and use only third parties that you think you can trust!
169 170
171@anchor{Package Signing}
172@cindex package security
173@cindex package signing
174 The maintainers of package archives can increase the trust that you
175can have in their packages by @dfn{signing} them. They generate a
176private/public pair of cryptographic keys, and use the private key to
177create a @dfn{signature file} for each package. With the public key, you
178can use the signature files to verify who created the package, and
179that it has not been modified. A valid signature is not a cast-iron
180guarantee that a package is not malicious, so you should still
181exercise caution. Package archives should provide instructions
182on how you can obtain their public key. One way is to download the
183key from a server such as @url{http://pgp.mit.edu/}.
184Use @kbd{M-x package-import-keyring} to import the key into Emacs.
185Emacs stores package keys in the @file{gnupg} subdirectory
186of @code{package-user-dir}.
187@c Uncomment this if it becomes true.
188@ignore
189The public key for the GNU package archive is distributed with Emacs,
190in the @file{etc/package-keyring.gpg}. Emacs uses it automatically.
191@end ignore
192
193@vindex package-check-signature
194@vindex package-unsigned-archives
195 If the user option @code{package-check-signature} is non-@code{nil},
196Emacs attempts to verify signatures when you install packages. If the
197option has the value @code{allow-unsigned}, you can still install a
198package that is not signed. If you use some archives that do not sign
199their packages, you can add them to the list @code{package-unsigned-archives}.
200
201 For more information on cryptographic keys and signing,
202@pxref{Top,, Top, gnupg, The GNU Privacy Guard Manual}.
203Emacs comes with an interface to GNU Privacy Guard,
204@pxref{Top,, EasyPG, epa, Emacs EasyPG Assistant Manual}.
205
206@vindex package-pinned-packages
207 If you have more than one package archive enabled, and some of them
208offer different versions of the same package, you may find the option
209@code{package-pinned-packages} useful. You can add package/archive
210pairs to this list, to ensure that the specified package is only ever
211downloaded from the specified archive.
212
170 Once a package is downloaded and installed, it is @dfn{loaded} into 213 Once a package is downloaded and installed, it is @dfn{loaded} into
171the current Emacs session. Loading a package is not quite the same as 214the current Emacs session. Loading a package is not quite the same as
172loading a Lisp library (@pxref{Lisp Libraries}); its effect varies 215loading a Lisp library (@pxref{Lisp Libraries}); its effect varies
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index 82bde754909..05008790b4f 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -38,7 +38,6 @@ Highlight program syntax (@pxref{Font Lock}).
38* Symbol Completion:: Completion on symbol names of your program or language. 38* Symbol Completion:: Completion on symbol names of your program or language.
39* MixedCase Words:: Dealing with identifiersLikeThis. 39* MixedCase Words:: Dealing with identifiersLikeThis.
40* Semantic:: Suite of editing tools based on source code parsing. 40* Semantic:: Suite of editing tools based on source code parsing.
41* Prettifying Symbols:: Display symbols as composed characters.
42* Misc for Programs:: Other Emacs features useful for editing programs. 41* Misc for Programs:: Other Emacs features useful for editing programs.
43* C Modes:: Special commands of C, C++, Objective-C, Java, 42* C Modes:: Special commands of C, C++, Objective-C, Java,
44 IDL, Pike and AWK modes. 43 IDL, Pike and AWK modes.
@@ -1434,37 +1433,6 @@ is idle.
1434@xref{Top, Semantic,, semantic, Semantic}, for details. 1433@xref{Top, Semantic,, semantic, Semantic}, for details.
1435@end ifnottex 1434@end ifnottex
1436 1435
1437@node Prettifying Symbols
1438@section Prettifying Symbols
1439@cindex prettifying symbols
1440@cindex symbol, prettifying
1441
1442@code{prettify-symbols-mode} and @code{global-prettify-symbols-mode}
1443are two minor modes (@pxref{Minor Modes}) that can display specified
1444symbols as composed characters. For instance, in Emacs Lisp mode
1445(@pxref{Lisp Eval}), this mode will replace the string ``lambda'' with
1446the Greek lambda character.
1447
1448@findex prettify-symbols-mode
1449@vindex prettify-symbols-alist
1450When Prettify Symbols mode and Font Lock mode (@pxref{Font Lock}) are
1451enabled, symbols are prettified (displayed as composed characters)
1452according to the rules in @code{prettify-symbols-alist}, which are
1453locally defined by major modes (@pxref{Major Modes}) supporting
1454prettifying. To add further customizations for a given major mode,
1455you can modify @code{prettify-symbols-alist}. For example:
1456
1457@example
1458(add-hook 'emacs-lisp-mode-hook
1459 (lambda ()
1460 (push '("<=" . ?≤) prettify-symbols-alist)))
1461@end example
1462
1463@findex global-prettify-symbols-mode
1464You can enable this mode locally in desired buffers, or use
1465@code{global-prettify-symbols-mode} to enable it for all modes that
1466support it.
1467
1468@node Misc for Programs 1436@node Misc for Programs
1469@section Other Features Useful for Editing Programs 1437@section Other Features Useful for Editing Programs
1470 1438
@@ -1512,6 +1480,17 @@ with the Foldout package (@pxref{Foldout}).
1512@xref{Top,,Autotyping, autotype, Autotyping}. 1480@xref{Top,,Autotyping, autotype, Autotyping}.
1513@end ifinfo 1481@end ifinfo
1514 1482
1483@findex prettify-symbols-mode
1484 Prettify Symbols mode is a buffer-local minor mode that replaces
1485certain strings with more ``attractive'' versions for display
1486purposes. For example, in Emacs Lisp mode, it replaces the string
1487``lambda'' with the Greek lambda character. You may wish to use this
1488in non-programming modes as well. You can customize the mode by
1489adding more entries to @code{prettify-symbols-alist}. There is also a
1490global version, @code{global-prettify-symbols-mode}, which enables the
1491mode in all buffers that support it.
1492
1493
1515@node C Modes 1494@node C Modes
1516@section C and Related Modes 1495@section C and Related Modes
1517@cindex C mode 1496@cindex C mode
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index fcfef71a1fe..74557361eab 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,15 @@
12014-06-08 Glenn Morris <rgm@gnu.org>
2
3 * display.texi (Window Systems): Remove window-setup-hook.
4 * os.texi (Startup Summary, Init File):
5 Improve description of window-setup-hook.
6 (Terminal-Specific): Update window-setup-hook cross-reference.
7 * hooks.texi (Standard Hooks): Update window-setup-hook cross-reference.
8
9 * display.texi (Overlay Properties): Update re priority. (Bug#17234)
10
11 * package.texi (Package Archives): Mention signing packages.
12
12014-06-07 Eli Zaretskii <eliz@gnu.org> 132014-06-07 Eli Zaretskii <eliz@gnu.org>
2 14
3 * commands.texi (Click Events): Update contents of click event's 15 * commands.texi (Click Events): Update contents of click event's
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index e93f9ab5a4d..b4f987bb2a8 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -1515,9 +1515,9 @@ of them:
1515@table @code 1515@table @code
1516@item priority 1516@item priority
1517@kindex priority @r{(overlay property)} 1517@kindex priority @r{(overlay property)}
1518This property's value determines the priority of the overlay. No priority, or 1518This property's value determines the priority of the overlay.
1519@code{nil}, means zero. A non-nil and non-integer value has 1519If you want to specify a priority value, use either @code{nil}
1520undefined behavior. 1520(or zero), or a positive integer. Any other value has undefined behavior.
1521 1521
1522The priority matters when two or more overlays cover the same 1522The priority matters when two or more overlays cover the same
1523character and both specify the same property; the one whose 1523character and both specify the same property; the one whose
@@ -1527,9 +1527,13 @@ completely override the other value; instead, its face attributes
1527override the face attributes of the lower priority @code{face} 1527override the face attributes of the lower priority @code{face}
1528property. 1528property.
1529 1529
1530Currently, all overlays take priority over text properties. Please 1530Currently, all overlays take priority over text properties.
1531avoid using negative priority values, as we have not yet decided just 1531
1532what they should mean. 1532Note that Emacs sometimes uses non-numeric priority values for some of
1533its internal overlays, so do not try to do arithmetic on the
1534priority of an overlay (unless it is one that you created). If you
1535need to put overlays in priority order, use the @var{sorted} argument
1536of @code{overlays-at}. @xref{Finding Overlays}.
1533 1537
1534@item window 1538@item window
1535@kindex window @r{(overlay property)} 1539@kindex window @r{(overlay property)}
@@ -6515,18 +6519,6 @@ indicator of Emacs capabilities on a given display type. Instead, use
6515@code{display-graphic-p} or any of the other @code{display-*-p} 6519@code{display-graphic-p} or any of the other @code{display-*-p}
6516predicates described in @ref{Display Feature Testing}. 6520predicates described in @ref{Display Feature Testing}.
6517 6521
6518@defvar window-setup-hook
6519This variable is a normal hook which Emacs runs after handling the
6520initialization files. Emacs runs this hook after it has completed
6521loading your init file, the default initialization file (if
6522any), and the terminal-specific Lisp code, and running the hook
6523@code{emacs-startup-hook}.
6524
6525This hook is used for internal purposes: setting up communication with
6526the window system, and creating the initial window. Users should not
6527interfere with it.
6528@end defvar
6529
6530@node Bidirectional Display 6522@node Bidirectional Display
6531@section Bidirectional Display 6523@section Bidirectional Display
6532@cindex bidirectional display 6524@cindex bidirectional display
diff --git a/doc/lispref/hooks.texi b/doc/lispref/hooks.texi
index 9408174872d..547a2ffe442 100644
--- a/doc/lispref/hooks.texi
+++ b/doc/lispref/hooks.texi
@@ -55,6 +55,7 @@ not exactly a hook, but does a similar job.
55@item after-init-hook 55@item after-init-hook
56@itemx before-init-hook 56@itemx before-init-hook
57@itemx emacs-startup-hook 57@itemx emacs-startup-hook
58@itemx window-setup-hook
58@xref{Init File}. 59@xref{Init File}.
59 60
60@item after-insert-file-functions 61@item after-insert-file-functions
@@ -220,9 +221,6 @@ Hook run when about to switch windows with a mouse command.
220@itemx window-size-change-functions 221@itemx window-size-change-functions
221@xref{Window Hooks}. 222@xref{Window Hooks}.
222 223
223@item window-setup-hook
224@xref{Window Systems}.
225
226@item window-text-change-functions 224@item window-text-change-functions
227@vindex window-text-change-functions 225@vindex window-text-change-functions
228Functions to call in redisplay when text in the window might change. 226Functions to call in redisplay when text in the window might change.
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index b63b932b4da..04c7adda24a 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -218,7 +218,9 @@ parameters of the selected frame according to whatever the init files
218specify. 218specify.
219 219
220@item 220@item
221It runs @code{window-setup-hook}. @xref{Window Systems}. 221It runs @code{window-setup-hook}. The only difference between this
222hook and @code{emacs-startup-hook} is that this one runs after the
223previously mentioned modifications to the frame parameters.
222 224
223@item 225@item
224@cindex startup screen 226@cindex startup screen
@@ -411,6 +413,12 @@ This normal hook is run, once, just after handling the command line
411arguments. In batch mode, Emacs does not run this hook. 413arguments. In batch mode, Emacs does not run this hook.
412@end defvar 414@end defvar
413 415
416@defvar window-setup-hook
417This normal hook is very similar to @code{emacs-startup-hook}.
418The only difference is that it runs slightly later, after setting
419of the frame parameters. @xref{Startup Summary, window-setup-hook}.
420@end defvar
421
414@defvar user-init-file 422@defvar user-init-file
415This variable holds the absolute file name of the user's init file. If the 423This variable holds the absolute file name of the user's init file. If the
416actual init file loaded is a compiled file, such as @file{.emacs.elc}, 424actual init file loaded is a compiled file, such as @file{.emacs.elc},
@@ -497,7 +505,7 @@ hook runs after loading your init file (if applicable) and the
497terminal-specific Lisp file, so you can use it to adjust the 505terminal-specific Lisp file, so you can use it to adjust the
498definitions made by that file. 506definitions made by that file.
499 507
500For a related feature, @pxref{Window Systems, window-setup-hook}. 508For a related feature, @pxref{Init File, window-setup-hook}.
501@end defvar 509@end defvar
502 510
503@node Command-Line Arguments 511@node Command-Line Arguments
diff --git a/doc/lispref/package.texi b/doc/lispref/package.texi
index 4bc50b2358f..c92497a8ce3 100644
--- a/doc/lispref/package.texi
+++ b/doc/lispref/package.texi
@@ -342,3 +342,38 @@ otherwise, an error is raised.
342@noindent 342@noindent
343After you create an archive, remember that it is not accessible in the 343After you create an archive, remember that it is not accessible in the
344Package Menu interface unless it is in @code{package-archives}. 344Package Menu interface unless it is in @code{package-archives}.
345
346@cindex package archive security
347@cindex package signing
348Maintaining a public package archive entails a degree of responsibility.
349When Emacs users install packages from your archive, those packages
350can cause Emacs to run arbitrary code with the permissions of the
351installing user. (This is true for Emacs code in general, not just
352for packages.) So you should ensure that your archive is
353well-maintained and keep the hosting system secure.
354
355 One way to increase the security of your packages is to @dfn{sign}
356them using a cryptographic key. If you have generated a
357private/public gpg key pair, you can use gpg to sign the package like
358this:
359
360@c FIXME EasyPG / package-x way to do this.
361@example
362gpg -ba -o @var{file}.sig @var{file}
363@end example
364
365@noindent
366For a single-file package, @var{file} is the package Lisp file;
367for a multi-file package, it is the package tar file.
368You can also sign the archive's contents file in the same way.
369Make the @file{.sig} files available in the same location as the packages.
370You should also make your public key available for people to download;
371e.g., by uploading it to a key server such as @url{http://pgp.mit.edu/}.
372When people install packages from your archive, they can use
373your public key to verify the signatures.
374
375A full explanation of these matters is outside the scope of this
376manual. For more information on cryptographic keys and signing,
377@pxref{Top,, GnuPG, gnupg, The GNU Privacy Guard Manual}. Emacs comes
378with an interface to GNU Privacy Guard, @pxref{Top,, EasyPG, epa,
379Emacs EasyPG Assistant Manual}.