From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70994: [PATCH] Make cache regeneration work in group names with / Date: Wed, 22 May 2024 10:21:42 +0530 Message-ID: <86y182bg9t.fsf@gmx.net> References: <86jzjt11ff.fsf@outlook.com> <87le428xvg.fsf@ericabrahamsen.net> Reply-To: James Thomas 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="35959"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eric Abrahamsen , Stefan Kangas To: 70994@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 22 06:53:34 2024 Return-path: Envelope-to: geb-bug-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 1s9dyn-0009Ap-DJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 May 2024 06:53:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9dyO-0000aa-Lu; Wed, 22 May 2024 00:53:08 -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 1s9dyD-0000UN-9q for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 00:53:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s9dyD-0007Pc-1i for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 00:52:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9dyI-0005Ux-BC for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 00:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: James Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 May 2024 04:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70994 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 70994-submit@debbugs.gnu.org id=B70994.171635353021117 (code B ref 70994); Wed, 22 May 2024 04:53:02 +0000 Original-Received: (at 70994) by debbugs.gnu.org; 22 May 2024 04:52:10 +0000 Original-Received: from localhost ([127.0.0.1]:53289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9dxS-0005UX-6J for submit@debbugs.gnu.org; Wed, 22 May 2024 00:52:10 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:52443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9dxP-0005U9-5l for 70994@debbugs.gnu.org; Wed, 22 May 2024 00:52:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1716353506; x=1716958306; i=jimjoe@gmx.net; bh=EjzL1604Hh8I/ACO3PNPu2OzPMwjQdDpa0sbIdsH9IA=; 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=XR6oTlFbbM7LIAAeLzhRupqbRD7UL4IG/+lWtZGnAZ5Mul/QWE6Vu0qu3aq+9Pls 8uV9b7oc35HVWAEW2zrimMlnUz9aJjpyb9Xhf0sxqoFULuMU0FYOnL2F/XqsOxcui mvM8GSrhheD2qafzncZu6fsRER9grtEPjlNALEaPoaTz/7t5kCvCJUZyYFfW2TT/q DgytHhCHblvFGmJwKEftnVPZP2qa9kd00pzouuKTENekcFRR7d76XO9G1PMalhZSj +aRBqxJB0Rfui53RxBIAp2RIGMGftF58OU9u4ILFkQ6WeSXBaRZC1NnceMx1PdoLU Cs3z8B36pVXz5wL6Cw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from user-Inspiron-3493 ([117.206.142.14]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1N8ofO-1sdukB2Tu2-015tVu; Wed, 22 May 2024 06:51:46 +0200 In-Reply-To: <87le428xvg.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 21 May 2024 17:59:47 -0700") X-Provags-ID: V03:K1:KLYKJx1CTEbb0XgJWk2XAE6Q+Au65CLwwxNsu9fzpyoIzXbOWju RxK/PMBK+n4nJQj1Si4neBSJuCSFysXqoskbgkAKCupqaxjevGUjpPI/L9gVu36SbzpIHvv P+KvzpFmAie+4dr9FFEobMSQCqpYlGtEKpTNAQwBf7m7YAsueKpwQVmlz8vM2eNBhwk7Roo /ZRaCYn9Q4foiL+KBvTig== UI-OutboundReport: notjunk:1;M01:P0:C/tVdam0s4s=;um1ywPN8llnLhpFj4X6rtSUGDt4 P/IN3MXObqWZSHdVByw/K5h8Cer38MNOSR2PRbLLi0cj5DPTbUuutKUU7WCUVdblwyaHl2zfr Y/fElE6XjA5xLanUnpYWiNMCrp7BjXJ6wxueoRy5D5iD/XU8SfLfX3h3KJSSV3dPROEIeMP7O tlTJXCtZ1HWmLz0RufNso5MvFsbrfOq8/5yZkV/bPP6WIj4SE8TNeS1E9dGRhTUJ3Z10rxd+T klyLCIulVTkP+0sFWm3u0DFSEH7L2BNhMsNqf5JUIwvApyAGu3aAexnt1q/MJLWB34+Dz//Yg ZrDjyABTosseA0YrXv94/bxwvbHQ7GS16ydBdNTe7sruDXMh9p2hvvJvnAvpPF/fEAKlV3xof JsmRRAXeY9SaBu9Ic+Zs1gaKS9J+rCgjlH2f7i6IASYobi25CbJfXFJRqx3Z5qDWZlvDq9tQa i/jGnJES0G5GBJXFWIAGdoUcms+0S0fvpbL5OqrmslmBCuLXLz/L2HiTZa9djDLLcibtgFl3x xSAczNFlTU4EzXTPozsMYqBj3CdGJohc3b2a5GxH178heF6oA/FMM16bl+5RGKwj3JKN819Gn WIFipH9ePwpfHoJOFBhyuliJwbBrpkDej4WeyP87EauE4Z+5CxtBWV2VqrYCowk6SHVU2n0IY qaHYSSVWIgl/57e4jjaSdrqnVwjO5MievYLUMdOKRQ2C7ucnoFV2cIczb9M9vQtULgHEmxvrO Z+1Zy3F85tWh6bbUG0iC0UvdQf8U3+4+3EFD2lT4r73Mm5bldSCVYWSzNuBvl6yOfeVr6/qp X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285572 Archived-At: Eric Abrahamsen wrote: > Stefan Kangas writes: > >> James Thomas via "Bug reports for GNU Emacs, the Swiss army knife of >> text editors" writes: >> >>> Reproduction steps for bug: >>> >>> - emacs -Q >>> - (setq gnus-secondary-select-methods >>> '((nnatom "github.com/vedang/pdf-tools/commits.atom"))) >>> (setq gnus-select-method '(nnnil "")) >>> - M-x gnus >>> - Open a message in the new group and press * >>> - Add the cache virtual server (info "(gnus) Creating a Virtual Server") >>> - ^ (server buffer) and: g on the cache >>> - RET to open (fails) >>> >>> This is a possible fix that I've tested only on my (limited) setup, for >>> now: >> >> Eric, what do you think of the below patch? > > Thanks for the bump... > > James, wasn't this what bug#69517 was supposed to be fixing? You're right, but that was specifically the 'cache'. In regenerate, all it sees is that the backend is nnml and there's nothing else special about the server. > I'm still feeling like we're patching pinhole leaks in a fundamentally > broken system. Sorry if my patch made you think so, but I don't feel that way =F0=9F=99=82= . This feature is just tangential and things like slashes in group names are bound to complicate things. But let me see if I can whip up an alternative patch that does things in a simpler way (I did say: 'possible' patch). One thing to decide is whether '%'s are uncommon enough in group names to warrant special treatment in a backend as fundamental as nnml. Regards, James