]> code.delx.au - gnu-emacs-elpa/commitdiff
Add a new command debbugs-gnu-patches
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 25 Apr 2016 16:36:40 +0000 (18:36 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 25 Apr 2016 16:36:40 +0000 (18:36 +0200)
* packages/debbugs/debbugs-gnu.el (debbugs-gnu-patches): New command.
(debbugs-gnu-get-bugs): Remove the "user tags" cond -- it didn't
allow us to search for bugs with specific tags.

packages/debbugs/debbugs-gnu.el

index 316a654d15680b4d86f152ab5c7092db1f952db9..10a31cbb482ab6582c2c12cc2faa739edf70321b 100644 (file)
@@ -336,6 +336,12 @@ between the words, AND is used by default.  The phrase can also
 be empty, in this case only the following attributes are used for
 search."))
 
+;;;###autoload
+(defun debbugs-gnu-patches ()
+  "List the bug reports that have been marked as containing a patch."
+  (interactive)
+  (debbugs-gnu nil '("emacs") nil nil "patch"))
+
 ;;;###autoload
 (defun debbugs-gnu-search ()
   "Search for Emacs bugs interactively.
@@ -572,10 +578,6 @@ marked as \"client-side filter\"."
       (mapcar
        (lambda (x) (cdr (assoc "id" x)))
        (apply 'debbugs-search-est args)))
-     ;; User tags.
-     (tags
-      (setq args (mapcar (lambda (x) (if (eq x :package) :user x)) args))
-      (apply 'debbugs-get-usertag args))
      ;; Otherwise, we retrieve the bugs from the server.
      (t (apply 'debbugs-get-bugs args)))))