From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id YMwVJ+EoWGaFPAAAA41jLg (envelope-from ) for ; Thu, 30 May 2024 09:21:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id aLblI+EoWGaUWgAA62LTzQ (envelope-from ) for ; Thu, 30 May 2024 09:21:05 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=r5Wiq3Tc; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=umich.edu ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717053665; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=6+JRaJMbrEWDAp8UXjHOd5MP8OO7qqSlmcz0wcHcjNI=; b=qyTozQSn83iynsYJO2YPJQUNqiekEylx/l/0RBiXfdlkZ+XLC8Ef/zAfpBIZ7P/HULd+js g0+wQJ1uNV/lLC+QNvq7vu4WCpAvT6ROkNHN2//g2fGnXQMtuoVjJsAjfrM6xeq0SnqOe5 LnipwMK8j3yGZ1zVsTFigxsIHYqTyWDwdAz97cSZX8W3tsgDwkZQksdLEelqwUfFcigzZZ pIH+khfB52T45w3XzkMmn16Dbipb/5pVoFBTmoxyGGjH9mjz9R+k6NF1ciIERoukDiMzhB cN30UR7GmvespDld+KFiQ2Lhdm8Y8jRKomP1C3CRWf0e02iKIjPBK9PDqCXnAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=r5Wiq3Tc; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=umich.edu ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717053665; a=rsa-sha256; cv=none; b=rfJG56WilELiOKXl4olUs5sIE0SMG9moa8ANvGITSAou0SWWGfMvlK1UgTlpLzWD7kAhkO G2pgb+AGRquDYISh7Nq+Tgl3vgGKy5elRV40mt960pDeTpI7MMA29uLlBsCibUAy1gM0rn pdxzJoXzaYfD/D/R01ZhtdpXbPNj/1doWghRSCD4XZI9YlB5c+NPTNEj7lM7NrZN5tY3fe xYQEB8SRdop/R9o/4IRP8G4VhXBQYrtl+yPZ4f4jy4T6ywHao0RXtEr9M/7XvY9uA9mqFT IKt/vvPNZ40Gw6l/sGA1VVPcTCdQwvzDedq6U1gRXd0s/3HMkOe5c+MgMfOfoA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 93BB812A0F for ; Thu, 30 May 2024 09:21:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCa4R-0006Th-1A; Thu, 30 May 2024 03:19:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sCa4M-0006Rk-SQ for emacs-orgmode@gnu.org; Thu, 30 May 2024 03:19:28 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([18.219.209.13] helo=godly-modron.relay-egress.a.mail.umich.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1sCa4J-0005pY-92 for emacs-orgmode@gnu.org; Thu, 30 May 2024 03:19:25 -0400 Received: from amusing-kelpie.authn-relay.a.mail.umich.edu (ip-10-0-74-230.us-east-2.compute.internal [10.0.74.230]) by godly-modron.relay-egress.a.mail.umich.edu with ESMTPS id 66582873.15339919.56064CA8.17445; Thu, 30 May 2024 03:19:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1717053554; bh=6+JRaJMbrEWDAp8UXjHOd5MP8OO7qqSlmcz0wcHcjNI=; h=To:cc:From:Subject:In-reply-to:References:Date; b=r5Wiq3TcJFZlfC1Z4MH3O9YZfv684teVu0VeVsSjv0Ybx77L5IXe9GRMEm7/viy3+ o8NNXwfdaU2301TqivK2WljFltTNYKg9Zca5kOiIG7DFM6WqVcLWHOb+IhBTyLn1mO 6lO+xGWnKrfrgnNmadFjxBcCjVkGRfYvbJcFgL6wwolDDvwee+DKDGrdZOr6ZxUBlp RXKS/GMZCCthw4uLSXW5/fHw4DRKg9HXB0pHB4x5b+F7IV9y0Rfm2IVPrAm8Cl4Ubn WxZeSy1gfluaECZnUpOtCORHP5R+qFPa/I/P8ZR7GN5cg2IPw468wGU0NAgRolX9oL E9gg/Lvy361MA== Received: from localhost (Mismatch [85.108.141.121]) by amusing-kelpie.authn-relay.a.mail.umich.edu with ESMTPSA id 66582871.334B79D5.22A6CAFB.86062; Thu, 30 May 2024 03:19:14 -0400 To: Ihor Radchenko cc: emacs-orgmode@gnu.org From: Greg Minshall Subject: Re: [BUG] cache file conflict? [9.7-pre (release_9.6.29-1441-gaa71fa @ /home/minshall/.emacs.d/straight/build/org/)] In-reply-to: <87a5kii3th.fsf@localhost> References: <574109.1715751441@archlinux> <871q60ad4h.fsf@localhost> <644082.1716088344@archlinux> <87o7923u67.fsf@localhost> <699479.1716350971@archlinux> <87a5kii3th.fsf@localhost> Comments: In-reply-to Ihor Radchenko message dated "Wed, 22 May 2024 09:38:50 +0000." X-Mailer: MH-E 8.6+git; nmh 1.8; Emacs 30.0.50 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <131444.1717053549.1@archlinux> Content-Transfer-Encoding: quoted-printable Date: Thu, 30 May 2024 10:19:09 +0300 Message-ID: <131445.1717053549@archlinux> Received-SPF: pass client-ip=18.219.209.13; envelope-from=minshall@umich.edu; helo=godly-modron.relay-egress.a.mail.umich.edu 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -11.56 X-Spam-Score: -11.56 X-Migadu-Queue-Id: 93BB812A0F X-Migadu-Scanner: mx13.migadu.com X-TUID: c8gto7KdhU37 Ihor, > May you try the attached alternative patch? it's been a week that i've been running this patch without seeing the error messages (that used to come up once or more per day). so, it would seem to have corrected the issue. thanks again for looking at this. cheers, Greg > From 793f7df996b3aade65a66d936e4bd761af154b26 Mon Sep 17 00:00:00 2001 > Message-ID: <793f7df996b3aade65a66d936e4bd761af154b26.1716370593.git.yan= tar92@posteo.net> > From: Ihor Radchenko > Date: Fri, 17 May 2024 14:28:48 +0300 > Subject: [PATCH v2] lisp/org-persist.el: Ignore lock files when writing = cache > = > * lisp/org-persist.el (org-persist--write-elisp-file): Ignore locks. > = > Reported-by: Greg Minshall > Link: https://orgmode.org/list/574109.1715751441@archlinux > --- > lisp/org-persist.el | 15 +++++++++------ > 1 file changed, 9 insertions(+), 6 deletions(-) > = > diff --git a/lisp/org-persist.el b/lisp/org-persist.el > index 0df345536..8a7461649 100644 > --- a/lisp/org-persist.el > +++ b/lisp/org-persist.el > @@ -476,12 +476,15 @@ (defun org-persist--write-elisp-file (file data &o= ptional no-circular pp) > (start-time (float-time))) > (unless (file-exists-p (file-name-directory file)) > (make-directory (file-name-directory file) t)) > - (with-temp-file file > - (insert ";; -*- mode: lisp-data; -*-\n") > - (if pp > - (let ((pp-use-max-width nil)) ; Emacs bug#58687 > - (pp data (current-buffer))) > - (prin1 data (current-buffer)))) > + ;; Force writing even when the file happens to be opened by > + ;; another Emacs process. > + (cl-letf (((symbol-function #'ask-user-about-lock) #'always)) > + (with-temp-file file > + (insert ";; -*- mode: lisp-data; -*-\n") > + (if pp > + (let ((pp-use-max-width nil)) ; Emacs bug#58687 > + (pp data (current-buffer))) > + (prin1 data (current-buffer))))) > (org-persist--display-time > (- (float-time) start-time) > "Writing to %S" file))) > -- = > 2.45.1