From unknown Sun Jun 15 08:47:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48577: 28.0.50; [PATCH] Lexical binding bug in nnimap-process-expiry-targets Resent-From: Alex Bochannek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 21 May 2021 23:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48577 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: patch To: 48577@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16216406224470 (code B ref -1); Fri, 21 May 2021 23:44:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 May 2021 23:43:42 +0000 Received: from localhost ([127.0.0.1]:38035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lkEnu-0001A2-CJ for submit@debbugs.gnu.org; Fri, 21 May 2021 19:43:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:47560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lkEnp-00019s-W8 for submit@debbugs.gnu.org; Fri, 21 May 2021 19:43:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkEnp-0004uF-O4 for bug-gnu-emacs@gnu.org; Fri, 21 May 2021 19:43:37 -0400 Received: from ns.lapseofthought.com ([50.0.39.240]:25733 helo=mail.lapseofthought.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkEnn-00060G-JA for bug-gnu-emacs@gnu.org; Fri, 21 May 2021 19:43:37 -0400 Received: from awb-mbp.local (unknown [IPv6:2601:646:4200:b470:e19b:7741:3c48:f758]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lapseofthought.com (Postfix) with ESMTPSA id 4Fn37p6WCdz3pdpJ for ; Fri, 21 May 2021 16:43:02 -0700 (PDT) From: Alex Bochannek Date: Fri, 21 May 2021 16:43:02 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Authentication-Results: ORIGINATING; auth=pass smtp.auth=alex smtp.mailfrom=alex@bochannek.com Received-SPF: pass client-ip=50.0.39.240; envelope-from=alex@bochannek.com; helo=mail.lapseofthought.com 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) --=-=-= Content-Type: text/plain When using an expiry target mailbox and an IMAP server that does not support move (Dovecot as per nnimap-quirks), messages will be copied, but not deleted after expiry. This was introduced with use of lexical-binding in Gnus and the difference between set and setq. The below patch fixes the problem. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 570be49094..f869f586d9 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -1076,7 +1076,9 @@ nnimap-process-expiry-targets "UID COPY %s %S") (nnimap-article-ranges (gnus-compress-sequence articles)) (nnimap-group-to-imap (gnus-group-real-name nnmail-expiry-target))) - (set (if can-move 'deleted-articles 'articles-to-delete) articles)))) + (if can-move + (setq deleted-articles articles) + (setq articles-to-delete articles))))) t) (t (dolist (article articles) --=-=-= Content-Type: text/plain -- Alex. --=-=-=-- From unknown Sun Jun 15 08:47:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48577: 28.0.50; [PATCH] Lexical binding bug in nnimap-process-expiry-targets Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 25 May 2021 04:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48577 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: patch To: Alex Bochannek Cc: 48577@debbugs.gnu.org Received: via spool by 48577-submit@debbugs.gnu.org id=B48577.162191555432457 (code B ref 48577); Tue, 25 May 2021 04:06:01 +0000 Received: (at 48577) by debbugs.gnu.org; 25 May 2021 04:05:54 +0000 Received: from localhost ([127.0.0.1]:44333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llOKI-0008RR-1J for submit@debbugs.gnu.org; Tue, 25 May 2021 00:05:54 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llOKG-0008RD-93 for 48577@debbugs.gnu.org; Tue, 25 May 2021 00:05:52 -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=6SEC+xy3kZMkNpwbxUFSTiEsCRA7OGu5LffnEQyYyCA=; b=dCgUBPwzqpdAmkT0r5/8lSrYgN +1Aj1tilRvE8HYc9NbZbIzfqaWQ/96uLSmrx3IEGihN6wgQwQHEPR0WKLCVfqG3AlcGBwpAsQ/7KV DfbagikI2n4cJGebqZjV1qmOXWEBrSUjR4sDrlRKbPWBZL7NBPOcnli62uVyTgM0GscA=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1llOK7-00034Y-ER; Tue, 25 May 2021 06:05:45 +0200 From: Lars Ingebrigtsen References: X-Now-Playing: Severed Heads's _Haul Ass_: "Lufthansa + Sevs In Space" Date: Tue, 25 May 2021 06:05:42 +0200 In-Reply-To: (Alex Bochannek's message of "Fri, 21 May 2021 16:43:02 -0700") Message-ID: <87bl8z8nl5.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: Alex Bochannek writes: > When using an expiry target mailbox and an IMAP server that does not > support move (Dovecot as per nnimap-quirks), messages will be copied, > but not deleted after expiry. > > This was introduced w [...] 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-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 (-) Alex Bochannek writes: > When using an expiry target mailbox and an IMAP server that does not > support move (Dovecot as per nnimap-quirks), messages will be copied, > but not deleted after expiry. > > This was introduced with use of lexical-binding in Gnus and the > difference between set and setq. > > The below patch fixes the problem. Thanks; looks good. I thought we had FSF copyright assignment paperwork on file (as there's been several patches applied from you before), but I can't see your name in the copyright file now. Have you been through the copyright assignment process? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 15 08:47:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48577: 28.0.50; [PATCH] Lexical binding bug in nnimap-process-expiry-targets Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 25 May 2021 04:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48577 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: patch To: Alex Bochannek Cc: 48577@debbugs.gnu.org Received: via spool by 48577-submit@debbugs.gnu.org id=B48577.1621915836455 (code B ref 48577); Tue, 25 May 2021 04:11:02 +0000 Received: (at 48577) by debbugs.gnu.org; 25 May 2021 04:10:36 +0000 Received: from localhost ([127.0.0.1]:44342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llOOp-00007H-Ov for submit@debbugs.gnu.org; Tue, 25 May 2021 00:10:35 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llOOn-000071-7s for 48577@debbugs.gnu.org; Tue, 25 May 2021 00:10:34 -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=vcPtShvIrllmFyHhpIyPjcxzYimLBb9nH/STYeP6zoQ=; b=ZBhqCC568z5aCwjsD4i8Cnbu5d UZACzbFT4Vrpls/IjA8ayKXkFUfuHfDpQQVmCOD+F5WVxOMfo0+TK6Tcp8OqRg3NiAwV+HYjVVhhb P0K8gUGDayMRoQnjeK4w5PWKOX/g+usqruT0BwWolKuUYxF8xjlKSx6A2MHeLh8VDucs=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1llOOe-0003AN-TB; Tue, 25 May 2021 06:10:27 +0200 From: Lars Ingebrigtsen References: <87bl8z8nl5.fsf@gnus.org> X-Now-Playing: Severed Heads's _Haul Ass_: "There's a String Inside Your Body" Date: Tue, 25 May 2021 06:10:24 +0200 In-Reply-To: <87bl8z8nl5.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 25 May 2021 06:05:42 +0200") Message-ID: <87wnrn78sv.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: > Have you been through the copyright assignment process? Never mind -- I see that you've already been asked this in a different bug report (and the answer is "not yet"). 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-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: > Have you been through the copyright assignment process? Never mind -- I see that you've already been asked this in a different bug report (and the answer is "not yet"). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 15 08:47:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48577: 28.0.50; [PATCH] Lexical binding bug in nnimap-process-expiry-targets Resent-From: Alex Bochannek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 25 May 2021 07:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48577 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: patch To: Lars Ingebrigtsen Cc: 48577@debbugs.gnu.org Received: via spool by 48577-submit@debbugs.gnu.org id=B48577.16219277394354 (code B ref 48577); Tue, 25 May 2021 07:29:01 +0000 Received: (at 48577) by debbugs.gnu.org; 25 May 2021 07:28:59 +0000 Received: from localhost ([127.0.0.1]:44558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llRUp-00018A-4Q for submit@debbugs.gnu.org; Tue, 25 May 2021 03:28:59 -0400 Received: from ns.lapseofthought.com ([50.0.39.240]:43697 helo=mail.lapseofthought.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llRUn-000182-2v for 48577@debbugs.gnu.org; Tue, 25 May 2021 03:28:57 -0400 Received: from awb-mbp.local (unknown [IPv6:2601:646:4200:b470:a56c:3d6f:a7cc:28e9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lapseofthought.com (Postfix) with ESMTPSA id 4Fq5Kz1hNbz3pdpr; Tue, 25 May 2021 00:28:55 -0700 (PDT) From: Alex Bochannek References: <87bl8z8nl5.fsf@gnus.org> <87wnrn78sv.fsf@gnus.org> Date: Tue, 25 May 2021 00:28:53 -0700 In-Reply-To: <87wnrn78sv.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 25 May 2021 06:10:24 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain Authentication-Results: ORIGINATING; auth=pass smtp.auth=alex smtp.mailfrom=alex@bochannek.com X-Spam-Score: -0.0 (/) 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: > >> Have you been through the copyright assignment process? > > Never mind -- I see that you've already been asked this in a different > bug report (and the answer is "not yet"). I submitted the signed paperwork today. In the past I had done some work when my employer at the time already had an agreement in place. -- Alex. From unknown Sun Jun 15 08:47:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48577: 28.0.50; [PATCH] Lexical binding bug in nnimap-process-expiry-targets Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 25 May 2021 19:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48577 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: patch To: Alex Bochannek Cc: 48577@debbugs.gnu.org Received: via spool by 48577-submit@debbugs.gnu.org id=B48577.162197028713206 (code B ref 48577); Tue, 25 May 2021 19:19:02 +0000 Received: (at 48577) by debbugs.gnu.org; 25 May 2021 19:18:07 +0000 Received: from localhost ([127.0.0.1]:46841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llcZ5-0003Qw-FY for submit@debbugs.gnu.org; Tue, 25 May 2021 15:18:07 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llcYy-0003Q7-PL for 48577@debbugs.gnu.org; Tue, 25 May 2021 15:18:05 -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=CoDPX7yQsaeHkOyy5t4dSruG2TuVIzTYzpLXgnw8/+M=; b=mQba/sS4cXIZlZrHilO15FY32N CbBQoi+2I7r+OmE8iCo49d9IS6JkC2W0VN/aCTR5QnMcMrbbiFm7t56rzPLypWVfp687FbvrGrCFB LutzAHuQV7Rbs11FNrh5KdQQYq053i1PDioVj6+lgbLVU8jmFPmZkuUvLI/Z6+WGNjE8=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1llcYq-000475-L4; Tue, 25 May 2021 21:17:54 +0200 From: Lars Ingebrigtsen References: <87bl8z8nl5.fsf@gnus.org> <87wnrn78sv.fsf@gnus.org> X-Now-Playing: Satomimagae's _awa_: "Inu" Date: Tue, 25 May 2021 21:17:52 +0200 In-Reply-To: (Alex Bochannek's message of "Tue, 25 May 2021 00:28:53 -0700") Message-ID: <87a6oipqqn.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: Alex Bochannek writes: > I submitted the signed paperwork today. In the past I had done some work > when my employer at the time already had an agreement in place. Ah; right -- I had forgotten about that. 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-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 (-) Alex Bochannek writes: > I submitted the signed paperwork today. In the past I had done some work > when my employer at the time already had an agreement in place. Ah; right -- I had forgotten about that. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 15 08:47:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48577: 28.0.50; [PATCH] Lexical binding bug in nnimap-process-expiry-targets Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 27 May 2021 23:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48577 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: patch To: Alex Bochannek Cc: 48577@debbugs.gnu.org Received: via spool by 48577-submit@debbugs.gnu.org id=B48577.162215770732362 (code B ref 48577); Thu, 27 May 2021 23:22:01 +0000 Received: (at 48577) by debbugs.gnu.org; 27 May 2021 23:21:47 +0000 Received: from localhost ([127.0.0.1]:53029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmPJy-0008Pp-TW for submit@debbugs.gnu.org; Thu, 27 May 2021 19:21:47 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmPJu-0008PX-Eo for 48577@debbugs.gnu.org; Thu, 27 May 2021 19:21:45 -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=MXrROETKrU1JXbAo27salEKaKhCVHv+lL9+dBtFWAJA=; b=Z7igkxYD19IudV4bERglgaE9Af Zwzrudq4PU3YQeh28Npu8OiaMxf0+C3qw6PoNb6R3MZ9kn7BvmsNdqnbbK5ciODMzOU5thdOIU/bD cj/0WoUOsT8zBHStlhmo0VzU9kmve7+EktEIne3h3WHotxb3FHoywhr+HcoEtlrmtm54=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmPJl-0001jr-Bq; Fri, 28 May 2021 01:21:35 +0200 From: Lars Ingebrigtsen References: X-Now-Playing: The Residents's _The King & Eye: RMX_: "A Fool such as I" Date: Fri, 28 May 2021 01:21:32 +0200 In-Reply-To: (Alex Bochannek's message of "Fri, 21 May 2021 16:43:02 -0700") Message-ID: <87o8cv4vb7.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: Alex Bochannek writes: > This was introduced with use of lexical-binding in Gnus and the > difference between set and setq. > > The below patch fixes the problem. Thanks; pushed to Emacs 28 now. 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-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 (-) Alex Bochannek writes: > This was introduced with use of lexical-binding in Gnus and the > difference between set and setq. > > The below patch fixes the problem. Thanks; pushed to Emacs 28 now. I also grepped through the Emacs tree to see whether there were any other instances of (set (if ...)), but this seemed to be the only instance. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu May 27 19:21:52 2021 Received: (at control) by debbugs.gnu.org; 27 May 2021 23:21:52 +0000 Received: from localhost ([127.0.0.1]:53031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmPK4-0008Q6-4m for submit@debbugs.gnu.org; Thu, 27 May 2021 19:21:52 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmPJy-0008Pd-NA for control@debbugs.gnu.org; Thu, 27 May 2021 19:21:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zZatxIDgi914IVejyRl73bWYDJrqPbTL2Bm38J0sTO8=; b=eJH+oHXGj9H6ci0sfRuAQsoLUG JmWTdTq1+edl1s25ao3CBBEEydn1aM4bpURWWSQ5bQKavXD8qk3BUUt3gu1mCShnMFB2yTapWvLkE /Y0OeqZqTXAL05nwCRotZ3sszer2dqmFQsIoKOnntSGR0Xn+6MX/BrWG7q8aCW3RewvU=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmPJr-0001jz-A2 for control@debbugs.gnu.org; Fri, 28 May 2021 01:21:41 +0200 Date: Fri, 28 May 2021 01:21:38 +0200 Message-Id: <87mtsf4vb1.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48577 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: tags 48577 fixed close 48577 28.1 quit 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: control 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 (-) tags 48577 fixed close 48577 28.1 quit From unknown Sun Jun 15 08:47:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48577: 28.0.50; [PATCH] Lexical binding bug in nnimap-process-expiry-targets Resent-From: Alex Bochannek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 28 May 2021 02:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48577 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: fixed patch To: Lars Ingebrigtsen Cc: 48577@debbugs.gnu.org Received: via spool by 48577-submit@debbugs.gnu.org id=B48577.162216749311102 (code B ref 48577); Fri, 28 May 2021 02:05:02 +0000 Received: (at 48577) by debbugs.gnu.org; 28 May 2021 02:04:53 +0000 Received: from localhost ([127.0.0.1]:53296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmRrp-0002t0-Ie for submit@debbugs.gnu.org; Thu, 27 May 2021 22:04:53 -0400 Received: from ns.lapseofthought.com ([50.0.39.240]:50782 helo=mail.lapseofthought.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmRrn-0002ss-Uh for 48577@debbugs.gnu.org; Thu, 27 May 2021 22:04:52 -0400 Received: from awb-mbp.local (unknown [IPv6:2601:646:4200:b470:64e0:3164:e44d:fad9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lapseofthought.com (Postfix) with ESMTPSA id 4Frp0f3bdDz3pdpX; Thu, 27 May 2021 19:04:50 -0700 (PDT) From: Alex Bochannek References: <87o8cv4vb7.fsf@gnus.org> Date: Thu, 27 May 2021 19:04:50 -0700 In-Reply-To: <87o8cv4vb7.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 28 May 2021 01:21:32 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain Authentication-Results: ORIGINATING; auth=pass smtp.auth=alex smtp.mailfrom=alex@bochannek.com X-Spam-Score: -0.0 (/) 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: > Alex Bochannek writes: > >> This was introduced with use of lexical-binding in Gnus and the >> difference between set and setq. >> >> The below patch fixes the problem. > > Thanks; pushed to Emacs 28 now. > > I also grepped through the Emacs tree to see whether there were any > other instances of (set (if ...)), but this seemed to be the only > instance. Thank you. -- Alex.