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: A few questions about debbugs Date: Wed, 21 Aug 2024 10:43:55 +0200 Message-ID: <874j7e2rlg.fsf@gmx.de> References: <871q2uelx6.fsf@thaodan.de> <87r0as992a.fsf@gmx.de> <87msl83hbe.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22546"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org, Eric Abrahamsen To: =?utf-8?Q?Bj=C3=B6rn?= Bidar Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 21 10:44:45 2024 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 1sggxR-0005gC-5g for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 21 Aug 2024 10:44:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sggwu-0002Sv-Tm; Wed, 21 Aug 2024 04:44:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sggwt-0002Nd-EX for help-gnu-emacs@gnu.org; Wed, 21 Aug 2024 04:44:11 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sggwr-0006o7-7D for help-gnu-emacs@gnu.org; Wed, 21 Aug 2024 04:44:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1724229836; x=1724834636; i=michael.albinus@gmx.de; bh=KyHtqhRmYZzxrgsjEaMdAWu1Aeuv/tH/Vf2Wp6oIAYI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=Is80KkMDt3m8FAe9hToj3VedI8sJSOhNqBkCpyYKMEL5Dzct55JXFpVPJpGFoB2m E12h1180BkN5R69aM04dkd8PdwbTYWnFHBIKb8pDStwMK06zYFfZ97AIBeaxT9Tvj 60EMDsUCktfw80JbxYXVjo2f4QnT2kvocCl7WJzyCXSbs9bZCesXjJ3IuTAKhlGcD mUYQu/iP21t5gf2LLHbj6MrEzPHeAuZXw28lbZbo75Oa6K7Bnfyi0spjwsG2F9wo5 Fvg3XnF6UPccS98iFPOZ91ZTlPgnec657K4cs0Ze6KhaH6oZ2/rIlhlT19rzPz0AE zPkrI7fxFj3sz/xzuA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MIdiZ-1ssVKL1ucf-00DDWg; Wed, 21 Aug 2024 10:43:56 +0200 In-Reply-To: <87a5h7o4wu.fsf@> (=?utf-8?Q?=22Bj=C3=B6rn?= Bidar"'s message of "Tue, 20 Aug 2024 13:38:25 +0300") X-Provags-ID: V03:K1:Ybo0Cv7+CjSNZoBM0Xq7NhK6aH5yWIowN19pjekJsHdQDLGuhKg 1BllWj385XL4ZBPfuHjaqdyFDzGnAxsLe5ibCVJu+R0VwYvkbwM8Kq1fOuQdfyZajJEDRJU 8rvEeB7AhkwPQvvbPI8eQHRwLOWOriw18OXEtM2PM8+1xP/346XFDfjvv/RESTPW1AR+t4B TaMPvPchEaTvrRP39/81Q== UI-OutboundReport: notjunk:1;M01:P0:mxQnYur668I=;X5eKSso8BRlXcxPQ7GMWBnpnEEs GvFMyW6+xd+jfkEa3Fm/lVQDPnP7gq1K/6BHYmAxKMOCcS3+71dTzSgoPhMYkYYSugoptg1ZA cs8dHbVbOKdLZN085KFdWJQAsIeE8PF6DsGDPLCAlH43Bkb+cmfuSi/DwdR08i32+ZYl/PWKK 0Beu1v2DJoknYOIyGw7WkJY6bSDgPSs3JF1U/gE2Iaowz3okLyeNUm3sZGx66gvLWWsTS8n9t fXD6ZC3GIqCPvtvFswxmLs0CuH06Sf6RWKIoBh2AQMg4/WGMUdLjUYpEZqUcBx7+e3cXoDIx8 ws8QvgPhwTieO6zaC3NaZhHgRbzk60bi5hj4nKyb0HK8Yiw2yKq0gSRQ3jk3LTkLU5QxGqe+y G3TwX+H/AlBPu8U+qVj5KXdIiNn5VUcHrBkyBZVp9kBf7rvh2jrrvIH6lLRLY3MjJsm7Cy338 xnbtUG6G2d3Ux0gm3caJ5nep6cPmKU1Hbtl30ioAJCKFVAmTwuHN/6pnQS4jSt4giIOvX927b 0bstqPrZopQdT/3Ctzs/fAYmy//ffGI12RfLipYhWL6j90qBhwayTi7VyJPL0xQDlMvtBwo/X KKv1p3DXy+najkaO1WhZ5+jJZ15554R6Q1XS6CwZatMz963G3JCAZcOBRluDCSTyOzKZnAdhx SrdRH1TD+kIVN08t9e4XFSXH2/U4CiWhsYGhlDJcA3yiQZjOVJgjz+DRO+AyDPasFr3fdnz8z qCKx12FDB5V+XVrfIyXKcFGEXI+M/6I6wQWKt0cY3THv7VjpIk3nrji+BBoKCejNJwQoYrpx Received-SPF: pass client-ip=212.227.15.19; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147744 Archived-At: Bj=C3=B6rn Bidar writes: Hi Bj=C3=B6rn, >> Well, in fact we have already an asynchronous communication via >> SOAP. debbugs-search calls soap-invoke, which sends a SOAP request, and >> waits for the SOAP result. But we couls use soap-invoke-async instead, >> which decouples the two phases. debbugs.el is already prepared for it, >> via function debbugs-soap-invoke-async. So we could implement >> asynchronous search. Patches welcome! > > Why soap-invoke-async not made use of when it was added? If adapting > debbugs-search to use soap-invoke is not complicated I could try. > Asynchronous operating/threading was always a sore spot in Emacs, > especially in the packages that are the closest to GNU. Replacing soap-invoke by soap-invoke-async is not a problem. What I worry about is the UI. If you invoke debbugs-search, and you do something else in Emacs then, you need a proper way how to present the search results to the user w/o interrupting the work she is doing meanwhile. > How does debbugs leverage Gnus to display bug comments? That's not done via the SOAP interface. The debbugs.gnu.org server offers a well known URL how to download the messages related to a bug in mbox format. See the function debbugs-get-mbox in debbugs.el. And this mbox is given to Gnus then, for showing an ephemeral message group. > On topic that's slightly off-topic: Why does debbugs-gnu is called > GNU but refers mostly to Emacs? E.g. there's debbugs-gnu-trunk directory > which refers to Emacs. Further the variable looks out of place now that > Emacs uses Git. In the beginning was the word ... sorry, wrong movie. In the beginning was debbugs.el. It is still used as backend package to access any server running Debian's Debbugs software. So it works with debbugs.gnu.org and bugs.debian.org, for example. See user option debbugs-servers in debbugs.el. Later on, there was the request to have a UI for that package, which is specialized on the debbugs.gnu.org server. This was implemented in debbugs-gnu.el, and this is the reasoun of the string "gnu" in this library. "debbugs-gnu" is just the prefix for all functions and variables there. I don't remember why the string "trunk" has been used, and this might indeed predates the time git has been taken for Emacs development. > Thanks for your help so far. Best regards, Michael.