From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: bug#38136: [PATCH] Make gnus-group-get-new-news a non blocking thread Date: Wed, 20 Nov 2019 08:42:47 -0800 Message-ID: <87r222a48o.fsf@ericabrahamsen.net> References: <87imnu1knq.fsf@dick> <87r22h7mka.fsf@ericabrahamsen.net> <87sgmrouxk.fsf@gnus.org> <8736emaxw6.fsf@ericabrahamsen.net> <87sgmlsgxx.fsf@gnus.org> <87zhgsncno.fsf@ericabrahamsen.net> <87lfscesen.fsf@dick> <871ru4n58t.fsf@ericabrahamsen.net> <87ftijdcay.fsf@ericabrahamsen.net> <874kyykd8b.fsf@gnus.org> <87sgmiyd6m.fsf@gmx.de> <87pnhmwvmz.fsf@gmx.de> <87y2wavf1p.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="149012"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , Michael Albinus , dick.r.chiang@gmail.com, emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 20 17:43:29 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iXT4j-000ce9-Mo for ged-emacs-devel@m.gmane.org; Wed, 20 Nov 2019 17:43:29 +0100 Original-Received: from localhost ([::1]:60498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXT4i-00019b-8B for ged-emacs-devel@m.gmane.org; Wed, 20 Nov 2019 11:43:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47653) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXT4D-00017P-D1 for emacs-devel@gnu.org; Wed, 20 Nov 2019 11:42:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXT4C-0001JT-71 for emacs-devel@gnu.org; Wed, 20 Nov 2019 11:42:57 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:57110 helo=mail.ericabrahamsen.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iXT4C-0001EF-2B for emacs-devel@gnu.org; Wed, 20 Nov 2019 11:42:56 -0500 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 7C463FA01D; Wed, 20 Nov 2019 16:42:48 +0000 (UTC) In-Reply-To: (Robert Pluim's message of "Wed, 20 Nov 2019 15:18:00 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 52.70.2.18 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:242501 Archived-At: Robert Pluim writes: >>>>>> On Wed, 20 Nov 2019 14:43:46 +0100, Michael Albinus said: > > Michael> Works for me. However, the "Status:" messages shall be kicke= d off. And > Michael> it shall be checked, whether `debbugs-gnu-mail-backend' is b= ound to `gnus'. > > The clue is in the name of the function, but OK. > > No more feature requests :-) > > Michael> If Lars doesn't object, you might commit it, plus docstring,= and plus > Michael> documentation in debbugs-ug.texi. > > I don=CA=BCt think I=CA=BCm set up to push to elpa. > > (defun debbugs-gnus-ephemeral-from-tagged () > "Create an ephemeral Gnus group of locally tagged emacs bugs." > (interactive) > (unless (eq debbugs-gnu-mail-backend 'gnus) > (error "This function only works with Gnus.")) > (when (file-exists-p debbugs-gnu-persistency-file) > (with-temp-buffer > (insert-file-contents debbugs-gnu-persistency-file) > (eval (read (current-buffer)) t)) > (when debbugs-gnu-local-tags > (let ((mbox-url (replace-regexp-in-string > ";mboxstat=3Dyes" "" > (alist-get 'emacs gnus-bug-group-download-format-a= list) > nil t))) > (gnus-read-ephemeral-bug-group > debbugs-gnu-local-tags > mbox-url))))) How nice to wake up and find that someone's implemented my (fairly off-handed) feature request! In fact I wasn't necessarily demanding that all the bugs be displayed in one summary buffer -- that actually skips the overview buffer where you can issue the control messages, which is the main benefit. Though I'm sure I'd use this ephemeral group approach, the tagging approach is perfectly good. I was a little confused when searching for tags prompted me to enter a particular user tag, but it turns out just hitting at the prompt showed me the tagged reports. Thanks for both of these approaches! Eric