diff options
| author | Eli Zaretskii | 2015-12-12 15:17:14 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-12-12 15:17:14 +0200 |
| commit | c0bc613b24b3ff40c6ea88854544e6d03070dc70 (patch) | |
| tree | 8f5d2aa77db0a246295ec1b1b86209475bf5cd64 /doc | |
| parent | b7326d412339337cef643ef5991c45f4472e8bed (diff) | |
| download | emacs-c0bc613b24b3ff40c6ea88854544e6d03070dc70.tar.gz emacs-c0bc613b24b3ff40c6ea88854544e6d03070dc70.zip | |
Document new features of package.el
* doc/emacs/package.texi (Package Menu): Document the 'external'
status and the new menu commands.
(Package Installation): Document archive priorities.
* lisp/emacs-lisp/package.el (package-archive-priorities): Doc fix.
(package-menu-hide-low-priority): Doc fix.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/package.texi | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi index 1a6a735d3ae..5f80b0afe3f 100644 --- a/doc/emacs/package.texi +++ b/doc/emacs/package.texi | |||
| @@ -59,7 +59,12 @@ The package's version number (e.g., @samp{11.86}). | |||
| 59 | The package's status---normally one of @samp{available} (can be | 59 | The package's status---normally one of @samp{available} (can be |
| 60 | downloaded from the package archive), @samp{installed}, | 60 | downloaded from the package archive), @samp{installed}, |
| 61 | @c @samp{unsigned} (installed, but not signed; @pxref{Package Signing}), | 61 | @c @samp{unsigned} (installed, but not signed; @pxref{Package Signing}), |
| 62 | or @samp{built-in} (included in Emacs by default). | 62 | or @samp{built-in} (included in Emacs by default). The status |
| 63 | @samp{external} means the package is not built-in and not from the | ||
| 64 | directory specified by @code{package-user-dir} (@pxref{Package | ||
| 65 | Files}). External packages are treated much like built-in: they | ||
| 66 | cannot be deleted through the package menu, and are not considered for | ||
| 67 | upgrading. | ||
| 63 | 68 | ||
| 64 | The status can also be @samp{new}. This is equivalent to | 69 | The status can also be @samp{new}. This is equivalent to |
| 65 | @samp{available}, except that it means the package became newly | 70 | @samp{available}, except that it means the package became newly |
| @@ -106,7 +111,13 @@ line; typing @kbd{x} (see below) will delete the package. | |||
| 106 | @xref{Package Files}, for information about what package deletion | 111 | @xref{Package Files}, for information about what package deletion |
| 107 | entails. | 112 | entails. |
| 108 | 113 | ||
| 114 | @item ~ | ||
| 115 | Mark all obsolete packages for deletion | ||
| 116 | (@code{package-menu-mark-obsolete-for-deletion}). This marks for | ||
| 117 | deletion all the packages whose status is @samp{obsolete}. | ||
| 118 | |||
| 109 | @item u | 119 | @item u |
| 120 | @itemx @key{DEL} | ||
| 110 | Remove any installation or deletion mark previously added to the | 121 | Remove any installation or deletion mark previously added to the |
| 111 | current line by an @kbd{i} or @kbd{d} command. | 122 | current line by an @kbd{i} or @kbd{d} command. |
| 112 | 123 | ||
| @@ -117,6 +128,7 @@ on the new available versions, and a deletion mark on the old | |||
| 117 | installed versions. | 128 | installed versions. |
| 118 | 129 | ||
| 119 | @item x | 130 | @item x |
| 131 | @vindex package-menu-async | ||
| 120 | Download and install all packages marked with @kbd{i}, and their | 132 | Download and install all packages marked with @kbd{i}, and their |
| 121 | dependencies; also, delete all packages marked with @kbd{d} | 133 | dependencies; also, delete all packages marked with @kbd{d} |
| 122 | (@code{package-menu-execute}). This also removes the marks. | 134 | (@code{package-menu-execute}). This also removes the marks. |
| @@ -131,6 +143,14 @@ Filter the package list (@code{package-menu-filter}). This prompts | |||
| 131 | for a keyword (e.g., @samp{games}), then shows only the packages | 143 | for a keyword (e.g., @samp{games}), then shows only the packages |
| 132 | that relate to that keyword. To restore the full package list, | 144 | that relate to that keyword. To restore the full package list, |
| 133 | type @kbd{q}. | 145 | type @kbd{q}. |
| 146 | |||
| 147 | @item H | ||
| 148 | Permanently hide packages that match a regexp | ||
| 149 | (@code{package-menu-hide-package}). | ||
| 150 | |||
| 151 | @item ( | ||
| 152 | Toggle visibility of old versions of packages and also of versions | ||
| 153 | from lower-priority archives (@code{package-menu-toggle-hiding}). | ||
| 134 | @end table | 154 | @end table |
| 135 | 155 | ||
| 136 | @noindent | 156 | @noindent |
| @@ -205,6 +225,17 @@ offer different versions of the same package, you may find the option | |||
| 205 | pairs to this list, to ensure that the specified package is only ever | 225 | pairs to this list, to ensure that the specified package is only ever |
| 206 | downloaded from the specified archive. | 226 | downloaded from the specified archive. |
| 207 | 227 | ||
| 228 | @vindex package-archive-priorities | ||
| 229 | @vindex package-menu-hide-low-priority | ||
| 230 | Another option that is useful when you have several package archives | ||
| 231 | enabled is @code{package-archive-priorities}. It specifies the | ||
| 232 | priority of each archive (higher numbers specify higher priority | ||
| 233 | archives). By default, archives have the priority of zero, unless | ||
| 234 | specified otherwise by this option's value. Packages from | ||
| 235 | lower-priority archives will not be shown in the menu, if the same | ||
| 236 | package is available from a higher-priority archive. (This is | ||
| 237 | controlled by the value of @code{package-menu-hide-low-priority}.) | ||
| 238 | |||
| 208 | Once a package is downloaded and installed, it is @dfn{loaded} into | 239 | Once a package is downloaded and installed, it is @dfn{loaded} into |
| 209 | the current Emacs session. Loading a package is not quite the same as | 240 | the current Emacs session. Loading a package is not quite the same as |
| 210 | loading a Lisp library (@pxref{Lisp Libraries}); its effect varies | 241 | loading a Lisp library (@pxref{Lisp Libraries}); its effect varies |