help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Use Debbugs to search for only open bugs


From: Joshua Branson
Subject: Re: Use Debbugs to search for only open bugs
Date: Fri, 05 Aug 2022 04:55:55 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

Michael Albinus <michael.albinus@gmx.de> writes:

> Joshua Branson <jbranso@dismail.de> 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?

>
>> Thanks!
>
> Best regards, Michael.



reply via email to

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