From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: bug#38136: [PATCH] Make gnus-group-get-new-news a non blocking thread Date: Wed, 20 Nov 2019 18:42:06 +0100 Message-ID: References: <87imnu1knq.fsf@dick> <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> <87r222a48o.fsf@ericabrahamsen.net> <87pnhm7a89.fsf@gmx.de> <87k17u78q4.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="142598"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Eric Abrahamsen , Lars Ingebrigtsen , dick.r.chiang@gmail.com, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 20 18:43:44 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 1iXU11-000awM-Dv for ged-emacs-devel@m.gmane.org; Wed, 20 Nov 2019 18:43:43 +0100 Original-Received: from localhost ([::1]:32996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXU10-0004Pi-4K for ged-emacs-devel@m.gmane.org; Wed, 20 Nov 2019 12:43:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57773) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXTzW-0004LN-SJ for emacs-devel@gnu.org; Wed, 20 Nov 2019 12:42:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXTzV-0006tM-Sb for emacs-devel@gnu.org; Wed, 20 Nov 2019 12:42:10 -0500 Original-Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:42599) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iXTzV-0006sx-KS for emacs-devel@gnu.org; Wed, 20 Nov 2019 12:42:09 -0500 Original-Received: by mail-wr1-x436.google.com with SMTP id a15so833432wrf.9 for ; Wed, 20 Nov 2019 09:42:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=H/qDsPQX+23MjNKN6hbtyynIe0oATMmdrpB+2j9pgT0=; b=pNQeQ0L45j/SLUm+anzZcAGvXiirf2TDjF8VejSguZka6/kL+MBFucZFTItS0anOdO uq4m981Ma14xlX2uCaATaoQ892ony3WKfoSo2mCSZeKafidkO7Xoitt1/d6JcG5Lw1OT WSg6BlqJwBoPvMnPWEGQtJIwQ7EmR6z3D/6NzTgeMqCvj5SVynqNcmi6gJcpBmAoW4Rn 2pKaJgeRzLJyjgY5xjyvry4YCExM+EPvqRQ19jBPRTHZCspLE7HBkRbmRmQzb6MB/wJj y984PfEQP5PR1OCfJlJqMUSrSrocGeBjTpiUm0j7Pi0EW79pc3H3YXiVfN85YqaGqmAS 9RHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=H/qDsPQX+23MjNKN6hbtyynIe0oATMmdrpB+2j9pgT0=; b=DxnkKSlhPYX3mplOHoiaKRCk0gG47dG1EApTxhcrskfG++evu2107iQDJq4oV/S+Yw BGwc4iQCSLTKXgOKt+wFtG2zeqZqfSW46mdQkYs0lcl6W03Iv1KyIAyZ7s5w81dBANLX oRKDN6rff1Dyhz/EIj/XNMdsQPiqqiDEtzctckWCrn/9l0sDuFT0JeRCWYyFu9UnJZrd 9ruMFMjwUQYcOP5YFkStL+ny9pdWItHc3nVN+T/f7BNDAh5lYLfA4Rmvej4l9xDUhCDX /KT55Rr53rLCT4Be+jDeqoAh8aqh9wYCTZ/WBmm659jCCVRffXSU8hEQSfCGq/WQt9SE a/jA== X-Gm-Message-State: APjAAAXQEPvGcN8cEjWUku+tOVQKT00scWQaYGXbaotBo4YApykIe/nj c51N4NiM7xnoopnlwXWnzro92wdvK2A= X-Google-Smtp-Source: APXvYqxwMTc3jeYBCbbcmE9YNu2tF85Z16CyAB1I9ydSrORJMbBt2K/CvrGDdXLVjrYGv+SSbXnK8g== X-Received: by 2002:a5d:6cb0:: with SMTP id a16mr5259030wra.194.1574271728057; Wed, 20 Nov 2019 09:42:08 -0800 (PST) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:d526:91e6:9add:1fb6]) by smtp.gmail.com with ESMTPSA id w19sm7217747wmk.36.2019.11.20.09.42.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2019 09:42:07 -0800 (PST) In-Reply-To: <87k17u78q4.fsf@gmx.de> (Michael Albinus's message of "Wed, 20 Nov 2019 18:34:11 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::436 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:242516 Archived-At: >>>>> On Wed, 20 Nov 2019 18:34:11 +0100, Michael Albinus said: Michael> Robert Pluim writes: >> >> If you stick >> >> >> >> (debbugs-gnu-summary-mode 1) >> >> >> >> at the end of my function, you'll get 'E' 'C' and 'M-m' bindings, >> >> which do the same things as in 'debbugs-gnu'. >>=20 Michael> Do they find already the proper bug-id? Cool, this saves Michael> me work :-) >>=20 >> Kind of, they search for #\\([0-9]+\\) on the current line, and then >> from point-min, which will do the wrong thing if you=CA=BCre not on = the >> first line of the bug thread. They also look for an appropriate text >> property, but that=CA=BCs not set by 'gnus-read-ephemeral-bug-group'= . I can >> look at adding that, but if you have a debbugs-gnu list of tagged >> bugs, you can visit each of them as a gnus group individually, so I= =CA=BCm >> not sure it=CA=BCs worth the effort. Michael> As you want. It's just convenience to send a control message i= mmediately Michael> while you're reading a given message in the accumulated summar= y buffer. Well, with debbug-gnu-summary-mode enabled you'll be able to do that, you'll just have to be slightly more careful with those commands. Hmm, how about if I changed the detection code to do - search current line - search backwards - search from (point-min) That would change nothing for single-bug ephemeral groups. Robert