aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2014-02-11 20:20:34 -0500
committerGlenn Morris2014-02-11 20:20:34 -0500
commita215930cfe3c4f5ee7c4a9cde6486c41bcc0b45e (patch)
treef0277c1555d49fecf0839ba55aa4d6c0bd568c3f
parent81bf542040dab0b67396323c5f78a425cfb886be (diff)
downloademacs-a215930cfe3c4f5ee7c4a9cde6486c41bcc0b45e.tar.gz
emacs-a215930cfe3c4f5ee7c4a9cde6486c41bcc0b45e.zip
Some package doc updates
* doc/emacs/help.texi (Package Keywords): Mention describe-package buttons. * doc/emacs/package.texi (Package Menu): Mention package-menu-filter. * lisp/emacs-lisp/package.el (package-menu-mode-map): Tweak menu. (package-menu-filter): Rename from package-menu-filter-interactive. Doc fix. * etc/NEWS: Related edits. Copyedit.
-rw-r--r--doc/emacs/ChangeLog6
-rw-r--r--doc/emacs/help.texi4
-rw-r--r--doc/emacs/package.texi6
-rw-r--r--etc/NEWS41
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/emacs-lisp/package.el16
6 files changed, 52 insertions, 30 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 034322117d9..0a17567865d 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,9 @@
12014-02-12 Glenn Morris <rgm@gnu.org>
2
3 * help.texi (Package Keywords): Mention describe-package buttons.
4
5 * package.texi (Package Menu): Mention package-menu-filter.
6
12014-02-11 Lars Ingebrigtsen <larsi@gnus.org> 72014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2 8
3 * text.texi (Editing Format Info): Use @samp for menus (bug#13736). 9 * text.texi (Editing Format Info): Use @samp for menus (bug#13736).
diff --git a/doc/emacs/help.texi b/doc/emacs/help.texi
index 5eac4d8d985..11694191f9c 100644
--- a/doc/emacs/help.texi
+++ b/doc/emacs/help.texi
@@ -458,7 +458,9 @@ buffer (@pxref{Package Menu}).
458@kindex C-h P 458@kindex C-h P
459 @kbd{C-h P} (@code{describe-package}) prompts for the name of a 459 @kbd{C-h P} (@code{describe-package}) prompts for the name of a
460package, and displays a help buffer describing the attributes of the 460package, and displays a help buffer describing the attributes of the
461package and the features that it implements. 461package and the features that it implements. The buffer lists the
462keywords that relate to the package in the form of buttons. Click on
463a button to see other packages related to that keyword.
462 464
463@node Language Help 465@node Language Help
464@section Help for International Language Support 466@section Help for International Language Support
diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi
index aba63d4337a..dee1210086c 100644
--- a/doc/emacs/package.texi
+++ b/doc/emacs/package.texi
@@ -126,6 +126,12 @@ dependencies; also, delete all packages marked with @kbd{d}
126Refresh the package list (@code{package-menu-refresh}). This fetches 126Refresh the package list (@code{package-menu-refresh}). This fetches
127the list of available packages from the package archive again, and 127the list of available packages from the package archive again, and
128recomputes the package list. 128recomputes the package list.
129
130@item f
131Filter the package list (@code{package-menu-filter}). This prompts
132for a keyword (e.g., @samp{games}), then shows only the packages
133that relate to that keyword. To restore the full package list,
134type @kbd{q}.
129@end table 135@end table
130 136
131@noindent 137@noindent
diff --git a/etc/NEWS b/etc/NEWS
index a82e1bbc973..d656b69f538 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -197,16 +197,15 @@ command `frame-configuration-to-register' still exists, but is unbound.
197These are normal hooks run when an Emacs frame gains or loses input focus. 197These are normal hooks run when an Emacs frame gains or loses input focus.
198 198
199--- 199---
200*** Emacs can now draw dividers between adjacent windows. To put 200*** Emacs can now draw dividers between adjacent windows.
201dividers between side-by-side windows customize the frame parameter 201To put dividers between side-by-side/vertically stacked windows
202right-divider-width to some positive integer. To put dividers between 202customize the frame parameter `right-divider-width'/`bottom-divider-width'
203vertically stacked windows set the frame parameter bottom-divider-width 203to some positive integer. You can drag dividers with the mouse
204to some positive integer. Dividers can be dragged with the mouse and 204(they show a corresponding cursor when the mouse hovers over them).
205show a corresponding cursor when the mouse hovers over them. The 205You can change the appearance of dividers by customizing the faces
206appearance of dividers can be changed by customizing the basic faces 206`window-divider', `window-divider-first-pixel', and
207window-divider, window-divider-first-pixel and window-divider-last-pixel 207`window-divider-last-pixel'. The last two are useful to provide a 3D
208where the latter two are useful to provide a 3D effect or to better set 208effect, or to better distinguish dividers from surrounding display objects.
209dividers apart from surrounding display objects.
210 209
211--- 210---
212*** `split-window' is now a non-interactive function, not a command. 211*** `split-window' is now a non-interactive function, not a command.
@@ -673,19 +672,21 @@ Use `electric-indent-mode' instead.
673 672
674** Package 673** Package
675 674
675+++
676*** In the `list-packages' buffer, you can use `f' (`package-menu-filter')
677to filter the list of packages by a keyword.
678
679+++
680*** In the `describe-package' buffer, there are now buttons listing the
681keywords related to the package. Click on a button to see other packages
682related to that keyword.
683
684---
676*** The format of `archive-contents' files, generated by package 685*** The format of `archive-contents' files, generated by package
677repositories, has changed to allow a new (fifth) element in the data 686repositories, has changed to allow a new (fifth) element in the data
678vectors, containing an associative list with extra properties. 687vectors, containing an associative list with extra properties.
679 688(For example, `describe-package' uses the `:url' extra property to
680*** `describe-package' buffer uses the `:url' extra property to 689display a "Homepage" header.)
681display a `Homepage' header, if it's present.
682
683*** In the buffer produced by `describe-package', there are now buttons
684listing the keywords related to that package. You can click on them
685to see other packages related to any given keyword.
686
687*** In the *Packages* buffer, `f' or the Package->Filter menu filters
688the packages by a keyword.
689 690
690--- 691---
691** In Prolog mode, `prolog-use-smie' has been removed, 692** In Prolog mode, `prolog-use-smie' has been removed,
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ab358fdb071..5a7bd6bceb5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12014-02-12 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4 (package-menu-filter): Rename from package-menu-filter-interactive.
5 Doc fix.
6
12014-02-11 Juanma Barranquero <lekktu@gmail.com> 72014-02-11 Juanma Barranquero <lekktu@gmail.com>
2 8
3 * frameset.el (frameset--jump-to-register): Select the required 9 * frameset.el (frameset--jump-to-register): Select the required
@@ -73,9 +79,6 @@
73 (custom-buffer-create): Doc fix (bug#11122). 79 (custom-buffer-create): Doc fix (bug#11122).
74 (custom-sort-items): Doc fix (bug#11121). 80 (custom-sort-items): Doc fix (bug#11121).
75 81
76 * dired-aux.el (dired-copy-file-recursive): Remove slighly
77 misleading comment (bug#11328).
78
79 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619). 82 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
80 83
81 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654). 84 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index bc8651641ac..b15ae6f1376 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1570,7 +1570,7 @@ If optional arg NO-ACTIVATE is non-nil, don't activate packages."
1570 (define-key map "i" 'package-menu-mark-install) 1570 (define-key map "i" 'package-menu-mark-install)
1571 (define-key map "U" 'package-menu-mark-upgrades) 1571 (define-key map "U" 'package-menu-mark-upgrades)
1572 (define-key map "r" 'package-menu-refresh) 1572 (define-key map "r" 'package-menu-refresh)
1573 (define-key map "f" 'package-menu-filter-interactive) 1573 (define-key map "f" 'package-menu-filter)
1574 (define-key map "~" 'package-menu-mark-obsolete-for-deletion) 1574 (define-key map "~" 'package-menu-mark-obsolete-for-deletion)
1575 (define-key map "x" 'package-menu-execute) 1575 (define-key map "x" 'package-menu-execute)
1576 (define-key map "h" 'package-menu-quick-help) 1576 (define-key map "h" 'package-menu-quick-help)
@@ -1579,9 +1579,6 @@ If optional arg NO-ACTIVATE is non-nil, don't activate packages."
1579 (define-key menu-map [mq] 1579 (define-key menu-map [mq]
1580 '(menu-item "Quit" quit-window 1580 '(menu-item "Quit" quit-window
1581 :help "Quit package selection")) 1581 :help "Quit package selection"))
1582 (define-key menu-map [mf]
1583 '(menu-item "Filter" package-menu-filter-interactive
1584 :help "Filter package selection (q to go back)"))
1585 (define-key menu-map [s1] '("--")) 1582 (define-key menu-map [s1] '("--"))
1586 (define-key menu-map [mn] 1583 (define-key menu-map [mn]
1587 '(menu-item "Next" next-line 1584 '(menu-item "Next" next-line
@@ -1606,6 +1603,9 @@ If optional arg NO-ACTIVATE is non-nil, don't activate packages."
1606 '(menu-item "Mark Upgradable Packages" package-menu-mark-upgrades 1603 '(menu-item "Mark Upgradable Packages" package-menu-mark-upgrades
1607 :help "Mark packages that have a newer version for upgrading")) 1604 :help "Mark packages that have a newer version for upgrading"))
1608 (define-key menu-map [s3] '("--")) 1605 (define-key menu-map [s3] '("--"))
1606 (define-key menu-map [mf]
1607 '(menu-item "Filter Package List..." package-menu-filter
1608 :help "Filter package selection (q to go back)"))
1609 (define-key menu-map [mg] 1609 (define-key menu-map [mg]
1610 '(menu-item "Update Package List" revert-buffer 1610 '(menu-item "Update Package List" revert-buffer
1611 :help "Update the list of packages")) 1611 :help "Update the list of packages"))
@@ -2120,8 +2120,12 @@ shown."
2120 (package-menu--generate nil packages keywords)) 2120 (package-menu--generate nil packages keywords))
2121 (switch-to-buffer buf))) 2121 (switch-to-buffer buf)))
2122 2122
2123(defun package-menu-filter-interactive (keyword) 2123;; package-menu--generate rebinds "q" on the fly, so we have to
2124 "Filter the *Packages* buffer." 2124;; hard-code the binding in the doc-string here.
2125(defun package-menu-filter (keyword)
2126 "Filter the *Packages* buffer.
2127Show only those items that relate to the specified KEYWORD.
2128To restore the full package list, type `q'."
2125 (interactive (list (completing-read "Keyword: " (package-all-keywords)))) 2129 (interactive (list (completing-read "Keyword: " (package-all-keywords))))
2126 (package-show-package-list t (list keyword))) 2130 (package-show-package-list t (list keyword)))
2127 2131