From: Zan Owsley <zanowsley@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug Report: Org Agenda 'custom-initialize-reset: Cache must be active'
Date: Tue, 10 Dec 2024 12:16:45 -0700 [thread overview]
Message-ID: <cde18038-e669-4d6a-a13d-1bd00d58c74b@gmail.com> (raw)
In-Reply-To: <9c94e220-19e1-4866-aa09-36c1029aa141@gmail.com>
My apologies - I realised the mistake in how I changed how I was setting
'org-agenda-files'. Continued head-banging was what I needed.
Zan
On 12/10/24 11:06 AM, Zan Owsley wrote:
> Hi,
>
>
> Emacs version: 30.0.92. I had been using org-agenda fine for a while
> with the new version, but this just started and my init.el has no
> bearing on making it continue to happen.
>
>
> This is being reproduced using 'emacs -Q' followed by evaluating
> '(setq org-agenda-files "~/sync/gtd/gtd.org")' in the scratch buffer
> to set my agenda file.
>
>
> I receive the error 'custom-initialize-reset: Cache must be active' in
> the messages buffer when calling 'org-agenda' then pressing 'M'.
>
>
> Strangely, if I try it again, this is in messages. Note that
> '/home/zan/org/' does not exist, but it is referencing tags from the
> 'gtd.org' file I set.
>
> File /home/zan/org/#+TAGS: [ @home : personal home errands casi ] is
> read-only on disk. Make buffer read-only, too? (y or n) n
>
> org-element-cache-map: Cache must be active
>
>
>
> And if I try again, this:
>
> org-element-cache-map: Cache must be active
>
>
> Here's the full 'debug-on-error' output:
>
> Debugger entered--Lisp error: (error "Cache must be active")
> error("Cache must be active")
> org-element-cache-map(#f(compiled-function (el) #<bytecode
> -0x1fabb98b0459a93c>))
> org-get-buffer-tags()
> #<subr
> F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_292>("/home/zan/org/#+TAGS:
> [ @home : personal home errands casi ]")
> org-global-tags-completion-table()
> org-make-tags-matcher(nil)
> org-tags-view((4))
> funcall-interactively(org-tags-view (4))
> call-interactively(org-tags-view)
> org-agenda(nil)
> funcall-interactively(org-agenda nil)
> command-execute(org-agenda record)
> execute-extended-command(nil "org-agenda" "org-agen")
> funcall-interactively(execute-extended-command nil "org-agenda"
> "org-agen")
> command-execute(execute-extended-command)
>
>
> Here's a folded version of the 'gtd.org' file:
>
> #+TAGS: [ @home : personal home errands casi ]
> #+TAGS: [ @away : personal errands casi ]
> #+TAGS: [ @drive : daytime errands dave ]
> #+TAGS: [ @fly : daytime personal dave ]
>
> * Typical Searches
> * Projects
> * Urgent :urgent:
> * Anytime :daytime:personal:
> * Daytime :daytime:
> * Visits
> * Prospects :prospects:
> * Personal :personal:
> * Home :home:
> * Errands :errands:
> * Casi :casi:
> * Dave :dave:
> * Name on Accounts :name_on_accounts:
> * Expense Reminders :expense:
> * Waiting :waiting:
> * Tickler :tickler:
> * Someday :someday:
> * Other Lists
>
>
> Any other info I can provide?
>
>
> Thanks!
>
>
> Zan Owsley
>
>
next prev parent reply other threads:[~2024-12-10 19:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-10 18:06 Bug Report: Org Agenda 'custom-initialize-reset: Cache must be active' Zan Owsley
2024-12-10 19:16 ` Zan Owsley [this message]
2024-12-10 19:48 ` 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=cde18038-e669-4d6a-a13d-1bd00d58c74b@gmail.com \
--to=zanowsley@gmail.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).