> On Jan 21, 2025, at 3:06 PM, Mark Barton <mbarto...@gmail.com> wrote:
> 
> 
> 
>> On Jan 21, 2025, at 12:48 PM, Ihor Radchenko <yanta...@posteo.net> wrote:
>> 
>> May you try to run M-x debug-on-entry RET display-warning RET and
>> try triggering the warning? Then, you will see a backtrace with the full
>> information about where the warning is triggered.
>> 
>> (you can later disable the debugger via M-x cancel-debug-on-entry RET RET)
> 
> I jinxed it when I said it was easy to reproduce. Because now even if I put 
> that code back in, it does not display the warning for org-element that has 
> been happening for days. The other things that changed are the org files, but 
> the diffs look like normal marking tasks done and updating repeats. The other 
> thing I ran this morning is (native-compile-prune-cache). I would not expect 
> that to be the source.
> 
> Please close this out and I will file a new report if it happens again with 
> the debug backtrace.
> 
> Thanks,
> 
> Mark Barton


Got it to occur in org-agenda-log-mode C-c a a l

Debugger entered--entering a function:
* org-element-at-point()
  org--collect-keywords-1(("SETUPFILE" "FILETAGS" "TAGS") ("ARCHIVE" "CATEGORY" 
"COLUMNS" "PRIORITIES") nil ("/Users/bartm002/Documents/org/Work_Projects.org") 
nil)
  org-collect-keywords(("FILETAGS" "TAGS") ("ARCHIVE" "CATEGORY" "COLUMNS" 
"PRIORITIES"))
  org-set-regexps-and-options(tags-only)
  org-agenda-prepare-buffers(("/Users/bartm002/Documents/org/Work_Projects.org" 
"/Users/bartm002/Documents/org/Bookmarks.org" 
"/Users/bartm002/Documents/org/DailyPlans.org" 
"/Users/bartm002/Documents/org/Personal.org" 
"/Users/bartm002/Documents/org/Today.org" 
"/Users/bartm002/Documents/org/diary.org" 
"/Users/bartm002/Documents/org/goals.org" 
"/Users/bartm002/Documents/org/python_notes.org" 
"/Users/bartm002/Documents/org/refile.org"))
  org-agenda-prepare("Day/Week")
  org-agenda-list(nil nil week nil)
  eval((org-agenda-list 'nil nil 'week nil) t)
  #f(compiled-function () #<bytecode 0x84c7cc8def533>)()
  funcall(#f(compiled-function () #<bytecode 0x84c7cc8def533>))
  (let nil (funcall '#f(compiled-function () #<bytecode 0x84c7cc8def533>)))
  eval((let nil (funcall '#f(compiled-function () #<bytecode 
0x84c7cc8def533>))))
  org-agenda-redo()
  org-agenda-log-mode(nil)
  funcall-interactively(org-agenda-log-mode nil)
  command-execute(org-agenda-log-mode)

Reply via email to