all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christian Moe <mail@christianmoe.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] Org-persist
Date: Tue, 30 Jul 2024 23:07:59 +0100	[thread overview]
Message-ID: <87a5hyh6tc.fsf@christianmoe.com> (raw)

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


             reply	other threads:[~2024-07-30 22:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-30 22:07 Christian Moe [this message]
2024-07-31  6:39 ` [BUG] Org-persist Christian Moe
2024-07-31  6:46   ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a5hyh6tc.fsf@christianmoe.com \
    --to=mail@christianmoe.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.