From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MDkEAVvcqWZ4UQEAqHPOHw:P1 (envelope-from ) for ; Wed, 31 Jul 2024 06:40:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MDkEAVvcqWZ4UQEAqHPOHw (envelope-from ) for ; Wed, 31 Jul 2024 08:40:27 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=christianmoe.com header.s=x header.b=3MUERUqO; 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=fail reason="SPF not aligned (relaxed)" header.from=christianmoe.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722408026; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=I2bFW5sjgaFKPtZ8TQxmZtt7zKDfSBxhFBbQDH/RM8Y=; b=hAIhYmkjFfVKL6CYDlEBSbNBhrP4e58QWIdywL34tNyawZCtLFHE9MY2HPbzLZpQd1srdE frUdA+j3nWtps1w1OuNziP/HayKKhmudZG47pPF+F8JEbMRGYn6C+pPJyj0BG3dWwUtGA4 vLiD/QcJ7FxHHVNklcf9lqaYieugWJMCZt1ZFwrndiw2yMGL3LLzteMXSYG8OAGUl+B9kI 18v3+GX0lWey4dFaOhY0g86IOmiH0CBNcB6Tb/tkfhIYcfQtOXWYvDXCQEWUbXZbexSrNU OyNXWsbgHgpjv7yS/fh6kNFqb/I0ealDLdgblGjn/M+8GRTD8PwA7NihsLrxXg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=christianmoe.com header.s=x header.b=3MUERUqO; 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=fail reason="SPF not aligned (relaxed)" header.from=christianmoe.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722408026; a=rsa-sha256; cv=none; b=d5Q9P5JPjnr6BuNfddeIua37J4LtMHHH3NboIELUhPuEwndiov8K5uSwau7HAG+i/DnZwx BhSodF1DTg3S+b1yF3uIS0L2v6+40q5yX2Bl0YmdQu+SxmbjDFkEsyDzCj/kI0Y8MGGgDi z+nXzhYLUzJIow6ogiJwRlUFO2IZoKLdITHg801R2n8IuDTZBi89sSoshtweCmFjBjBeIK 7oQIAelnwidBWcn56q6pbmrKtTpcT9R1w41tPY6MvK96/k5lZ45Bf16S6Ll04V4I1Qt6+U oor22zQOenlHMoDDXpTJ1OYvKWA+IjuZKqXR/NQ4+5/DYIw0Oes3sLqMacya/g== 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 1351056A76 for ; Wed, 31 Jul 2024 08:40:26 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZ2zn-0008C3-Np; Wed, 31 Jul 2024 02:39:35 -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 1sZ2zm-0008Bf-Fg for emacs-orgmode@gnu.org; Wed, 31 Jul 2024 02:39:34 -0400 Received: from mailer-211-161.hitrost.net ([91.185.211.161]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZ2zj-00071c-Qj for emacs-orgmode@gnu.org; Wed, 31 Jul 2024 02:39:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=christianmoe.com; s=x; h=Content-Type:MIME-Version:Message-ID:Date: In-reply-to:Subject:To:From:References:Sender:Reply-To:Cc: 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=I2bFW5sjgaFKPtZ8TQxmZtt7zKDfSBxhFBbQDH/RM8Y=; b=3MUERUqOCn0iq3pjF70OKuxRii rztiZGle66hGJYbu6yGgPONgpQ0i/hytgTvY7pkIWRY8/TVEMEzSWJeXUcwj3f+wgjSZL49LizSLs wFvatfXfhNZQLGnbmIrS2W77kK7SxvAGopft64DL/LYyY/hf/ExnMEbme8G6lLGCA0NAIOf1f62ZA DrSMlFB9UatkmwQkVPUJGFHVRc1K5IRwNVTZMwMy6Iem8QJ7LRu8FtHrk9uILlfifx+A1ToRt+DHh 17wVjNBZcj0oaMb/7DlitNLbQyucrIXxrRETqVs/VOJ08C8ag2irCv4+DH2F949utAqCUgL/IGAUW CY2fQPaQ==; Received: from [176.35.251.81] (helo=Tauriel) by b1.hitrost.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1sZ2zf-0000000GoSj-3Yqt; Wed, 31 Jul 2024 08:39:27 +0200 References: <87a5hyh6tc.fsf@christianmoe.com> User-agent: mu4e 1.2.0; emacs 27.2 From: Christian Moe To: emacs-orgmode@gnu.org Subject: Re: [BUG] Org-persist In-reply-to: <87a5hyh6tc.fsf@christianmoe.com> Date: Wed, 31 Jul 2024 07:39:26 +0100 Message-ID: <87wml2qd41.fsf@christianmoe.com> MIME-Version: 1.0 Content-Type: text/plain X-GeoIP: Country [IP], GB [176.35.251.81] X-Authenticated-Id: mail@christianmoe.com Received-SPF: pass client-ip=91.185.211.161; envelope-from=mail@christianmoe.com; helo=mailer-211-161.hitrost.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 1351056A76 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.33 X-Spam-Score: -5.33 X-TUID: p8nhae4Hw+v9 Fixed: I killed emacs, deleted ~/.cache/org-persist/, and things look OK after restart. Sorry, obvious solution, but I wasn't thinking straight last night. I do have a backup of the org-persist directory if there's anything to be learned from it about how this happened (but I'm traveling, and don't have much time for forensics at the moment). Yours, Christian Christian Moe writes: > Hi, > > It seems my org-persist cache has somehow been corrupted so that opening > any Org-mode file suddenly causes this odd and severe error: > > File mode specification error: (wrong-type-argument listp > ..6C?.^c) > > Retyping the above since the characters may turn out wrong: > (wrong-type-argument listp \277\243\254\224\3236\214C?\343\222^c) > > This essentially disables Org-mode completely. Only the first few lines > are fontified, or more often none, and org functions like folding don't > work. The same if I set the buffer to text-mode and then back to > org-mode. > > What is a recommended quick fix?