all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Colin Baxter <m43cap@yandex.com>
To: Max Nikulin <manikulin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Cache must be active error
Date: Mon, 03 Jul 2023 08:03:23 +0100	[thread overview]
Message-ID: <87edlptr2c.fsf@yandex.com> (raw)
In-Reply-To: <u7te2k$l55$1@ciao.gmane.io> (Max Nikulin's message of "Mon, 3 Jul 2023 10:08:02 +0700")

>>>>> Max Nikulin <manikulin@gmail.com> writes:

    > On 03/07/2023 00:44, Colin Baxter wrote:
    >>>>>>> Ihor Radchenko writes:
    >> > Just for context, the new version `org-element-cache-map' uses
    >> a > new macro `org-element-with-enabled-cache' that temporarily >
    >> enabled cache for the duration of `org-element-cache-map'.

    >> I add org-mode (from git) early to the load-path in order to
    >> compile new org-mode versions on the fly without closes emacs.

    > You may try to add

    > (message "org? %S" (featurep 'org))

Thanks for this tip. It reports `nil'.


    > before the line adding Org to load path. Check the *Messages*
    > buffer that it reports "nil" to ensure that Org is not loaded
    > through some dependencies.

    > When pulled commits includes changes related to macros, .elc files
    > affected by macro expansions must be removed before
    > compilation. *Incremental* builds may result in inconsistent
    > code. Emacs developers prefer fast, but sometimes incorrect builds
    > and they are rather skeptical in relation to proper support of
    > incremental builds.

    > Without removing *.elc files functions like
    > `byte-recompile-directory' and `batch-byte-compile' may produce
    > files that uses old macro versions.

I've tried removing the .elc files but that doesn't seem to be the
issue.

1. Forcing emacs (emacs-30.50.0) to use only its built-in org-mode then
I see no error

2. If I remove all the org files from my emacs-30.50.0 and thereby force
emacs to use only org-mode from git then I see the error.

3. I suspect some other org-mode library I use is causing the
problem. So far, I've not found the culprit, even though it is only "m"
- search for TAGS/PROPS/KEYWORDS - that gives the error.

Thank you for your help.

Colin Baxter.


  reply	other threads:[~2023-07-03  7:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-02 16:13 Cache must be active error Colin Baxter
2023-07-02 16:25 ` Ihor Radchenko
2023-07-02 17:21   ` Colin Baxter
2023-07-02 17:29     ` Ihor Radchenko
2023-07-02 17:44       ` Colin Baxter
2023-07-03  3:08         ` Max Nikulin
2023-07-03  7:03           ` Colin Baxter [this message]
2023-07-03  7:30             ` Max Nikulin
2023-07-03 12:23               ` Colin Baxter
2023-07-03 12:32                 ` Ihor Radchenko
2023-07-03 14:18                   ` Colin Baxter

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=87edlptr2c.fsf@yandex.com \
    --to=m43cap@yandex.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.