all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Max Nikulin <manikulin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: org-persist? error "Variable binding depth exceeds max-specpdl-size" (was: org-persist - bug report)
Date: Thu, 21 Oct 2021 20:51:15 +0800	[thread overview]
Message-ID: <87k0i6k0cc.fsf@localhost> (raw)
In-Reply-To: <skrm8e$a3i$1@ciao.gmane.io>

Max Nikulin <manikulin@gmail.com> writes:

> Ihor, I have seen your instructions for more debug info, but I have not 
> tried them yet. In the meanwhile I have tracked my problem down to to 
> the following minimal file
>
> --- >8 ---
> #+begin_example org
>    ,* H
> #+end_example
> --- 8< ---
>
> M-x org-lint
>
> Debugger entered--Lisp error: (error "Variable binding depth exceeds 
> max-specpdl-size")
> ...
> org-filename-concat

I cannot reproduce with your minimal example, but the error indicates
some issue with persistent cache. Can you:

1. Go to cache directory (~/.cache/org-persist)
2. Open "index" file and find the record for your minimal file and find
   :persist-file property. That property is relative cache file path.
3. Attach the contents of the :persist-file

Then, can you delete your cache folder and try to reproduce again?

By the way, did your Emacs crash recently?

> Another observation:
>
> C-c * on a line to make it a header causes the following warning:
>
> Warning (emacs): org-element--cache: Unregistered buffer modifications 
> detected. Resetting
>   The buffer is: example.org
>   Current command: nil

I cannot reproduce this as well. The fact that "Current command: nil" is
suspicious. Is "C-c *" bound to org-ctrl-c-star for you?

Best,
Ihor


  reply	other threads:[~2021-10-21 12:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CABtOJPz0cCEzuH5GGKxGuNKcGvfCkNvB-mRf2u+ZXwJng9prOA@mail.gmail.com>
2021-10-20 12:28 ` org-persist - bug report Ihor Radchenko
2021-10-20 14:09   ` Colin Baxter 😺
2021-10-20 14:30     ` Ihor Radchenko
2021-10-20 19:04       ` Colin Baxter 😺
2021-10-21 12:13         ` Ihor Radchenko
2021-10-21 12:25         ` Max Nikulin
2021-10-21 12:51           ` Ihor Radchenko [this message]
2021-10-21 13:52           ` Colin Baxter 😺
2021-10-21 15:11             ` Ihor Radchenko
2021-10-21 15:31               ` Ihor Radchenko
2021-10-21 16:03                 ` Ihor Radchenko
2021-10-21 16:26                   ` Colin Baxter 😺
2021-10-21 16:50                   ` Max Nikulin
2021-10-21 23:31                   ` Alastair Burt

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=87k0i6k0cc.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=manikulin@gmail.com \
    /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.