From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uID1CJdkqWauNwEA62LTzQ:P1 (envelope-from ) for ; Tue, 30 Jul 2024 22:09:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uID1CJdkqWauNwEA62LTzQ (envelope-from ) for ; Wed, 31 Jul 2024 00:09: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=rZZPaEtp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=christianmoe.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722377367; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=nh30h7v0A14AExaH4ApSMMqUngR9KdHs++05UMz9kAg=; b=BVUmE+fhgX+lskyLAw+IwNGKl19xehl6URuilfZsI40qr/BE3u08P8qaFdh1a4zZK6vYUn B0FGixPM8dPcgDPmSiXmhr0uqkI6rp4B5sxhze53an88vOWFOcJLmNbMOnEu6geLqn/87a Kn3C2hR3oSGB92Sx3XeG+akiZMjeVsKjodLoncCgkjcfrivGpXpgS95MJ5seGL2G+E03i/ gQINzLuE9WrrJmmMGRN5PI9ciDAoFg/M5NOHqmSQgrOgtprj0hMW3oocIDhmLViZxileup yn/8MpM2TF8V4K3gsrRulHtdjg2Y+MmHhB5aHL6DnIMtHxjQLpuNzONvyRrm5A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722377367; a=rsa-sha256; cv=none; b=ZWrk6adeNoHNpDPpmN5pAir61UASRl6FWFHBQHtrjzXjdN8LMuSv4UIFnnXuBtpuq9lSW2 nF7L/silgdnDgc6E0Q56bdFkwragNiV3O0AGwYUk6dATaJtqznN8Zbmf9roDJy+0Rvsnxc P2OjIgc2OIsFCeGJgTIKz1PHOfUnF0/LqT+t1Pchvg6SzITypuP1gRzzPy0THmfdpP7j9X DHZi5c6IQEGKV49YxTYSuCrhPAoL9viuJvgJo7dhcOenVyFibsvsSN7v72L9vFQP6pFnhQ PIbk1+Q8+kjTf1co8q/I1XNPFZpnqaUQovRtxUBKA+MLOhF4bNJu1To0g3FaPA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=christianmoe.com header.s=x header.b=rZZPaEtp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=christianmoe.com (policy=none); 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" 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 0CFF66766B for ; Wed, 31 Jul 2024 00:09:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYv0z-0000pu-BQ; Tue, 30 Jul 2024 18:08:17 -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 1sYv0y-0000pj-EU for emacs-orgmode@gnu.org; Tue, 30 Jul 2024 18:08:16 -0400 Received: from mailer-211-160.hitrost.net ([91.185.211.160]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sYv0w-0004vV-An for emacs-orgmode@gnu.org; Tue, 30 Jul 2024 18:08:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=christianmoe.com; s=x; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc: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=nh30h7v0A14AExaH4ApSMMqUngR9KdHs++05UMz9kAg=; b=rZZPaEtpMFgZvmEl2zdaH1HpsO zBaQkVMEt78Hk3+25KZmwwNNOFB7dTfdCoErc4rZYTJPTOBZLAgkSlZxzc+rAYdNeclqxlp1tjT55 kOn9nbuO3Z7WJHs9oruaitf0w2ViDh6rfhFTfKzcF76TR+4Mk7WXWVK9qQBtmwvPan2LGTXzSzI1y IoCXdZ8Dk5yvJCL22SUZfM59SrcfDVsYAr9LqCDk8yBRIFVqfE9QyGW57x0HUlYWdukFoJJx5wCzk WRAUwKM0oxC8NZfZfurYnD6Gp+2sYOyQhBTYSgMYYNHz+MUnXedQkVo3tcCnXcBU06CwIRzIwSp9A qSyMGrcA==; 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 1sYv0q-00000006O23-3TE2; Wed, 31 Jul 2024 00:08:08 +0200 User-agent: mu4e 1.2.0; emacs 27.2 From: Christian Moe To: emacs-orgmode@gnu.org Subject: [BUG] Org-persist Date: Tue, 30 Jul 2024 23:07:59 +0100 Message-ID: <87a5hyh6tc.fsf@christianmoe.com> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-GeoIP: Country [IP], GB [176.35.251.81] X-Authenticated-Id: mail@christianmoe.com Received-SPF: pass client-ip=91.185.211.160; envelope-from=mail@christianmoe.com; helo=mailer-211-160.hitrost.net X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, PP_MIME_FAKE_ASCII_TEXT=0.259, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 0CFF66766B X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.82 X-Spam-Score: -4.82 X-TUID: 6DJ6xb2Q1+L2 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? -- A few extra notes: Weirdly, after closing all buffers except for *scratch*, I keep getting the same error when I try to exit Emacs, so I cannot exit. I can open Org files with emacs -Q. I don't know how the corruption happened. I have had some irregular shutdowns, etc., but this appears to have happened in the middle of an otherwise normal Emacs session. Yours, Christian