From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Use Debbugs to search for only open bugs Date: Fri, 05 Aug 2022 11:46:16 +0200 Message-ID: <87v8r7c9av.fsf@gmx.de> References: <87y1w323wb.fsf@dismail.de> <87zggjcgmm.fsf@gmx.de> <87zggjkr1g.fsf@dismail.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3914"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Joshua Branson Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 05 12:03:25 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oJuAu-0000oG-Qe for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 12:03:24 +0200 Original-Received: from localhost ([::1]:38172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJuAt-0007N1-IZ for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 06:03:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJtuo-000863-GH for help-gnu-emacs@gnu.org; Fri, 05 Aug 2022 05:46:47 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:50707) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJtul-0002bm-94 for help-gnu-emacs@gnu.org; Fri, 05 Aug 2022 05:46:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1659692777; bh=A/ulI/FT+cwSxe+I+IN6KBf6ONEo/HcbJQx3chOpz8k=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=YbiXNqLc21VEHykyz8SJ3nb6jKNofo4VYe0hkaT4KuR7EoNbYNpO8a5hAshpZ4SG7 voZDbqJj05q5tKJLgXh5CdDB+q9UjWeiBvzVlRO/4NAoTgA1zwcVnwpGd5we0tTU4F E7cvS3e+NxCvmd3LYbpq6jsFf0qGpGXyfAoBpZgA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([79.140.112.53]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MNKhm-1o50SJ1vti-00Omo4; Fri, 05 Aug 2022 11:46:17 +0200 In-Reply-To: <87zggjkr1g.fsf@dismail.de> (Joshua Branson's message of "Fri, 05 Aug 2022 04:55:55 -0400") X-Provags-ID: V03:K1:zM3up5gRXburTVAFPGZ8nm8rGJwk41StVhXCLSpYrP1ymqQuR9Y 17yPFTBf7Au2LK2w3vRGVxGWQuVGovsLHqF2+73u4c83GDabV0FXX+qjBHT1fnm8K0+Ge3u LWiDGsCVKbfa+EaMJbVZ53si0GiANgkTU2TNPhBFA6JC/IFb44jeeUPBb5Sm+zERrD5D/o3 sRUchhrViucKtBgjryy+Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:t7M8POEXipU=:I7Yr3qyQsM7ZMOoqBW+dXL zjgicPhhKCpQ9Fj+zERyHFiMbP/fjIa5170Z2e8DS+ClOSYeyu3QNtEtH+y9tgtzu6HMbo5k6 tvRvSAaebFH9WaXXLYaAy49O15OhB0C/rdGy5t8Xe4P3Gtdf7KAzYgq4xlMT9ih0yt9wu3hyZ m2Wccz8Jr41FCGJhH4QpAE4sFr8og3HtoqSCC45CYFgNX7ZCvhyjb2ghl7ygV1kXfQ8kILBHX Y/QABQBzYpy05B1efJZlkCJepz37qQbd4x0+tdfqk0+ibYsgNeZtPmLC1N+2xEmbXRs8+oxW5 6di1v/t4cwurtAu4cSXx5ZTzTtL+7a9aRzyE+Wo8uEgifZkg6wzxML2nxznm0fOtKZz/+RE9B hSLi+FsuC6/bu41G5UojjQXrDM6Nj2Ct9xHFNB858WJKIkUsRS0vsHF9UQKffF4iNLVU6nj9E 6oeJU72M3Lj2svCXthw0nfV2mW18lSNzAh2Z9jzwzSz1F/kOVAeln6/j8WZ2tHdxg9k+3YiAZ 9dfhCIbOO28kUzU+wevqjTwQCk1NECV5AU6GLdx6RQ338JeSAs4+efnNeoqM4iEgNuzD4qevE lIgJFZho2hfdw6aaVx6Q9woy+ceLv3FuqdKYCS7aMpb7PAEuBaH0Ik5B0xG4TI/0XhqBTHspi 5LxNjElc3Oo6wNRwcTxVnU571rVS8b7kzphz1jTMEgxpo0fJQs+jU7APsAVmYw0iyuG4NK5WD +BvDk8oXVUy9k4QTekFXEX+OD+9zUBiBfgK5NKf3MlApC1nFz1MEp7ffhl0vV7h2QrOn4+wv Received-SPF: pass client-ip=212.227.17.22; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:138753 Archived-At: 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.