[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use Debbugs to search for only open bugs

From: Michael Albinus
Subject: Re: Use Debbugs to search for only open bugs
Date: Fri, 05 Aug 2022 11:46:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Joshua Branson <> writes:

Hi Joshua,

>>> Can anyone give my a simple debbugs function, that will prompt me for a
>>> search string, and return a list of open bugs for "guix" and
>>> "guix-patches"?
>>> Here's what I've come up with so far:
>>> #+BEGIN_SRC emacs-lisp
>>> (defun debbugs-guix-search ()
>>>   (interactive)
>>>   (debbugs-gnu-search (read-string "Search String: ") nil nil '("guix" 
>>> "guix-patches") nil))
>>> #+END_SRC
>>> The only problem with this function is that it shows open bug reports.
>>> 90% of the time I am not interested in those bug reports.
>> From your description it isn't obvious to me, whether you want to see
>> just open bugs, or not. But you can play with the QUERY argument of
>> debbugs-gnu-search, like
>> (debbugs-gnu-search (read-string "Search String: ") '((pending . "open")) 
>> nil '("guix" "guix-patches"))

> Are you sure that works?
> (debbugs-gnu-search "wterm" '((status . "open")) nil '("guix" "guix-patches"))
> returns nothing
> (debbugs-gnu-search "wterm" '((pending . "open")) nil '("guix" 
> "guix-patches"))
> returns nothing
> (debbugs-gnu-search "wterm"  nil nil '("guix" "guix-patches"))
> returns only closed bugs.  odd.
> M-x debbugs-gnu-search RET "wterm" RET RET x
> correctly returns bug 56965, which is an open bug.
> What am I doing wrong?

Hmm, looks like there's an error in debbugs-gnu-search. I'll check, but
perhaps you might write a bug report about. I don't know whether I can
handle it just now, due to time constraints.

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]