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