From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#75209: 30.0.93; Emacs reader failed to read data in "/home/nlj/.cache/org-persist/gc-lock.eld" Date: Tue, 31 Dec 2024 19:02:35 +0000 Message-ID: <878qrvhe0k.fsf@localhost> References: <878qrxgg74.fsf@Phoenix> <864j2lnf1j.fsf@gnu.org> <87ldvvhhqo.fsf@localhost> <87frm3elkr.fsf@Phoenix> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6025"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 75209@debbugs.gnu.org To: "N. Jackson" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 31 20:02:18 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tShVS-0001Sh-3w for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Dec 2024 20:02:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tShVG-0002ox-HY; Tue, 31 Dec 2024 14:02:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tShVC-0002oa-VG for bug-gnu-emacs@gnu.org; Tue, 31 Dec 2024 14:02:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tShVC-0005ru-N5 for bug-gnu-emacs@gnu.org; Tue, 31 Dec 2024 14:02:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=rv4TfVqzNXA7DujjUqlzfZDfhhISoTwXFEDW64K6mxA=; b=KnE2+NUPPeGzI6X3ZaXF+jpdADcDm9REPwhewUr42LwOUeRkLKtwwBboiV3QKw92rqAJVnk5JyYaxSAU375cmbohgBjnbT3oXXD5tZhjGhAAXmmZI+6gfBfnDOtuxkV1lB9hZKEuDJOH4qZTR9S8uFucAzsJxN29278eo8+S0GGXKftDBoVaqIoLeiyQ69OM/PvlkCSA8sbsCfOJFgNAK/G21OAMUGQnBcIlDmYy9Bt+Dg1WAcffhPxQ6VycJQh8WNDelMmtKp959NoefddT3u9Xfd2K/mnojBe7AxbP6HvhCjfYwgw0DmvkNw2yZhmKdI8nFco74fbD3+6fX2X8tw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tShVC-0002t8-8v for bug-gnu-emacs@gnu.org; Tue, 31 Dec 2024 14:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Dec 2024 19:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75209 X-GNU-PR-Package: emacs Original-Received: via spool by 75209-submit@debbugs.gnu.org id=B75209.173567167411018 (code B ref 75209); Tue, 31 Dec 2024 19:02:02 +0000 Original-Received: (at 75209) by debbugs.gnu.org; 31 Dec 2024 19:01:14 +0000 Original-Received: from localhost ([127.0.0.1]:36790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tShUQ-0002rd-1Z for submit@debbugs.gnu.org; Tue, 31 Dec 2024 14:01:14 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:42989) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tShUM-0002rK-S9 for 75209@debbugs.gnu.org; Tue, 31 Dec 2024 14:01:11 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B3615240028 for <75209@debbugs.gnu.org>; Tue, 31 Dec 2024 20:01:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1735671664; bh=f9Md/bcxYZysfHFsu9T9XB6H4QkUzOhj23T09HCH79g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=IunTQ4o2UhMhjZAMAnujxQQcA8hEwQo14fN/Y9AXolqvh6BjCxMxQqBmSpyHkNwzb a0c6WmKrmD90dSy6RGpWSEwNGvLLGB6Wcbc0ECAC9i40I9xOCKdWfqrgGEeYo7Os/5 63LSrLFnFH30QprGrGjfOeq2dF3vFOpAXVmSZ9SiD7djoJVD+vW/1swo2Y4IB8VCMq F1H6qcctB6PzR1JtYFkZDKdiUSmPpqKm0Z/jYKW14otxr/oWTHcp7HEcpzU0KGDuvb syqs4rwqPgWZpoxwQko1yuc/Xk13oFCeCRjCWDBKMDph3Vm5ruBIMQEOF3O92oTvHK ckXVuJZo7tPGQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YN2PD2H9Fz6tvc; Tue, 31 Dec 2024 20:01:04 +0100 (CET) In-Reply-To: <87frm3elkr.fsf@Phoenix> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298051 Archived-At: "N. Jackson" writes: >> Or, alternatively, C-g in the middle of writing. > > I use C-g very frequently. I type `M-x' and then realise I want to > do `C-h f' first instead, so I do `C-g' to exit from the M-x prompt. > Or I do an isearch and then change my mind (or find and read > whatever I was looking for) then I do `C-g' (twice, I think) to exit > the isearch and get back to where I started. Usages like that. > From my (probably naive) point of view, if that messes up Org Mode, > then Org Mode is doing something wrong. That should not be a problem then. Reading/writing GC file is done using timer and, AFAIK, Emacs should not run timers while you are running a command. >> gc-lock.eld is a file used to flag that cache dir is being worked >> on by multiple emacs instances. GC here refers to >> garbage-collecting cache data. > > I do run multiple (two) instances of Emacs. One is my normal > session where I use Org quite heavily. The other is my Gnus session > in which I never open an Org file and never (as far as I know) use > any Org features. Gnus may load Org. (AFAIU, it does it when viewing gnus articles) Another possible scenario is two Org instances writing to the same file at the same time. If it is what is happening in your case, your problem may be similar to https://list.orgmode.org/orgmode/CAMJKaZxA_VmLdFP_u1rNiF2s0X2kVivjT31jEM_r3BYCHri1PQ@mail.gmail.com/ -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at