branch: master commit 47be1cbfd1badb07e7ce62faf9954aa0554a5b13 Author: Michael Albinus <michael.albi...@gmx.de> Commit: Michael Albinus <michael.albi...@gmx.de>
Release debbugs 0.11 * packages/debbugs/debbugs.el: Increase Version to 0.11. * packages/debbugs/debbugs-gnu.el (debbugs-gnu-default-bug-number-list): Propertize default value. (debbugs-gnu-bugs): Twiddle prompt. * packages/debbugs/debbugs-org.el (debbugs-org-bugs): Fix docstring. * packages/debbugs/README: Mention `debbugs-gnu-patches' and `debbugs-org-patches'. --- packages/debbugs/README | 10 ++++++---- packages/debbugs/debbugs-gnu.el | 20 +++++++++++++++++--- packages/debbugs/debbugs-org.el | 19 +++++++++++++++++-- packages/debbugs/debbugs.el | 2 +- 4 files changed, 41 insertions(+), 10 deletions(-) diff --git a/packages/debbugs/README b/packages/debbugs/README index 74f8db8..7e29420 100644 --- a/packages/debbugs/README +++ b/packages/debbugs/README @@ -2,12 +2,14 @@ This package lets you access the GNU Bug Tracker from within Emacs. It defines the command `M-x debbugs-gnu' for listing bugs, and the command `M-x debbugs-gnu-search' for bug searching. The command -`M-x debbugs-gnu-usertags' shows existing user tags on bugs. In order -to show bugs with known numbers, `M-x debbugs-gnu-bugs' could be used. +`M-x debbugs-gnu-usertags' shows existing user tags on bugs, whilst +the command `M-x debbugs-gnu-patches' lists bugs containing a patch. +In order to show bugs with known numbers, `M-x debbugs-gnu-bugs' could +be used. If you prefer the listing of bugs as TODO items of `org-mode', you -could use the commands `M-x debbugs-org', `M-x debbugs-org-search' and -`M-x debbugs-org-bugs' instead. +could use the commands `M-x debbugs-org', `M-x debbugs-org-search', +`M-x debbugs-org-patches' and `M-x debbugs-org-bugs' instead. A minor mode `debbugs-browse-mode' let you browse URLs to the GNU Bug Tracker as well as bug identifiers prepared for `bug-reference-mode'. diff --git a/packages/debbugs/debbugs-gnu.el b/packages/debbugs/debbugs-gnu.el index f8b8726..058f6fd 100644 --- a/packages/debbugs/debbugs-gnu.el +++ b/packages/debbugs/debbugs-gnu.el @@ -35,6 +35,7 @@ ;; (autoload 'debbugs-gnu "debbugs-gnu" "" 'interactive) ;; (autoload 'debbugs-gnu-search "debbugs-gnu" "" 'interactive) ;; (autoload 'debbugs-gnu-usertags "debbugs-gnu" "" 'interactive) +;; (autoload 'debbugs-gnu-patches "debbugs-gnu" "" 'interactive) ;; (autoload 'debbugs-gnu-bugs "debbugs-gnu" "" 'interactive) ;; The bug tracker is called interactively by @@ -129,12 +130,24 @@ ;; all users who have tagged bugs. This list can be retrieved via ;; <http://debbugs.gnu.org/cgi/pkgindex.cgi?indexon=users>. +;; A special command to show bugs containing patches is +;; +;; M-x debbugs-gnu-patches + +;; This command shows all unarchived bugs of the packages declared in +;; `debbugs-gnu-default-packages', and tagged with "patch". This is +;; useful for bug triages. + ;; Finally, if you simply want to list some bugs with known bug ;; numbers, call the command ;; ;; M-x debbugs-gnu-bugs -;; The bug numbers to be shown shall be entered as comma separated list. +;; The bug numbers to be shown shall be entered as comma separated +;; list. A bug number can also be a range of bugs like "123-456" or +;; "-10". In the former case, all bugs from 123 until 456 are +;; presented, and in the latter case the last 10 bugs are shown, +;; counting from the highest bug number in the repository. ;;; Code: @@ -1657,7 +1670,8 @@ The following commands are available: (let ((args (get-text-property (line-beginning-position) 'tabulated-list-id))) (when args (apply 'debbugs-gnu args)))) -(defcustom debbugs-gnu-default-bug-number-list "-10" +(defcustom debbugs-gnu-default-bug-number-list + (propertize "-10" 'help-echo "The 10 most recent bugs.") "The default value used in interactive call of `debbugs-gnu-bugs'. It must be a string, containing a comma separated list of bugs or bug ranges. A negative value, -N, means the newest N bugs." @@ -1676,7 +1690,7 @@ or bug ranges, with default to `debbugs-gnu-default-bug-number-list'." (debbugs-gnu-expand-bug-number-list (or (completing-read-multiple - (format "Bug numbers (%s): " debbugs-gnu-default-bug-number-list) + (format "Bug numbers (default %s): " debbugs-gnu-default-bug-number-list) debbugs-gnu-completion-table) (split-string debbugs-gnu-default-bug-number-list "," t))))) (dolist (elt bugs) diff --git a/packages/debbugs/debbugs-org.el b/packages/debbugs/debbugs-org.el index c413d11..6c7f82f 100644 --- a/packages/debbugs/debbugs-org.el +++ b/packages/debbugs/debbugs-org.el @@ -32,6 +32,7 @@ ;; ;; (autoload 'debbugs-org "debbugs-org" "" 'interactive) ;; (autoload 'debbugs-org-search "debbugs-org" "" 'interactive) +;; (autoload 'debbugs-org-patches "debbugs-org" "" 'interactive) ;; (autoload 'debbugs-org-bugs "debbugs-org" "" 'interactive) ;; The bug tracker is called interactively by @@ -89,12 +90,24 @@ ;; opened presenting all related messages for this bug. Here you ;; could also send debbugs control messages by keystroke "C". +;; A special command to show bugs containing patches is +;; +;; M-x debbugs-org-patches + +;; This command shows all unarchived bugs of the packages declared in +;; `debbugs-gnu-default-packages', and tagged with "patch". This is +;; useful for bug triages. + ;; Finally, if you simply want to list some bugs with known bug ;; numbers, call the command ;; ;; M-x debbugs-org-bugs -;; The bug numbers to be shown shall be entered as comma separated list. +;; The bug numbers to be shown shall be entered as comma separated +;; list. A bug number can also be a range of bugs like "123-456" or +;; "-10". In the former case, all bugs from 123 until 456 are +;; presented, and in the latter case the last 10 bugs are shown, +;; counting from the highest bug number in the repository. ;;; Code: @@ -315,7 +328,9 @@ the corresponding buffer (e.g. by closing Emacs)." ;;;###autoload (defun debbugs-org-bugs () - "List all BUGS, a list of bug numbers." + "List all BUGS, a list of bug numbers. +In interactive calls, prompt for a comma separated list of bugs +or bug ranges, with default to `debbugs-gnu-default-bug-number-list'." (interactive) (cl-letf (((symbol-function 'debbugs-gnu-show-reports) #'debbugs-org-show-reports)) diff --git a/packages/debbugs/debbugs.el b/packages/debbugs/debbugs.el index cf1e643..5b130d6 100644 --- a/packages/debbugs/debbugs.el +++ b/packages/debbugs/debbugs.el @@ -5,7 +5,7 @@ ;; Author: Michael Albinus <michael.albi...@gmx.de> ;; Keywords: comm, hypermedia ;; Package: debbugs -;; Version: 0.10 +;; Version: 0.11 ;; Package-Requires: ((soap-client "3.1.1") (cl-lib "0.5")) ;; This file is not part of GNU Emacs.