emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Moe <mail@christianmoe.com>
To: emacs-orgmode@gnu.org
Subject: Re: [BUG] Org-persist
Date: Wed, 31 Jul 2024 07:39:26 +0100	[thread overview]
Message-ID: <87wml2qd41.fsf@christianmoe.com> (raw)
In-Reply-To: <87a5hyh6tc.fsf@christianmoe.com>


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?


  reply	other threads:[~2024-07-31  6:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-30 22:07 [BUG] Org-persist Christian Moe
2024-07-31  6:39 ` Christian Moe [this message]
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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87wml2qd41.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).