From unknown Tue Aug 19 10:02:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50450: 28.0.50; nnmaildir cannot find article file Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 07 Sep 2021 08:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50450 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: 50450@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16310029635697 (code B ref -1); Tue, 07 Sep 2021 08:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Sep 2021 08:22:43 +0000 Received: from localhost ([127.0.0.1]:55392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNWNO-0001Tm-LJ for submit@debbugs.gnu.org; Tue, 07 Sep 2021 04:22:43 -0400 Received: from lists.gnu.org ([209.51.188.17]:38924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNWNN-0001Tf-AU for submit@debbugs.gnu.org; Tue, 07 Sep 2021 04:22:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNWNN-0003l2-08 for bug-gnu-emacs@gnu.org; Tue, 07 Sep 2021 04:22:41 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNWNJ-00045K-Gn for bug-gnu-emacs@gnu.org; Tue, 07 Sep 2021 04:22:40 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id B2271240027 for ; Tue, 7 Sep 2021 10:22:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631002954; bh=+/0SLz3F6XuItZK5fWyuU/5OeKS1XErVeLUaaxkDAJQ=; h=From:To:Subject:Autocrypt:Date:From; b=N8Pf8Q5BmdAxt/ZLg22KfgTNKGW28tNb1L0MvULsC6csw/mJoE3V+AVG7ePI1nbU8 JLF0tNSC7Nyu4txNoUXP90EuqWk9I+T00TnBLSL22hRZHJWAguHf/3vONKQKhUBmT1 lqSFNupCFUQflJEvCCHRhHaMl8EDtM71M/snmmjpCm0YFzDxtjrNnTdRqnCav/VCQY zVFKAE5FLD6F7Y2eYyeoETGgiIoYhriBoJPvNWSaW0BV/Q4HFgPdPeJeYzqwe9aisU jWi1KYJn/Etg3aXikGJ0T4kL2ypgEsnBYFbCsF3OXZCrmNt1fsZZnvL0pCTGtMcC8u jhfn/hVi2r6fw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H3dYQ0cJ4z6tmm for ; Tue, 7 Sep 2021 10:22:33 +0200 (CEST) From: Philip Kaludercic Autocrypt: addr=philipk@posteo.net; prefer-encrypt=mutual; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB Date: Tue, 07 Sep 2021 08:22:31 +0000 Message-ID: <87wnns7q2g.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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 (--) >From time to time I get error messages like nnmaildir--article-set-flags: Couldn=E2=80=99t find article file /home/phil= ip/Mail/Pers/Sent/cur/1631002186.M670797P704685Q0.icterid:2,S when trying to send a message. From what I understand, the issue is that my IMAP mail client isync (https://isync.sourceforge.io/) changes the file name while I am writing, and changes=20 /home/philip/Mail/Pers/Sent/cur/1631002186.M670797P704685Q0.icterid:2,S to /home/philip/Mail/Pers/Sent/cur/1631002186.M670797P704685Q0.icterid,U=3D711= :2,S where the U=3D... is apparently a maildir attribute indicating a UID (I cannot find any good documentation on this). As a result, an error is thrown right after the message is sent, and the buffer is not cleaned up. Instead I see the generated flags, and have to manually delete the buffer. In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo versio= n 1.16.0, Xaw scroll bars) of 2021-09-06 built on icterid Repository revision: d4ea153d8feecb55c2d9b1779574d0bb5417d120 Repository branch: feature/rcirc-update Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure LDFLAGS=3D-flto 'CFLAGS=3D-O2 -march=3Dnative -mtune=3Dnative -= pipe' --with-native-compilation PKG_CONFIG_PATH=3D' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM LUCID ZLIB Important settings: value of $EMACSLOADPATH:=20 value of $LC_ALL: C value of $LANG: en_US.UTF-8 locale-coding-system: nil Major mode: ELisp/l Minor modes in effect: global-git-commit-mode: t magit-auto-revert-mode: t auto-revert-mode: t shell-dirtrack-mode: t bug-reference-prog-mode: t paredit-mode: t company-mode: t flymake-mode: t flyspell-mode: t outline-minor-mode: t rcirc-track-minor-mode: t display-time-mode: t winner-mode: t windmove-mode: t electric-pair-mode: t recentf-mode: t save-place-mode: t savehist-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: /home/philip/.config/emacs/elpa/transient-0.3.6/transient hides /home/phili= p/Code/src/emacs/lisp/transient /home/philip/.config/emacs/elpa/xref-1.2.2/xref hides /home/philip/Code/src= /emacs/lisp/progmodes/xref /home/philip/.config/emacs/elpa/project-0.6.1/project hides /home/philip/Co= de/src/emacs/lisp/progmodes/project ~/.config/emacs/site-lisp/autoload hides /home/philip/Code/src/emacs/lisp/e= macs-lisp/autoload Features: (shadow emacsbug ffap rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap sgml-mode facemenu nxml-util nxml-enc xmltok make-mode dictionary dictionary-connection mailalias bbdb-pgp shell-command+ tar-mode arc-mode archive-mode finder-inf reposition ibuf-ext ibuffer ibuffer-loaddefs flymake-cc macrostep-c cmacexp macrostep cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs debug vc-fossil vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs edebug backtrace modus-vivendi-theme nndoc url-http url-gw url-cache url-auth eieio-opt speedbar ezimage dframe shortdoc help-at-pt sort smiley gnus-cite flow-fill mm-archive gnus-bcklg qp gnus-async gnus-ml git-rebase magit-extras goto-addr mule-util face-remap magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff git-commit magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor log-edit add-log term ehelp eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util shell pcomplete server magit-mode transient format-spec magit-git magit-section magit-utils dash dired-aux cus-start avy bbdb-message mail-extr autocrypt-message autocrypt-gnus autocrypt nndraft nnmh nnmaildir nnfolder bbdb-gnus bbdb-mua bbdb-com crm nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-sum shr kinsoku svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win cl-print apropos pp descr-text pulse color char-fold misearch multi-isearch tabify time-stamp smerge-mode whitespace vc-git diff-mode bug-reference find-func vc-backup log-view pcvs-util vc vc-dispatcher diff disp-table gnutls network-stream puny nsm rmc epa-file epa epg epg-config paredit company-oddmuse company-keywords company-etags etags fileloop generator xref project company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-bbdb company checkdoc flymake-proc flymake thingatpt flyspell ispell noutline outline easy-mmode gnus-dired dired-x dired dired-loaddefs rcirc parse-time iso8601 time bbdb derived bbdb-site timezone sendmail gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums time-date mail-utils mm-util mail-prsvr hippie-exp winner windmove elec-pair recentf tree-widget wid-edit saveplace savehist paren modus-operandi-theme modus-themes pcase edmacro kmacro holidays hol-loaddefs cal-menu calendar cal-loaddefs cus-load setup load compile text-property-search comint ansi-color autoload lisp-mnt tex-site geiser-impl help-fns radix-tree geiser-custom geiser-base ring slime-autoloads info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source comp comp-cstr warnings rx cl-seq cl-extra help-mode eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 1011811 796046) (symbols 48 52819 374) (strings 32 253617 140796) (string-bytes 1 8134234) (vectors 16 96296) (vector-slots 8 2662425 1290279) (floats 8 903 3581) (intervals 56 34206 18940) (buffers 992 82)) --=20 Philip K. From unknown Tue Aug 19 10:02:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50450: 28.0.50; nnmaildir cannot find article file Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 07 Sep 2021 15:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50450 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Philip Kaludercic Cc: 50450@debbugs.gnu.org Received: via spool by 50450-submit@debbugs.gnu.org id=B50450.16310281172029 (code B ref 50450); Tue, 07 Sep 2021 15:22:01 +0000 Received: (at 50450) by debbugs.gnu.org; 7 Sep 2021 15:21:57 +0000 Received: from localhost ([127.0.0.1]:57370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNcv7-0000Wf-Bq for submit@debbugs.gnu.org; Tue, 07 Sep 2021 11:21:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNcv2-0000WH-KW for 50450@debbugs.gnu.org; Tue, 07 Sep 2021 11:21:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=WXqdKNhLAeJ26qqYPcF+tLNIcuZnAhGBwtU6GxrUih4=; b=JGbyCRDE1S2/fNg9Ryv9AKmvHh KS9fk2o9VQRyuU98mLfAVxAxClJKdZHpTU5nibAScy8lA2r3R9LFkWGnuS1tWv8c7pV6zDOpFWCnr uApqwxRL+6n/PXrNJLMHvK2XYJ5E+wSlbxYXCJRwjr9bCWgxSBmlMpsnFnH3JjwZJH5Y=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNcut-0007G6-LM; Tue, 07 Sep 2021 17:21:46 +0200 From: Lars Ingebrigtsen References: <87wnns7q2g.fsf@posteo.net> Date: Tue, 07 Sep 2021 17:21:43 +0200 In-Reply-To: <87wnns7q2g.fsf@posteo.net> (Philip Kaludercic's message of "Tue, 07 Sep 2021 08:22:31 +0000") Message-ID: <87ilzccsxk.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; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Philip Kaludercic writes: >From time to time I get error messages like > > nnmaildir--article-set-flags: =?UTF-8?Q?Couldn=E2=80=99t?= find article file /home/philip/Mail/Pers/Sent/cur/1631002186.M670797P704685Q0.icterid:2,S > > when trying to 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: -2.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: -3.3 (---) Philip Kaludercic writes: >>From time to time I get error messages like > > nnmaildir--article-set-flags: Couldn=E2=80=99t find article file /home/ph= ilip/Mail/Pers/Sent/cur/1631002186.M670797P704685Q0.icterid:2,S > > when trying to send a message. I don't use nnmaildir myself (and I'm not familiar with how maildir works, really). Can you propose a patch to fix this yourself? :-) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Aug 19 10:02:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50450: 28.0.50; nnmaildir cannot find article file Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 07 Sep 2021 16:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50450 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 50450@debbugs.gnu.org Received: via spool by 50450-submit@debbugs.gnu.org id=B50450.163103198125339 (code B ref 50450); Tue, 07 Sep 2021 16:27:02 +0000 Received: (at 50450) by debbugs.gnu.org; 7 Sep 2021 16:26:21 +0000 Received: from localhost ([127.0.0.1]:57492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNdvR-0006ac-4h for submit@debbugs.gnu.org; Tue, 07 Sep 2021 12:26:21 -0400 Received: from mout02.posteo.de ([185.67.36.66]:35197) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNdvA-0006Zq-Ar for 50450@debbugs.gnu.org; Tue, 07 Sep 2021 12:26:19 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id D5FFF240103 for <50450@debbugs.gnu.org>; Tue, 7 Sep 2021 18:25:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631031957; bh=yU5WIWqoUTtOUKukFeTdgnJcBUS6R0e5S6ffD+ZI9xU=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=JqEhs+1yWwuYm3EO7AiaNOUDQOAYqRGjM7WWRwgq0UrccDoSyjSznGm4U/dUmf5ie cmccU4z24M5wbYdEhleg/HUakNBhSi6vp9s+4jenqjlbPpS2QSjS1oKsrvqMc2nRGr mQAg4woh3ZFM4MI6+/HQ5VSPGaVoawGoAwiaGyB6+ffMCRzOAj/nDyypGQYT4vz/Fn h9rQQ4NqrzlyTAr+aJR1uHyv2i0Js9PxzjcO0R5KopHHMswJ3rEfyVtPsO2VzU9F/z wTNabOoUgVYB8qz5YZUO5LkF+AEVLiEIkwqrFhqcWG57CCfKihdzyaZmxVOA32o1kx a4gFVt7WXDjYg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H3rH85v5dz6tmJ; Tue, 7 Sep 2021 18:25:56 +0200 (CEST) From: Philip Kaludercic References: <87wnns7q2g.fsf@posteo.net> <87ilzccsxk.fsf@gnus.org> Autocrypt: addr=philipk@posteo.net; prefer-encrypt=mutual; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB Date: Tue, 07 Sep 2021 16:25:55 +0000 In-Reply-To: <87ilzccsxk.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 07 Sep 2021 17:21:43 +0200") Message-ID: <87lf4873os.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: -3.3 (---) Lars Ingebrigtsen writes: > Philip Kaludercic writes: > >>>From time to time I get error messages like >> >> nnmaildir--article-set-flags: Couldn=E2=80=99t find article file /home/p= hilip/Mail/Pers/Sent/cur/1631002186.M670797P704685Q0.icterid:2,S >> >> when trying to send a message. > > I don't use nnmaildir myself (and I'm not familiar with how maildir > works, really). Can you propose a patch to fix this yourself? :-) I would have, but I am not familiar with the inner workings for Gnus, and as nnmaildir--article-set-flags was not documented, I was hesitant to change how it behaves. But I'll try to see if I can fix anything. Hopefully it is ok to come back to this thread if I have questions. --=20 Philip Kaludercic From unknown Tue Aug 19 10:02:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50450: 28.0.50; nnmaildir cannot find article file Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 08 Sep 2021 07:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50450 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Philip Kaludercic Cc: 50450@debbugs.gnu.org Received: via spool by 50450-submit@debbugs.gnu.org id=B50450.163108720811701 (code B ref 50450); Wed, 08 Sep 2021 07:47:01 +0000 Received: (at 50450) by debbugs.gnu.org; 8 Sep 2021 07:46:48 +0000 Received: from localhost ([127.0.0.1]:58454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNsIB-00032S-Q8 for submit@debbugs.gnu.org; Wed, 08 Sep 2021 03:46:47 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNsI8-0002wH-W1 for 50450@debbugs.gnu.org; Wed, 08 Sep 2021 03:46:46 -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=IM/lOUfqQEZ/YFYpDNWtMOfBc9ANDonUciF/AV09YnU=; b=kx+vP7cDSJ+4UPxiJaiDgTJqeG bX2+geFwSnYRm4Kr7TyDLHXWt/Pak0cyFoqanawHumaYxvkyQc7MeFRZBTXClYFLXbqokUG+2qfo5 GsQDjecq40Ot2s00kQQkCPMVvHsnQynPens8dTvi7c+CLQpNiuBcNXLVbBsOdPG9OA0w=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNsI0-0000HV-En; Wed, 08 Sep 2021 09:46:38 +0200 From: Lars Ingebrigtsen References: <87wnns7q2g.fsf@posteo.net> <87ilzccsxk.fsf@gnus.org> <87lf4873os.fsf@posteo.net> Date: Wed, 08 Sep 2021 09:46:36 +0200 In-Reply-To: <87lf4873os.fsf@posteo.net> (Philip Kaludercic's message of "Tue, 07 Sep 2021 16:25:55 +0000") Message-ID: <87czpj5x2b.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: Philip Kaludercic writes: > But I'll try to see if I can fix anything. Great. 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: -2.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: -3.3 (---) Philip Kaludercic writes: > But I'll try to see if I can fix anything. Great. > Hopefully it is ok to come back to this thread if I have questions. Yes, of course. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Aug 19 10:02:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50450: 28.0.50; nnmaildir cannot find article file Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 15 Sep 2021 09:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50450 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 50450@debbugs.gnu.org Received: via spool by 50450-submit@debbugs.gnu.org id=B50450.16316966075409 (code B ref 50450); Wed, 15 Sep 2021 09:04:02 +0000 Received: (at 50450) by debbugs.gnu.org; 15 Sep 2021 09:03:27 +0000 Received: from localhost ([127.0.0.1]:50865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQQpD-0001PB-Fd for submit@debbugs.gnu.org; Wed, 15 Sep 2021 05:03:27 -0400 Received: from mout01.posteo.de ([185.67.36.65]:37819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQQpA-0001Op-Lv for 50450@debbugs.gnu.org; Wed, 15 Sep 2021 05:03:25 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 455FC240026 for <50450@debbugs.gnu.org>; Wed, 15 Sep 2021 11:03:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631696598; bh=3GWGWMS8TOQDuVTzjJdQU7pRhRT4PCvwkpESY66WPas=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=fICucPpZRwewEhA93t9Svp6UOjthm2lV7hpUSYHdj+0SnjKmlwWuXSBh+3DIp9gZF 44uDfsGCXMUZ9/Rj5L8A5pNPsY9dOhqnP5MGqzmjh8ecD1ur185w6UnWpkKzm/pAOL fr3bGL0nwPV08Y5bcYMGnfGaBPQKi4dOFtOVtiK8Yf/JEIJuVzdWvgRsK4QpWXbRKL GOXjOLR+xDVhL1SHc6/9UoHQBkQOFmOhI3gG6kZvDbNf4tSK06Y4Dz9wxmtIhKxv3D 3tLl20Ko5aySqI6WZEV/PDgvRyn7I40c4vX15f96JkjHRCffHHi/qdE4Dio6WUerpw uKJLMw231XRbg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H8Z4j2ccpz6tmD; Wed, 15 Sep 2021 11:03:17 +0200 (CEST) From: Philip Kaludercic References: <87wnns7q2g.fsf@posteo.net> <87ilzccsxk.fsf@gnus.org> Autocrypt: addr=philipk@posteo.net; prefer-encrypt=mutual; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB Date: Wed, 15 Sep 2021 09:03:16 +0000 In-Reply-To: <87ilzccsxk.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 07 Sep 2021 17:21:43 +0200") Message-ID: <871r5q43e3.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.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: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Lars Ingebrigtsen writes: > Philip Kaludercic writes: > >>>From time to time I get error messages like >> >> nnmaildir--article-set-flags: Couldn=E2=80=99t find article file >> /home/philip/Mail/Pers/Sent/cur/1631002186.M670797P704685Q0.icterid:2,S >> >> when trying to send a message. > > I don't use nnmaildir myself (and I'm not familiar with how maildir > works, really). Can you propose a patch to fix this yourself? :-) I found out that the issue is not the UID, but the flags. Specifically, when I open a message via Gnus, leave it open for a while, perhaps check the message on my phone or some other device, and then return to Gnus, it might have happened that the flags (included in the file-name) were updated by mbsync. This patch attempts to find a similar file, and renames that file instead of the one Gnus remembered. It seems to be working for now, but I'd wait a bit until I had more time to test it before applying it: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Handle-updates-flags-when-setting-flags.patch >From facb1848952d5c844d76844e35da708fda8307c7 Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Wed, 15 Sep 2021 10:58:50 +0200 Subject: [PATCH] Handle updates flags when setting flags * nnmaildir.el (nnmaildir--article-set-flags): Handle updated flags more gracefully --- lisp/gnus/nnmaildir.el | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/nnmaildir.el b/lisp/gnus/nnmaildir.el index 171f0813b3..690761a2d6 100644 --- a/lisp/gnus/nnmaildir.el +++ b/lisp/gnus/nnmaildir.el @@ -194,7 +194,15 @@ nnmaildir--article-set-flags (article-file (concat curdir prefix suffix)) (new-name (concat curdir prefix new-suffix))) (unless (file-exists-p article-file) - (error "Couldn't find article file %s" article-file)) + (let ((possible (file-expand-wildcards (concat curdir prefix "*")))) + (cond ((length= possible 1) + (unless (string-match-p "\\`\\(.+\\):2,.*?\\'" (car possible)) + (error "Couldn't find updated article file %s" article-file)) + (setq article-file (car possible))) + ((length> possible 1) + (error "Couldn't determine exact article file %s" article-file)) + ((null possible) + (error "Couldn't find article file %s" article-file))))) (rename-file article-file new-name 'replace) (setf (nnmaildir--art-suffix article) new-suffix))) -- 2.30.2 --=-=-= Content-Type: text/plain One possible issue is that nnmaildir--article-set-flags overwrites previous flags that might have been updated elsewhere. -- Philip Kaludercic --=-=-=-- From unknown Tue Aug 19 10:02:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50450: 28.0.50; nnmaildir cannot find article file Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 16 Sep 2021 12:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50450 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Philip Kaludercic Cc: 50450@debbugs.gnu.org Received: via spool by 50450-submit@debbugs.gnu.org id=B50450.16317942867155 (code B ref 50450); Thu, 16 Sep 2021 12:12:01 +0000 Received: (at 50450) by debbugs.gnu.org; 16 Sep 2021 12:11:26 +0000 Received: from localhost ([127.0.0.1]:54033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQqEf-0001rL-Nc for submit@debbugs.gnu.org; Thu, 16 Sep 2021 08:11:25 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQqEd-0001r2-0E for 50450@debbugs.gnu.org; Thu, 16 Sep 2021 08:11:24 -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=YlPvVq4jjsVLAviE376a+DSGsNrfRTyqMh18av+4iCQ=; b=sWlK6akyU8hrY4MaYApPan/bS6 eG6IvoT2Rc1Af6FXKWSTZ102Voe/ZFDtdE6JMrmI5dPcVCYi3W3yMFef9j/IoOJj7+4wdjNlggKHc 999pLiPhbEdNJ1zt4PBGJgxVSljaxChiRBkXa2ysE+nCFw5aaC4lUkaBAK9/VfA5Tsi8=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQqET-0001wj-Kg; Thu, 16 Sep 2021 14:11:16 +0200 From: Lars Ingebrigtsen References: <87wnns7q2g.fsf@posteo.net> <87ilzccsxk.fsf@gnus.org> <871r5q43e3.fsf@posteo.net> Date: Thu, 16 Sep 2021 14:11:11 +0200 In-Reply-To: <871r5q43e3.fsf@posteo.net> (Philip Kaludercic's message of "Wed, 15 Sep 2021 09:03:16 +0000") Message-ID: <87v930d8kg.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: Philip Kaludercic writes: > This patch attempts to find a similar file, and renames that file > instead of the one Gnus remembered. It seems to be working for now, but > I'd wait a bit until I had more time to test it before a [...] 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: -2.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: -3.3 (---) Philip Kaludercic writes: > This patch attempts to find a similar file, and renames that file > instead of the one Gnus remembered. It seems to be working for now, but > I'd wait a bit until I had more time to test it before applying it: The patch looks good to me, so go ahead and push it after testing it some more. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Aug 19 10:02:52 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Philip Kaludercic Subject: bug#50450: closed (Re: bug#50450: 28.0.50; nnmaildir cannot find article file) Message-ID: References: <87lf3n5deh.fsf@posteo.net> <87wnns7q2g.fsf@posteo.net> X-Gnu-PR-Message: they-closed 50450 X-Gnu-PR-Package: emacs,gnus Reply-To: 50450@debbugs.gnu.org Date: Thu, 23 Sep 2021 18:57:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1632423422-9070-1" This is a multi-part message in MIME format... ------------=_1632423422-9070-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #50450: 28.0.50; nnmaildir cannot find article file which was filed against the emacs,gnus package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 50450@debbugs.gnu.org. --=20 50450: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D50450 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1632423422-9070-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 50450-done) by debbugs.gnu.org; 23 Sep 2021 18:56:47 +0000 Received: from localhost ([127.0.0.1]:55883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTTtn-0002Ln-3D for submit@debbugs.gnu.org; Thu, 23 Sep 2021 14:56:47 -0400 Received: from mout01.posteo.de ([185.67.36.65]:33765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTTtl-0002LZ-57 for 50450-done@debbugs.gnu.org; Thu, 23 Sep 2021 14:56:46 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 7F4A9240026 for <50450-done@debbugs.gnu.org>; Thu, 23 Sep 2021 20:56:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632423399; bh=sRMRwJ+eGPD+k5sLiOBLqeHVFJ7Jr9tzYkidcjxt1fA=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=ZhedavDTSnCArj/Yn+YbHleU6W21ud25nxMX/ZQXs/magDawdea3xFn96jkokYbXH K2+5BOWTQeD4AoU6cxioU18MzIQgIyJkW38ZYY18p2hF/cmNJfWyY8naCi7T3wol8g ax6SQsYUq+60+7WY3W9y74fwSNhDP/uu5ahPgeM2yIiQY/XA8Lc92AtTDED6Y5P7CM w4OK8Fu/eYXt4SVsuEJ4Fko1/1hKfBVnEVwA//s7msP7HndipBGlKnpG1wKCxEsXix iFF2HG53+Ut7yEreks2Z2/Jywb0mjuPQsdOHuxaS1oIEfypmTMfi84Zvl+EBoxnhEi DsB2tSsbEp+BA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HFksf4mkVz9rxF; Thu, 23 Sep 2021 20:56:38 +0200 (CEST) From: Philip Kaludercic To: Lars Ingebrigtsen Subject: Re: bug#50450: 28.0.50; nnmaildir cannot find article file References: <87wnns7q2g.fsf@posteo.net> <87ilzccsxk.fsf@gnus.org> <871r5q43e3.fsf@posteo.net> <87v930d8kg.fsf@gnus.org> Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB Date: Thu, 23 Sep 2021 18:56:38 +0000 In-Reply-To: <87v930d8kg.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 16 Sep 2021 14:11:11 +0200") Message-ID: <87lf3n5deh.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50450-done Cc: 50450-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: -3.3 (---) Lars Ingebrigtsen writes: > Philip Kaludercic writes: > >> This patch attempts to find a similar file, and renames that file >> instead of the one Gnus remembered. It seems to be working for now, but >> I'd wait a bit until I had more time to test it before applying it: > > The patch looks good to me, so go ahead and push it after testing it > some more. I could just confirm that the patch fixes the bug. As I haven't had any issues up until now, I pushed the commit. -- Philip Kaludercic ------------=_1632423422-9070-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Sep 2021 08:22:43 +0000 Received: from localhost ([127.0.0.1]:55392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNWNO-0001Tm-LJ for submit@debbugs.gnu.org; Tue, 07 Sep 2021 04:22:43 -0400 Received: from lists.gnu.org ([209.51.188.17]:38924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNWNN-0001Tf-AU for submit@debbugs.gnu.org; Tue, 07 Sep 2021 04:22:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNWNN-0003l2-08 for bug-gnu-emacs@gnu.org; Tue, 07 Sep 2021 04:22:41 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNWNJ-00045K-Gn for bug-gnu-emacs@gnu.org; Tue, 07 Sep 2021 04:22:40 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id B2271240027 for ; Tue, 7 Sep 2021 10:22:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631002954; bh=+/0SLz3F6XuItZK5fWyuU/5OeKS1XErVeLUaaxkDAJQ=; h=From:To:Subject:Autocrypt:Date:From; b=N8Pf8Q5BmdAxt/ZLg22KfgTNKGW28tNb1L0MvULsC6csw/mJoE3V+AVG7ePI1nbU8 JLF0tNSC7Nyu4txNoUXP90EuqWk9I+T00TnBLSL22hRZHJWAguHf/3vONKQKhUBmT1 lqSFNupCFUQflJEvCCHRhHaMl8EDtM71M/snmmjpCm0YFzDxtjrNnTdRqnCav/VCQY zVFKAE5FLD6F7Y2eYyeoETGgiIoYhriBoJPvNWSaW0BV/Q4HFgPdPeJeYzqwe9aisU jWi1KYJn/Etg3aXikGJ0T4kL2ypgEsnBYFbCsF3OXZCrmNt1fsZZnvL0pCTGtMcC8u jhfn/hVi2r6fw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H3dYQ0cJ4z6tmm for ; Tue, 7 Sep 2021 10:22:33 +0200 (CEST) From: Philip Kaludercic To: bug-gnu-emacs@gnu.org Subject: 28.0.50; nnmaildir cannot find article file X-Debbugs-Package: emacs,gnus Autocrypt: addr=philipk@posteo.net; prefer-encrypt=mutual; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB Date: Tue, 07 Sep 2021 08:22:31 +0000 Message-ID: <87wnns7q2g.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.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: -2.3 (--) >From time to time I get error messages like nnmaildir--article-set-flags: Couldn=E2=80=99t find article file /home/phil= ip/Mail/Pers/Sent/cur/1631002186.M670797P704685Q0.icterid:2,S when trying to send a message. From what I understand, the issue is that my IMAP mail client isync (https://isync.sourceforge.io/) changes the file name while I am writing, and changes=20 /home/philip/Mail/Pers/Sent/cur/1631002186.M670797P704685Q0.icterid:2,S to /home/philip/Mail/Pers/Sent/cur/1631002186.M670797P704685Q0.icterid,U=3D711= :2,S where the U=3D... is apparently a maildir attribute indicating a UID (I cannot find any good documentation on this). As a result, an error is thrown right after the message is sent, and the buffer is not cleaned up. Instead I see the generated flags, and have to manually delete the buffer. In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo versio= n 1.16.0, Xaw scroll bars) of 2021-09-06 built on icterid Repository revision: d4ea153d8feecb55c2d9b1779574d0bb5417d120 Repository branch: feature/rcirc-update Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure LDFLAGS=3D-flto 'CFLAGS=3D-O2 -march=3Dnative -mtune=3Dnative -= pipe' --with-native-compilation PKG_CONFIG_PATH=3D' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM LUCID ZLIB Important settings: value of $EMACSLOADPATH:=20 value of $LC_ALL: C value of $LANG: en_US.UTF-8 locale-coding-system: nil Major mode: ELisp/l Minor modes in effect: global-git-commit-mode: t magit-auto-revert-mode: t auto-revert-mode: t shell-dirtrack-mode: t bug-reference-prog-mode: t paredit-mode: t company-mode: t flymake-mode: t flyspell-mode: t outline-minor-mode: t rcirc-track-minor-mode: t display-time-mode: t winner-mode: t windmove-mode: t electric-pair-mode: t recentf-mode: t save-place-mode: t savehist-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: /home/philip/.config/emacs/elpa/transient-0.3.6/transient hides /home/phili= p/Code/src/emacs/lisp/transient /home/philip/.config/emacs/elpa/xref-1.2.2/xref hides /home/philip/Code/src= /emacs/lisp/progmodes/xref /home/philip/.config/emacs/elpa/project-0.6.1/project hides /home/philip/Co= de/src/emacs/lisp/progmodes/project ~/.config/emacs/site-lisp/autoload hides /home/philip/Code/src/emacs/lisp/e= macs-lisp/autoload Features: (shadow emacsbug ffap rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap sgml-mode facemenu nxml-util nxml-enc xmltok make-mode dictionary dictionary-connection mailalias bbdb-pgp shell-command+ tar-mode arc-mode archive-mode finder-inf reposition ibuf-ext ibuffer ibuffer-loaddefs flymake-cc macrostep-c cmacexp macrostep cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs debug vc-fossil vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs edebug backtrace modus-vivendi-theme nndoc url-http url-gw url-cache url-auth eieio-opt speedbar ezimage dframe shortdoc help-at-pt sort smiley gnus-cite flow-fill mm-archive gnus-bcklg qp gnus-async gnus-ml git-rebase magit-extras goto-addr mule-util face-remap magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff git-commit magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor log-edit add-log term ehelp eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util shell pcomplete server magit-mode transient format-spec magit-git magit-section magit-utils dash dired-aux cus-start avy bbdb-message mail-extr autocrypt-message autocrypt-gnus autocrypt nndraft nnmh nnmaildir nnfolder bbdb-gnus bbdb-mua bbdb-com crm nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-sum shr kinsoku svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win cl-print apropos pp descr-text pulse color char-fold misearch multi-isearch tabify time-stamp smerge-mode whitespace vc-git diff-mode bug-reference find-func vc-backup log-view pcvs-util vc vc-dispatcher diff disp-table gnutls network-stream puny nsm rmc epa-file epa epg epg-config paredit company-oddmuse company-keywords company-etags etags fileloop generator xref project company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-bbdb company checkdoc flymake-proc flymake thingatpt flyspell ispell noutline outline easy-mmode gnus-dired dired-x dired dired-loaddefs rcirc parse-time iso8601 time bbdb derived bbdb-site timezone sendmail gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums time-date mail-utils mm-util mail-prsvr hippie-exp winner windmove elec-pair recentf tree-widget wid-edit saveplace savehist paren modus-operandi-theme modus-themes pcase edmacro kmacro holidays hol-loaddefs cal-menu calendar cal-loaddefs cus-load setup load compile text-property-search comint ansi-color autoload lisp-mnt tex-site geiser-impl help-fns radix-tree geiser-custom geiser-base ring slime-autoloads info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source comp comp-cstr warnings rx cl-seq cl-extra help-mode eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 1011811 796046) (symbols 48 52819 374) (strings 32 253617 140796) (string-bytes 1 8134234) (vectors 16 96296) (vector-slots 8 2662425 1290279) (floats 8 903 3581) (intervals 56 34206 18940) (buffers 992 82)) --=20 Philip K. ------------=_1632423422-9070-1--