From unknown Fri Jun 20 18:14:07 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#41842 <41842@debbugs.gnu.org> To: bug#41842 <41842@debbugs.gnu.org> Subject: Status: 28.0.50; gnus-new-mail-mark is applied to too many groups Reply-To: bug#41842 <41842@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:14:07 +0000 retitle 41842 28.0.50; gnus-new-mail-mark is applied to too many groups reassign 41842 emacs,gnus submitter 41842 "Basil L. Contovounesios" severity 41842 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 13 19:14:27 2020 Received: (at submit) by debbugs.gnu.org; 13 Jun 2020 23:14:27 +0000 Received: from localhost ([127.0.0.1]:42627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkFM2-0006p6-Mu for submit@debbugs.gnu.org; Sat, 13 Jun 2020 19:14:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:56644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkFM1-0006oy-0p for submit@debbugs.gnu.org; Sat, 13 Jun 2020 19:14:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkFM0-0002gU-LW for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2020 19:14:24 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:35698) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jkFLx-0000yR-UD for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2020 19:14:24 -0400 Received: by mail-wm1-x330.google.com with SMTP id q25so11360024wmj.0 for ; Sat, 13 Jun 2020 16:14:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding; bh=gzZi71B+fJ3XXW/wAQjQ11cYpuStoytDWhu5jyKoMbU=; b=YzUOBCUGoqYfInvS8W6kG3xgE/Zwqn2t0IYkoP4hf/oISgpdIfjOLyFUAJTXA77bJH prmpASNe6ttZYp89EONbVLm3ZeBEwok0wvg16r3tK8V0niTkFRCw7ydsz0Ag3Fvt25Bd jpGMT4+AjpxHVQDeS7b0WEH0umfyrWE6lYoDBbVJznWq8+4m20Ysz0qgyOeB+ftjjtez slNM5tBSgH5/9sN2Gpab/eM68LtRuyZ0kIwn1sEa9teWRmJJjCUJsuBPPCaJ6D+7ZA3l I+WK1hFRnpROSOuIkcGJoHwenMOKWwX/9lRwnWKG99cgjGmUlTHPfZZjoVDnMCs6/hNv d9vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=gzZi71B+fJ3XXW/wAQjQ11cYpuStoytDWhu5jyKoMbU=; b=lDIElMmPCX4FUJtD5H94Pa/fo0qtS852QyLnnDGb4VL1jq0PZvG3dH7qu2OulRCtXU DG2pUxgAdwq73d2jQUfYaVCAElEGJp34MWEoHQ75sbJ5/61hUS97ofk2q7U23xC/OUp0 Q7N+WZVQueKUkxsec29qyJ9N4U5JfUPUrR/yglAhe44m/iDyznxwaqhsXAgQ+w50VrDA 8ejcYIn2nR2r/KNPIGpYPk5+WoC7LwvLvn61pVDrTgTxWa6qUn7vINDfT6qRgW8YS13Z MBJCU7ur0YYgvYHUKGnNo49fPyi3KngQp/v8tJ2FHHtbkmq3CpH6tXlhXsFA+GnCzUvS myLw== X-Gm-Message-State: AOAM530piwYOUSwdPhUTu+8OIuNl/8JKHr2P5T7PBYjUmw6qxkryjVaz Kksg/bpfCzBxV5ok910AUWxUEmc5OJVsiA== X-Google-Smtp-Source: ABdhPJz3viawm6OHCe1gb+9wovo35uJ4wfQeY6anZ8sbWI4Bq47yacneAuNWYxMhtVGeA+nFXofk3Q== X-Received: by 2002:a1c:8186:: with SMTP id c128mr6054771wmd.114.1592090059071; Sat, 13 Jun 2020 16:14:19 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:92bd:1bfd:38fc:fae2]) by smtp.gmail.com with ESMTPSA id c81sm15928188wmd.42.2020.06.13.16.14.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jun 2020 16:14:18 -0700 (PDT) From: "Basil L. Contovounesios" To: bug-gnu-emacs@gnu.org Subject: 28.0.50; gnus-new-mail-mark is applied to too many groups X-Debbugs-Package: emacs,gnus Date: Sun, 14 Jun 2020 00:14:17 +0100 Message-ID: <87wo4a36eu.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=2a00:1450:4864:20::330; envelope-from=contovob@tcd.ie; helo=mail-wm1-x330.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Severity: minor I use mbsync to synchronise three remote IMAP inboxes with three local Maildirs. I use Dovecot to serve these Maildirs locally over IMAP, each over a separate connection. For each local IMAP instance, I add to gnus-secondary-select-methods a new nnimap entry with a name based on the corresponding Maildir's basename: $ tree -L 1 ~/Mail /home/blc/Mail =E2=94=9C=E2=94=80=E2=94=80 outlook =E2=94=9C=E2=94=80=E2=94=80 personal =E2=94=94=E2=94=80=E2=94=80 tcd gnus-secondary-select-methods: ((nnimap "tcd" ...) (nnimap "personal" ...) (nnimap "outlook" ...) ...) I use gnus-topic-mode to organise the subscribed groups of each nnimap into different topics. So when mbsync has fetched new mail, and I either start Gnus, or type g (gnus-group-get-new-news) in an existing *Group* buffer, I see something like this: [ Gnus -- 25888 ] [ tcd -- 22671 ] % 13? 0! : tcd:INBOX 13:34 [ personal -- 79 ] % 14? 0! : personal:INBOX 23:27 [ outlook -- 3 ] % 3? 0! : outlook:INBOX Thu 11 Notice that gnus-new-mail-mark (the % in the fourth column) is on all three INBOX groups, even though only personal:INBOX contains new mail. This happens because of the way gnus-group-new-mail in gnus-group.el checks whether a given group, such as "nnimap+tcd:INBOX", contains new mail. It first passes the group name to gnus-group-real-name, which returns "INBOX", and then passes this result to nnmail-new-mail-p, which checks for its presence in nnmail-split-history, whose value is something like: ((("INBOX" . 0)) (("[Gmail].Sent Mail" . 0)) ...) Would it be possible for the variable nnmail-split-history, or the function gnus-group-new-mail, or both, to be changed so they store/manipulate only the full group name "nnimap+tcd:INBOX"? Thanks, --=20 Basil In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo versio= n 1.16.0, Xaw3d scroll bars) of 2020-06-13 built on thunk Repository revision: 4823fa1077e4330bd2574eb54731bb32e6370034 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Debian GNU/Linux bullseye/sid From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 18 21:15:49 2020 Received: (at 41842) by debbugs.gnu.org; 19 Jul 2020 01:15:49 +0000 Received: from localhost ([127.0.0.1]:59553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwxvh-0000dq-3z for submit@debbugs.gnu.org; Sat, 18 Jul 2020 21:15:49 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwxve-0000da-Po for 41842@debbugs.gnu.org; Sat, 18 Jul 2020 21:15:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fypuLTtrnXA7ZfL8SreS1nWIadoilIGCI992dWPb7fc=; b=FH6jKU8U0m4uBbAZJR5s4/gLQR ylnBNfHmKBGn9M6Ag7Ji49frucXW35LSE8aKbe8Ah8FzabqBcig7TfeTZR9eXvWS6LjkSnNDnY7AH Zq7fJHaUPxFCC7mZL7FV+gNsASrnmQc5lrDb7qlR5M9V3H/2zWLedJDCdWi9/TwnCc6Y=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jwxvV-0007Rs-Se; Sun, 19 Jul 2020 03:15:40 +0200 From: Lars Ingebrigtsen To: "Basil L. Contovounesios" Subject: Re: bug#41842: 28.0.50; gnus-new-mail-mark is applied to too many groups References: <87wo4a36eu.fsf@tcd.ie> Date: Sun, 19 Jul 2020 03:15:36 +0200 In-Reply-To: <87wo4a36eu.fsf@tcd.ie> (Basil L. Contovounesios's message of "Sun, 14 Jun 2020 00:14:17 +0100") Message-ID: <87h7u4wbif.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: "Basil L. Contovounesios" writes: > This happens because of the way gnus-group-new-mail in gnus-group.el > checks whether a given group, such as "nnimap+tcd:INBOX", contains new > mail. It first passes the group name to gnus-group-rea [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41842 Cc: 41842@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "Basil L. Contovounesios" writes: > This happens because of the way gnus-group-new-mail in gnus-group.el > checks whether a given group, such as "nnimap+tcd:INBOX", contains new > mail. It first passes the group name to gnus-group-real-name, which > returns "INBOX", and then passes this result to nnmail-new-mail-p, which > checks for its presence in nnmail-split-history, whose value is > something like: > > ((("INBOX" . 0)) > (("[Gmail].Sent Mail" . 0)) > ...) Hm, that's a kinda badly misdesigned interface... > Would it be possible for the variable nnmail-split-history, or the > function gnus-group-new-mail, or both, to be changed so they > store/manipulate only the full group name "nnimap+tcd:INBOX"? I think that would be easy to implement for nnimap (it peeks into the Gnus structures, so it knows the full Gnus name of the group)... But looking at the code used in nnmail.el (i.e., nnmail-check-duplication), it doesn't (at that point) know what the Gnus group names are; it just gets data from the backends. (This is when nnml splits from, say, pop3 fetching.) So I don't know how to fix this generally. Any ideas? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 22 16:57:14 2020 Received: (at 41842) by debbugs.gnu.org; 22 Jul 2020 20:57:14 +0000 Received: from localhost ([127.0.0.1]:43197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyLne-0005Zw-9e for submit@debbugs.gnu.org; Wed, 22 Jul 2020 16:57:14 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:51230 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyLnb-0005Zi-Gr for 41842@debbugs.gnu.org; Wed, 22 Jul 2020 16:57:12 -0400 Received: from localhost (75-172-112-137.tukw.qwest.net [75.172.112.137]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 52BBAFA03D; Wed, 22 Jul 2020 20:57:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1595451425; bh=4qAjjAWU9nOqswkPYMe9G62RsnLKc5VBHqmHo4FBt+0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=PYVpeZ9PSMOASIV+bj2NuZ7zEUuHo59inKfbLbcFcUfRH1hqPyFK8pFL/h5s+kmDa eEkA1pEW9/Kl5yidYnDzUr/e9OAyIqMIt8/Zcw7pe0gvALxE8HLtoRoRq6MuHP0Yu4 xiyvnE0FynbYLYNkh1N+Zxs64ccNpQdknNjK5VS0= From: Eric Abrahamsen To: Lars Ingebrigtsen Subject: Re: bug#41842: 28.0.50; gnus-new-mail-mark is applied to too many groups References: <87wo4a36eu.fsf@tcd.ie> <87h7u4wbif.fsf@gnus.org> Date: Wed, 22 Jul 2020 13:57:03 -0700 In-Reply-To: <87h7u4wbif.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 19 Jul 2020 03:15:36 +0200") Message-ID: <87eep3tgio.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41842 Cc: "Basil L. Contovounesios" , 41842@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > "Basil L. Contovounesios" writes: > >> This happens because of the way gnus-group-new-mail in gnus-group.el >> checks whether a given group, such as "nnimap+tcd:INBOX", contains new >> mail. It first passes the group name to gnus-group-real-name, which >> returns "INBOX", and then passes this result to nnmail-new-mail-p, which >> checks for its presence in nnmail-split-history, whose value is >> something like: >> >> ((("INBOX" . 0)) >> (("[Gmail].Sent Mail" . 0)) >> ...) > > Hm, that's a kinda badly misdesigned interface... > >> Would it be possible for the variable nnmail-split-history, or the >> function gnus-group-new-mail, or both, to be changed so they >> store/manipulate only the full group name "nnimap+tcd:INBOX"? > > I think that would be easy to implement for nnimap (it peeks into the > Gnus structures, so it knows the full Gnus name of the group)... > > But looking at the code used in nnmail.el (i.e., > nnmail-check-duplication), it doesn't (at that point) know what the Gnus > group names are; it just gets data from the backends. (This is when > nnml splits from, say, pop3 fetching.) > > So I don't know how to fix this generally. > > Any ideas? Let's change all group names to be fully prefixed everywhere inside Gnus. If we must preserve the "primary-select-method-is-unprefixed" convention, just do it at two places at the edges of the system: when reading/writing .newsrc.eld, and when displaying the group name in the *Group* buffer. The first case is important for backward compatibility, but the second should be dropped as well: provide one format escape for prefixed-group-name and another for unprefixed-group-name, and let the user sort it out. Look at how much code we could remove! From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 23 09:52:04 2020 Received: (at 41842) by debbugs.gnu.org; 23 Jul 2020 13:52:04 +0000 Received: from localhost ([127.0.0.1]:44429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jybdk-0007pk-4U for submit@debbugs.gnu.org; Thu, 23 Jul 2020 09:52:04 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jybdg-0007pE-2b for 41842@debbugs.gnu.org; Thu, 23 Jul 2020 09:52:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=0X987gV+FM5KhHSwKMqTaPFLz/XLhXVN4pGw4bEExOo=; b=RC9RezTC1r9PeXx1eRFyNQVcxL 5xZy0PbKSna5V2G9bbdN4bm3yzplWUnQm0XMzkev1T7ki9KILA45bIC8oAyy8vHCJsugGdjoLwPft eIfGC6aOfAp9OKyGVqAPMuYx137ygO+bm0g0jB7TAEGYYkxxLjANsQ515Gg1xPoK663E=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jybdV-0006JO-N1; Thu, 23 Jul 2020 15:51:53 +0200 From: Lars Ingebrigtsen To: Eric Abrahamsen Subject: Re: bug#41842: 28.0.50; gnus-new-mail-mark is applied to too many groups References: <87wo4a36eu.fsf@tcd.ie> <87h7u4wbif.fsf@gnus.org> <87eep3tgio.fsf@ericabrahamsen.net> Date: Thu, 23 Jul 2020 15:51:48 +0200 In-Reply-To: <87eep3tgio.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 22 Jul 2020 13:57:03 -0700") Message-ID: <87r1t2nxu3.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eric Abrahamsen writes: > Let's change all group names to be fully prefixed everywhere inside > Gnus. If we must preserve the "primary-select-method-is-unprefixed" > convention, just do it at two places at the edges of the s [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41842 Cc: "Basil L. Contovounesios" , 41842@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eric Abrahamsen writes: > Let's change all group names to be fully prefixed everywhere inside > Gnus. If we must preserve the "primary-select-method-is-unprefixed" > convention, just do it at two places at the edges of the system: when > reading/writing .newsrc.eld, and when displaying the group name in the > *Group* buffer. This isn't about unprefixed group names in Gnus -- it's about group names in the backends. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 23 13:00:29 2020 Received: (at 41842) by debbugs.gnu.org; 23 Jul 2020 17:00:29 +0000 Received: from localhost ([127.0.0.1]:45905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyea5-0006Rt-26 for submit@debbugs.gnu.org; Thu, 23 Jul 2020 13:00:29 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:47320 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyea3-0006Rg-Kn for 41842@debbugs.gnu.org; Thu, 23 Jul 2020 13:00:27 -0400 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 E1F04FA0AC; Thu, 23 Jul 2020 17:00:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1595523622; bh=jgSBjfF8d+ncrBPe7K1pNVaXBQ5BgzN4Ak8/yuChEfQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=r7VstOdjcOUgTdHFlJRTNDsCS8HnqiDGAr4UlJ59D5mIPBtTrqYnP5q9iYwNkPugy d7XG0vAbUCCjyawj9O+jwlE2cHH62dZO7HL4eFjM/5ze1xw0JeLi6LVQTEGO9wR5tD 11g6+H52YmhA2Gqhzy3a50zlA6LH1SPcA3hl0yT0= From: Eric Abrahamsen To: Lars Ingebrigtsen Subject: Re: bug#41842: 28.0.50; gnus-new-mail-mark is applied to too many groups References: <87wo4a36eu.fsf@tcd.ie> <87h7u4wbif.fsf@gnus.org> <87eep3tgio.fsf@ericabrahamsen.net> <87r1t2nxu3.fsf@gnus.org> Date: Thu, 23 Jul 2020 10:00:20 -0700 In-Reply-To: <87r1t2nxu3.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 23 Jul 2020 15:51:48 +0200") Message-ID: <87v9ierwt7.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41842 Cc: "Basil L. Contovounesios" , 41842@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On 07/23/20 15:51 PM, Lars Ingebrigtsen wrote: > Eric Abrahamsen writes: > >> Let's change all group names to be fully prefixed everywhere inside >> Gnus. If we must preserve the "primary-select-method-is-unprefixed" >> convention, just do it at two places at the edges of the system: when >> reading/writing .newsrc.eld, and when displaying the group name in the >> *Group* buffer. > > This isn't about unprefixed group names in Gnus -- it's about group > names in the backends. Whoops -- ignore me... From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 27 18:36:11 2020 Received: (at 41842) by debbugs.gnu.org; 27 Jul 2020 22:36:11 +0000 Received: from localhost ([127.0.0.1]:55992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0Bj8-0003C7-RC for submit@debbugs.gnu.org; Mon, 27 Jul 2020 18:36:11 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0Bj7-0003Bv-De for 41842@debbugs.gnu.org; Mon, 27 Jul 2020 18:36:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=UEd4NcQZcsFov5y8VI/MkY/eGh8qcJHAr5T7HWzWYIY=; b=V1m1maN8naFm+aeSKmRxq6QVln 9yA1Oq8oLYxtWsR2h5NUijWqUah5W8lKLGcJ1Udi7HSBtTuIiHN+uuqzGHqd+JjwhLFgQ2tisBv91 hnmDSyRrAnZEdJneqNKth651TGwXiuKspM6ObBZboxJKp0ti8RVp3yLaelNWvfXvk6b4=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k0Biv-0005Yp-TB; Tue, 28 Jul 2020 00:36:03 +0200 From: Lars Ingebrigtsen To: "Basil L. Contovounesios" Subject: Re: bug#41842: 28.0.50; gnus-new-mail-mark is applied to too many groups References: <87wo4a36eu.fsf@tcd.ie> <87h7u4wbif.fsf@gnus.org> Date: Tue, 28 Jul 2020 00:35:56 +0200 In-Reply-To: <87h7u4wbif.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 19 Jul 2020 03:15:36 +0200") Message-ID: <877duo4mcz.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > But looking at the code used in nnmail.el (i.e., > nnmail-check-duplication), it doesn't (at that point) know what the Gnus > group names are; it just gets data from the backends. (This is when > nn [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41842 Cc: 41842@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > But looking at the code used in nnmail.el (i.e., > nnmail-check-duplication), it doesn't (at that point) know what the Gnus > group names are; it just gets data from the backends. (This is when > nnml splits from, say, pop3 fetching.) > > So I don't know how to fix this generally. Aha! I traced the call sequence up and up to try to find out just how to get at what the select method was, and it's not present in the nine layers of calls down to where nnmail-split-history is set... But! gnus-command-method is bound! The unique Gnus group name can be trivially determined based on that. I think. I'll try hacking that up and see what happens... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 27 18:48:00 2020 Received: (at 41842) by debbugs.gnu.org; 27 Jul 2020 22:48:00 +0000 Received: from localhost ([127.0.0.1]:55997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0BuZ-0003Sq-Tz for submit@debbugs.gnu.org; Mon, 27 Jul 2020 18:48:00 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0BuY-0003Sc-CS for 41842@debbugs.gnu.org; Mon, 27 Jul 2020 18:47:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=0Uu8se9qKShzd4+aJPBBrJ0RIxSRiiW6lkjcaPPOVdM=; b=a7T4ao7zoRkRDtROLZ5nc8+8SW GDbUqi4KXQNkJOqx9K3w9DYr+PoLFYbKDg1xnU6nRAAPhYcfo8fLcwXQHuEiEzrgWNpaGLgrZLSpn EfdUedViGQHtcxBWn6SicyDnSywhoKonZAKjsZ2JKuMHi+Cxt5kUlIE/ITDGyRWvPzD8=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k0BuP-0005eG-D3; Tue, 28 Jul 2020 00:47:52 +0200 From: Lars Ingebrigtsen To: "Basil L. Contovounesios" Subject: Re: bug#41842: 28.0.50; gnus-new-mail-mark is applied to too many groups References: <87wo4a36eu.fsf@tcd.ie> <87h7u4wbif.fsf@gnus.org> <877duo4mcz.fsf@gnus.org> Date: Tue, 28 Jul 2020 00:47:48 +0200 In-Reply-To: <877duo4mcz.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 28 Jul 2020 00:35:56 +0200") Message-ID: <87365c4lt7.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > But! gnus-command-method is bound! The unique Gnus group name can be > trivially determined based on that. I think. > > I'll try hacking that up and see what happens... Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41842 Cc: 41842@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > But! gnus-command-method is bound! The unique Gnus group name can be > trivially determined based on that. I think. > > I'll try hacking that up and see what happens... I... think it worked? It's only been lightly tested, though. Could check whether this works as it's supposed to in Emacs 28? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 28 06:32:34 2020 Received: (at 41842-done) by debbugs.gnu.org; 28 Jul 2020 10:32:35 +0000 Received: from localhost ([127.0.0.1]:57364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0MuQ-0006R4-O4 for submit@debbugs.gnu.org; Tue, 28 Jul 2020 06:32:34 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:32808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0MuN-0006Qq-LH for 41842-done@debbugs.gnu.org; Tue, 28 Jul 2020 06:32:32 -0400 Received: by mail-wm1-f50.google.com with SMTP id f18so6599648wmc.0 for <41842-done@debbugs.gnu.org>; Tue, 28 Jul 2020 03:32:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=T3uGoYfyUC0qwHZ8bYK7aesZWP+advgOH3vgLLiSJB8=; b=JUmsREiJW7Z+/Pts7aWXRdumXMTjNiU5I3GwNzfzsLkO0nDey5LsUBatoh11lgUiBT Z8Sn6iznNQ61/sG3OkLrsrffTv8VLiDkI4kbT62PvetWW8b/gpMCI3J4My1uztDT8Nn3 xEHhHtbetw5Njc9ZuJtzd0jtThcGJna/bznIE+DBKVYT+Xq+NQSIm4WokzcpudI2jRX9 XP2UiAC77CVrPWUkBcJl4Th3zGbSsDAlyzlptjKqfZYoj1ja7X9ie0TvWuZh4AAwJA+W RMNeNisoy8BvNlO9fs3mOK8eZFG5v+1LHPZKQbxF2SpbtezL3X6ZTjSa3aCxansaZI4w BuoA== 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:user-agent:mime-version; bh=T3uGoYfyUC0qwHZ8bYK7aesZWP+advgOH3vgLLiSJB8=; b=bWTuhTL9EmsbZOEfEXfkIM4QJuzx6UxZBvDBIvg8YAM1iVs3W1d14BTxDIGL4CEx59 cHoyKnN3/tXiZ9UrAAopJXLPyWnnj9ny7cAKqnKdSqYS7iJ3AJK6dFyRJlDAZJuJus+N Ve//BwzX9Cizd3KSik01vDhPnrKPLe3Szbb8OgjAaIs2drwIq42Crlz9eAkJmLqYXTL+ xgWPetrFycOOVb17xGbBLmKzhacSRRaT8f4d7MyfQN5j0kEfW0tpqMIaFRG+OkDoGlUz i0wGFseuSzLlu7vqx+wPbd8y0U+TI9n/hl4smQmHZyrcaxt3YPT9PFPPlEnx+3WxKVbp bY3Q== X-Gm-Message-State: AOAM531cQxQY7hwBDvnNIt8ifuGpODh2TvWL49Wv0ao5tDSR/ibG/YHY pdeYNnTz4IX2HL2T89Eb+5gkRg== X-Google-Smtp-Source: ABdhPJwBihtg2HuR0ZWxHHcCpuUOjat+5dTH+CJiYLhj9mzgQJ/ZAr9fo+hrptW64X6Dz7pvC58QIg== X-Received: by 2002:a1c:7402:: with SMTP id p2mr3428129wmc.117.1595932345735; Tue, 28 Jul 2020 03:32:25 -0700 (PDT) Received: from localhost ([80.233.35.27]) by smtp.gmail.com with ESMTPSA id g14sm3364870wmk.37.2020.07.28.03.32.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2020 03:32:24 -0700 (PDT) From: "Basil L. Contovounesios" To: Lars Ingebrigtsen Subject: Re: bug#41842: 28.0.50; gnus-new-mail-mark is applied to too many groups References: <87wo4a36eu.fsf@tcd.ie> <87h7u4wbif.fsf@gnus.org> <877duo4mcz.fsf@gnus.org> <87365c4lt7.fsf@gnus.org> Date: Tue, 28 Jul 2020 13:32:22 +0300 In-Reply-To: <87365c4lt7.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 28 Jul 2020 00:47:48 +0200") Message-ID: <87zh7k9bgp.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41842-done Cc: 41842-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > Lars Ingebrigtsen writes: > >> But! gnus-command-method is bound! The unique Gnus group name can be >> trivially determined based on that. I think. >> >> I'll try hacking that up and see what happens... > > I... think it worked? It's only been lightly tested, though. Could > check whether this works as it's supposed to in Emacs 28? Seems to work fine here, thanks! I'm therefore closing this bug. -- Basil From unknown Fri Jun 20 18:14:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 25 Aug 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator