emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Questionmarks in org-agenda instead of file names [9.5.2 (9.5.2-g3154c2 @ /Users/eugr/.emacs.d/straight/build/org/)]
@ 2022-01-24 16:49 Eugene Rakhmatulin
  2022-01-25 12:43 ` Ihor Radchenko
  0 siblings, 1 reply; 9+ messages in thread
From: Eugene Rakhmatulin @ 2022-01-24 16:49 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 8123 bytes --]

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

When any of the agenda files get updated outside of this instance of
Emacs (e.g. another editor or in my case Emacs on another machine via a
synced iCloud Drive folder), questionmarks are displayed instead of a
file name. That does not always happen, but when it happens, the only
way to get rid of the questionmarks is to go to the offending file buffer
and
run org-element-cache-reset on that buffer. Just rebuilding the agenda
doesn't help, and even restarting Emacs doesn't help.

After the cache is reset, everything works as expected.

Org is built from main/master branch. It shows 9.5.2 but I see 9.6-dev
in the source files headers. This is Emacs 27.2 (Yamamoto Mituharu
port), but this also happens on 28.0.90 built from the source on my
other Mac. I tried with both Doom and (in this case) vanilla Emacs with
hand-picked packages loaded.

Emacs  : GNU Emacs 27.2 (build 1, aarch64-apple-darwin21.2.0, Carbon
Version 165 AppKit 2113.2)
of 2021-12-27
Package: Org mode version 9.5.2 (9.5.2-g3154c2 @
/Users/eugr/.emacs.d/straight/build/org/)

current state:
==============
(setq
org-src-mode-hook '(doom-modeline-set-org-src-modeline
org-src-babel-configure-edit-buffer
    org-src-mode-configure-edit-buffer)
org-fontify-whole-heading-line t
org-link-shell-confirm-function 'yes-or-no-p
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-refile-targets '((nil :maxlevel . 3) (org-agenda-files :maxlevel . 3))
org-enforce-todo-dependencies t
org-imenu-depth 6
org-persist-before-write-hook '(org-element--cache-persist-before-write)
org-agenda-files '("~/org/")
org-log-redeadline 'note
org-startup-folded nil
org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
org-super-agenda-mode t
org-mode-hook '((lambda nil (define-key org-mode-map (kbd "C-c g")
'org-mac-grab-link))
#[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2]
(lambda nil (org-superstar-mode 1)) visual-line-mode
#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook
org-show-all append local] 5]
#[0 "\300\301\302\303\304$\207"
  [add-hook change-major-mode-hook org-babel-show-result-all append local]
5]
org-babel-result-hide-spec org-babel-hide-all-hashes org-eldoc-load)
org-outline-path-complete-in-steps nil
org-archive-hook '(org-attach-archive-delete-maybe)
org-persist-before-read-hook '(org-element--cache-persist-before-read)
org-superstar-headline-bullets-list '("⁖" "◉" "○" "✸" "✿")
org-confirm-elisp-link-function 'yes-or-no-p
org-startup-indented t
org-startup-with-inline-images t
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-persist-after-read-hook '(org-element--cache-persist-after-read)
org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3
"\n\n(fn ENTRY)"]
org-log-reschedule 'time
org-babel-pre-tangle-hook '(save-buffer)
org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-hide-leading-stars t
org-babel-load-languages '((python . t) (shell . t))
org-log-done 'time
org-font-lock-hook '(org-inlinetask-fontify)
org-agenda-span 'day
org-agenda-loop-over-headlines-in-active-region nil
org-src-lang-modes '(("redis" . redis) ("php" . php) ("arduino" . arduino)
("C" . c) ("C++" . c++)
     ("asymptote" . asy) ("bash" . sh) ("beamer" . latex) ("calc" .
fundamental) ("cpp" . c++)
     ("ditaa" . artist) ("dot" . fundamental) ("elisp" . emacs-lisp)
("ocaml" . tuareg)
     ("screen" . shell-script) ("shell" . sh) ("sqlite" . sql))
org-fontify-quote-and-verse-blocks t
org-occur-hook '(org-first-headline-recenter)
org-agenda-window-setup 'current-window
org-log-into-drawer t
org-mac-grab-devonthink-app-p nil
org-indirect-buffer-display 'current-window
org-cycle-hook '(org-inlinetask-hide-tasks org-cycle-hide-archived-subtrees
org-cycle-hide-drawers
 org-cycle-show-empty-lines org-optimize-window-after-visibility-change)
org-todo-keywords '((sequence "TODO(t)" "PROJ(p)" "LOOP(r)" "STRT(s)"
"WAIT(w@/!)" "HOLD(h@/!)" "IDEA(i)" "|"
     "DONE(d)" "KILL(k@)")
    )
org-speed-command-hook '(org-speed-command-activate
org-babel-speed-command-activate)
org-tags-column 0
org-babel-tangle-lang-exts '(("python" . "py") ("emacs-lisp" . "el")
("elisp" . "el"))
org-refile-use-outline-path 'file
org-priority-faces '((65 . error) (66 . warning) (67 . success))
org-export-before-parsing-hook '(org-attach-expand-links)
org-confirm-shell-link-function 'yes-or-no-p
org-link-parameters '(("attachment" :follow org-attach-follow :complete
org-attach-complete-link)
      ("eww" :follow org-eww-open :store org-eww-store-link)
      ("rmail" :follow org-rmail-open :store org-rmail-store-link)
      ("mhe" :follow org-mhe-open :store org-mhe-store-link)
      ("irc" :follow org-irc-visit :store org-irc-store-link :export
org-irc-export)
      ("info" :follow org-info-open :export org-info-export :store
org-info-store-link)
      ("gnus" :follow org-gnus-open :store org-gnus-store-link)
      ("docview" :follow org-docview-open :export org-docview-export :store
org-docview-store-link)
      ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link)
      ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete
org-bbdb-complete-link
:store org-bbdb-store-link)
      ("w3m" :store org-w3m-store-link)
      ("doi" :follow org-link-doi-open :export org-link-doi-export)
      ("message" :follow org-mac-message-open)
      ("x-devonthink-item" :follow org-devonthink-item-open)
      ("mac-evernote" :follow org-mac-evernote-note-open)
      ("mac-outlook" :follow org-mac-outlook-message-open)
      ("acrobat" :follow org-mac-acrobat-open) ("skim" :follow
org-mac-skim-open)
      ("addressbook" :follow org-mac-addressbook-item-open)
      ("x-together-item" :follow org-mac-together-item-open) ("id" :follow
org-id-open)
      ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell)
      ("news" :follow
#[514 "\301\300\302Q\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"])
      ("mailto" :follow
#[514 "\301\300\302Q\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"])
      ("https" :follow
#[514 "\301\300\302Q\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"])
      ("http" :follow
#[514 "\301\300\302Q\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"])
      ("ftp" :follow #[514 "\301\300\302Q\"\207" ["ftp" browse-url ":"] 6
"\n\n(fn URL ARG)"])
      ("help" :follow org-link--open-help :store org-link--store-help)
      ("file" :complete org-link-complete-file) ("elisp" :follow
org-link--open-elisp))
org-link-elisp-confirm-function 'yes-or-no-p
org-todo-keyword-faces '(("STRT" . +org-todo-active) ("IDEA" .
+org-todo-onhold) ("WAIT" . +org-todo-onhold)
 ("HOLD" . +org-todo-onhold) ("PROJ" . +org-todo-project) ("KILL" .
+org-todo-cancel))
org-super-agenda-groups '((:name "Deadline today" :deadline today :order 0)
  (:name "Important" :priority "A" :order 1)
  (:name "Deadline <= 30d" :deadline (before "+31d") :order 9)
  (:name "Deadline > 30d" :and (:deadline (after "+30d") :not (:scheduled
today)) :order
   10)
  (:name "Waiting" :todo "WAIT" :order 8) (:name "On Hold" :todo "HOLD"
:order 9)
  (:name "Ideas" :todo "IDEA" :order 11) (:priority "B" :order 2)
  (:name "Next" :time-grid t :todo ("TODO" "STRT" "WAIT") :order 3))
org-image-actual-width nil
org-eldoc-breadcrumb-separator " → "
org-entities-user '(("flat" "\\flat" nil "" "" "266D" "♭") ("sharp"
"\\sharp" nil "" "" "266F" "♯"))
org-use-sub-superscripts '{}
org-agenda-todo-ignore-deadlines 'near
org-directory "~/org/"
org-agenda-todo-ignore-scheduled 'all
org-agenda-start-on-weekday nil
)

[-- Attachment #2: Type: text/html, Size: 10324 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG] Questionmarks in org-agenda instead of file names [9.5.2 (9.5.2-g3154c2 @ /Users/eugr/.emacs.d/straight/build/org/)]
  2022-01-24 16:49 [BUG] Questionmarks in org-agenda instead of file names [9.5.2 (9.5.2-g3154c2 @ /Users/eugr/.emacs.d/straight/build/org/)] Eugene Rakhmatulin
@ 2022-01-25 12:43 ` Ihor Radchenko
  2022-01-25 17:19   ` Eugene Rakhmatulin
  0 siblings, 1 reply; 9+ messages in thread
From: Ihor Radchenko @ 2022-01-25 12:43 UTC (permalink / raw)
  To: Eugene Rakhmatulin; +Cc: emacs-orgmode

Eugene Rakhmatulin <eugr@eugr.com> writes:

> When any of the agenda files get updated outside of this instance of
> Emacs (e.g. another editor or in my case Emacs on another machine via a
> synced iCloud Drive folder), questionmarks are displayed instead of a
> file name. That does not always happen, but when it happens, the only
> way to get rid of the questionmarks is to go to the offending file buffer
> and
> run org-element-cache-reset on that buffer. Just rebuilding the agenda
> doesn't help, and even restarting Emacs doesn't help.
>
> After the cache is reset, everything works as expected.

Thanks for the report!

Can you try the following:
1. (setq org-element--cache-self-verify 'backtrace) in your init.el
   before loading org
2. Do whatever it takes to get question marks as category in agenda
3. Go to the problematic Org buffer and run
   M-: (org-element--cache-warn "Backtrace") <RET>
4. Send the contents of the warning message here.

Best,
Ihor


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG] Questionmarks in org-agenda instead of file names [9.5.2 (9.5.2-g3154c2 @ /Users/eugr/.emacs.d/straight/build/org/)]
  2022-01-25 12:43 ` Ihor Radchenko
@ 2022-01-25 17:19   ` Eugene Rakhmatulin
  2022-01-29  6:21     ` Ihor Radchenko
  0 siblings, 1 reply; 9+ messages in thread
From: Eugene Rakhmatulin @ 2022-01-25 17:19 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

On Tue, Jan 25, 2022 at 4:39 AM Ihor Radchenko <yantar92@gmail.com> wrote:

> Thanks for the report!
>
> Can you try the following:
> 1. (setq org-element--cache-self-verify 'backtrace) in your init.el
>    before loading org
> 2. Do whatever it takes to get question marks as category in agenda
> 3. Go to the problematic Org buffer and run
>    M-: (org-element--cache-warn "Backtrace") <RET>
> 4. Send the contents of the warning message here.

Here we go. Hope this helps!

Warning (org-element-cache): org-element--cache: Warning(p-tasks.org): Backtrace
Backtrace:
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 8937 :end 8997 :contents-begin 8937
:contents-end 8997 :post-blank 0 :post-affiliated 8937 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 8935 :end 8997 :contents-begin
8937 :contents-end 8997 :checkbox nil :counter nil :structure ((8935 0
\"- \" nil nil nil 8997)) :pre-blank 0 :post-blank 0 :post-affiliated
8935 :tag nil :mode item :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(plain-list (:type unordered :begin 8935 :end 8997
:contents-begin 8935 :contents-end 8997 :structure ((8935 0 \"- \" nil
nil nil 8997)) :post-blank 0 :post-affiliated 8935 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(drawer (:begin 8925 :end 9003 :drawer-name \"LOGBOOK\"
:contents-begin 8935 :contents-end 8997 :post-blank 0 :post-affiliated
8925 :mode nil :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(property-drawer (:begin 8869 :end 8925 :contents-begin 8882
:contents-end 8919 :post-blank 0 :post-affiliated 8869 :mode
property-drawer :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(drawer (:begin 7755 :end 7899 :drawer-name \"LOGBOOK\"
:contents-begin 7765 :contents-end 7893 :post-blank 0 :post-affiliated
7755 :mode property-drawer :granularity element))"


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG] Questionmarks in org-agenda instead of file names [9.5.2 (9.5.2-g3154c2 @ /Users/eugr/.emacs.d/straight/build/org/)]
  2022-01-25 17:19   ` Eugene Rakhmatulin
@ 2022-01-29  6:21     ` Ihor Radchenko
  2022-02-02  5:54       ` Eugene Rakhmatulin
  0 siblings, 1 reply; 9+ messages in thread
From: Ihor Radchenko @ 2022-01-29  6:21 UTC (permalink / raw)
  To: Eugene Rakhmatulin; +Cc: emacs-orgmode

Eugene Rakhmatulin <eugr@eugr.com> writes:

>> Can you try the following:
>> 1. (setq org-element--cache-self-verify 'backtrace) in your init.el
>>    before loading org
>> 2. Do whatever it takes to get question marks as category in agenda
>> 3. Go to the problematic Org buffer and run
>>    M-: (org-element--cache-warn "Backtrace") <RET>
>> 4. Send the contents of the warning message here.
>
> Here we go. Hope this helps!
>
> Warning (org-element-cache): org-element--cache: Warning(p-tasks.org): Backtrace
> Backtrace:
> ...

This is a big strange.
Can you try to repeat the same steps, but removing the contents of
org-persist-directory before opening Emacs?

Best,
Ihor


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG] Questionmarks in org-agenda instead of file names [9.5.2 (9.5.2-g3154c2 @ /Users/eugr/.emacs.d/straight/build/org/)]
  2022-01-29  6:21     ` Ihor Radchenko
@ 2022-02-02  5:54       ` Eugene Rakhmatulin
  2022-02-02 19:20         ` Eugene Rakhmatulin
  0 siblings, 1 reply; 9+ messages in thread
From: Eugene Rakhmatulin @ 2022-02-02  5:54 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

On Fri, Jan 28, 2022 at 10:16 PM Ihor Radchenko <yantar92@gmail.com> wrote:

> This is a big strange.
> Can you try to repeat the same steps, but removing the contents of
> org-persist-directory before opening Emacs?

So, I've removed this directory on both computers - haven't been able
to reproduce this bug so far... However even before I've done this it
was intermittent with no clear pattern, so I'll keep monitoring, but
let's hope it was some kind of cache issue after Org upgrade from 9.3
to the current version...


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG] Questionmarks in org-agenda instead of file names [9.5.2 (9.5.2-g3154c2 @ /Users/eugr/.emacs.d/straight/build/org/)]
  2022-02-02  5:54       ` Eugene Rakhmatulin
@ 2022-02-02 19:20         ` Eugene Rakhmatulin
  2022-02-03 12:42           ` Ihor Radchenko
  2022-02-20  7:29           ` Ihor Radchenko
  0 siblings, 2 replies; 9+ messages in thread
From: Eugene Rakhmatulin @ 2022-02-02 19:20 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

On Tue, Feb 1, 2022 at 9:54 PM Eugene Rakhmatulin <eugr@eugr.com> wrote:
>
> On Fri, Jan 28, 2022 at 10:16 PM Ihor Radchenko <yantar92@gmail.com> wrote:
>
> > This is a big strange.
> > Can you try to repeat the same steps, but removing the contents of
> > org-persist-directory before opening Emacs?
>
> So, I've removed this directory on both computers - haven't been able
> to reproduce this bug so far... However even before I've done this it
> was intermittent with no clear pattern, so I'll keep monitoring, but
> let's hope it was some kind of cache issue after Org upgrade from 9.3
> to the current version...

Well, that happened again. See the backtrace below.
What I did:

1. Removed org-persist-directory folder yesterday
2. Did a quick capture of task (with some embedded checklist) on my
main computer today
3. Went to another computer and refreshed Agenda there, got
questionmarks (org directory is synced between both via iCloud)
4. Went to the problematic buffer and ran backtrace command there,
saved the output

If I delete org-persist-directory again, the questionmarks disappear
(obviously).

Backtrace:

Warning (org-element-cache): org-element--cache: Warning(p-tasks.org): Backtrace
Backtrace:
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 10315 :end 10385 :contents-begin 10315
:contents-end 10385 :post-blank 0 :post-affiliated 10315 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 11087 :end 11220 :contents-begin 11087
:contents-end 11220 :post-blank 0 :post-affiliated 11087 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 11083 :end 11220
:contents-begin 11087 :contents-end 11220 :checkbox nil :counter nil
:structure ((10769 2 \"- \" nil nil nil 10898) (10898 2 \"- \" nil nil
nil 11083) (11083 2 \"- \" nil nil nil 11220)) :pre-blank 0
:post-blank 0 :post-affiliated 11083 :tag nil :mode item :granularity
element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 10902 :end 11083 :contents-begin 10902
:contents-end 11083 :post-blank 0 :post-affiliated 10902 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 10898 :end 11083
:contents-begin 10902 :contents-end 11083 :checkbox nil :counter nil
:structure ((10769 2 \"- \" nil nil nil 10898) (10898 2 \"- \" nil nil
nil 11083) (11083 2 \"- \" nil nil nil 11220)) :pre-blank 0
:post-blank 0 :post-affiliated 10898 :tag nil :mode item :granularity
element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 10773 :end 10898 :contents-begin 10773
:contents-end 10898 :post-blank 0 :post-affiliated 10773 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 10769 :end 10898
:contents-begin 10773 :contents-end 10898 :checkbox nil :counter nil
:structure ((10769 2 \"- \" nil nil nil 10898) (10898 2 \"- \" nil nil
nil 11083) (11083 2 \"- \" nil nil nil 11220)) :pre-blank 0
:post-blank 0 :post-affiliated 10769 :tag nil :mode item :granularity
element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(plain-list (:type unordered :begin 10769 :end 11222
:contents-begin 10769 :contents-end 11220 :structure ((10769 2 \"- \"
nil nil nil 10898) (10898 2 \"- \" nil nil nil 11083) (11083 2 \"- \"
nil nil nil 11220)) :post-blank 2 :post-affiliated 10769 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 10756 :end 10769 :contents-begin 10756
:contents-end 10768 :post-blank 1 :post-affiliated 10756 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 10698 :end 10755 :contents-begin 10698
:contents-end 10755 :post-blank 0 :post-affiliated 10698 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 10695 :end 10755
:contents-begin 10698 :contents-end 10755 :checkbox nil :counter nil
:structure ((10427 1 \"- \" nil nil nil 10469) (10469 1 \"- \" nil nil
nil 10695) (10503 3 \"- \" nil nil nil 10558) (10558 3 \"- \" nil nil
nil 10627) (10627 3 \"- \" nil nil nil 10695) (10695 1 \"- \" nil nil
nil 10755)) :pre-blank 0 :post-blank 0 :post-affiliated 10695 :tag nil
:mode item :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 10632 :end 10695 :contents-begin 10632
:contents-end 10695 :post-blank 0 :post-affiliated 10632 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 10627 :end 10695
:contents-begin 10632 :contents-end 10695 :checkbox nil :counter nil
:structure ((10427 1 \"- \" nil nil nil 10469) (10469 1 \"- \" nil nil
nil 10695) (10503 3 \"- \" nil nil nil 10558) (10558 3 \"- \" nil nil
nil 10627) (10627 3 \"- \" nil nil nil 10695) (10695 1 \"- \" nil nil
nil 10755)) :pre-blank 0 :post-blank 0 :post-affiliated 10627 :tag nil
:mode item :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 10563 :end 10627 :contents-begin 10563
:contents-end 10627 :post-blank 0 :post-affiliated 10563 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 10558 :end 10627
:contents-begin 10563 :contents-end 10627 :checkbox nil :counter nil
:structure ((10427 1 \"- \" nil nil nil 10469) (10469 1 \"- \" nil nil
nil 10695) (10503 3 \"- \" nil nil nil 10558) (10558 3 \"- \" nil nil
nil 10627) (10627 3 \"- \" nil nil nil 10695) (10695 1 \"- \" nil nil
nil 10755)) :pre-blank 0 :post-blank 0 :post-affiliated 10558 :tag nil
:mode item :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 10508 :end 10558 :contents-begin 10508
:contents-end 10558 :post-blank 0 :post-affiliated 10508 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 10503 :end 10558
:contents-begin 10508 :contents-end 10558 :checkbox nil :counter nil
:structure ((10427 1 \"- \" nil nil nil 10469) (10469 1 \"- \" nil nil
nil 10695) (10503 3 \"- \" nil nil nil 10558) (10558 3 \"- \" nil nil
nil 10627) (10627 3 \"- \" nil nil nil 10695) (10695 1 \"- \" nil nil
nil 10755)) :pre-blank 0 :post-blank 0 :post-affiliated 10503 :tag nil
:mode item :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(plain-list (:type unordered :begin 10503 :end 10695
:contents-begin 10503 :contents-end 10695 :structure ((10427 1 \"- \"
nil nil nil 10469) (10469 1 \"- \" nil nil nil 10695) (10503 3 \"- \"
nil nil nil 10558) (10558 3 \"- \" nil nil nil 10627) (10627 3 \"- \"
nil nil nil 10695) (10695 1 \"- \" nil nil nil 10755)) :post-blank 0
:post-affiliated 10503 :mode nil :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 10472 :end 10503 :contents-begin 10472
:contents-end 10503 :post-blank 0 :post-affiliated 10472 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 10469 :end 10695
:contents-begin 10472 :contents-end 10695 :checkbox nil :counter nil
:structure ((10427 1 \"- \" nil nil nil 10469) (10469 1 \"- \" nil nil
nil 10695) (10503 3 \"- \" nil nil nil 10558) (10558 3 \"- \" nil nil
nil 10627) (10627 3 \"- \" nil nil nil 10695) (10695 1 \"- \" nil nil
nil 10755)) :pre-blank 0 :post-blank 0 :post-affiliated 10469 :tag nil
:mode item :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 10430 :end 10469 :contents-begin 10430
:contents-end 10469 :post-blank 0 :post-affiliated 10430 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 10427 :end 10469
:contents-begin 10430 :contents-end 10469 :checkbox nil :counter nil
:structure ((10427 1 \"- \" nil nil nil 10469) (10469 1 \"- \" nil nil
nil 10695) (10503 3 \"- \" nil nil nil 10558) (10558 3 \"- \" nil nil
nil 10627) (10627 3 \"- \" nil nil nil 10695) (10695 1 \"- \" nil nil
nil 10755)) :pre-blank 0 :post-blank 0 :post-affiliated 10427 :tag nil
:mode item :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(plain-list (:type unordered :begin 10427 :end 10756
:contents-begin 10427 :contents-end 10755 :structure ((10427 1 \"- \"
nil nil nil 10469) (10469 1 \"- \" nil nil nil 10695) (10503 3 \"- \"
nil nil nil 10558) (10558 3 \"- \" nil nil nil 10627) (10627 3 \"- \"
nil nil nil 10695) (10695 1 \"- \" nil nil nil 10755)) :post-blank 1
:post-affiliated 10427 :mode nil :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 10417 :end 10427 :contents-begin 10417
:contents-end 10426 :post-blank 1 :post-affiliated 10417 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 10387 :end 10416 :contents-begin 10387
:contents-end 10416 :post-blank 0 :post-affiliated 10387 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 10385 :end 10416
:contents-begin 10387 :contents-end 10416 :checkbox nil :counter nil
:structure ((10255 0 \"- \" nil nil nil 10313) (10313 0 \"- \" nil nil
nil 10385) (10385 0 \"- \" nil nil nil 10416)) :pre-blank 0
:post-blank 0 :post-affiliated 10385 :tag nil :mode item :granularity
element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 10313 :end 10385
:contents-begin 10315 :contents-end 10385 :checkbox nil :counter nil
:structure ((10255 0 \"- \" nil nil nil 10313) (10313 0 \"- \" nil nil
nil 10385) (10385 0 \"- \" nil nil nil 10416)) :pre-blank 0
:post-blank 0 :post-affiliated 10313 :tag nil :mode item :granularity
element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 10255 :end 10313
:contents-begin 10257 :contents-end 10313 :checkbox nil :counter nil
:structure ((10255 0 \"- \" nil nil nil 10313) (10313 0 \"- \" nil nil
nil 10385) (10385 0 \"- \" nil nil nil 10416)) :pre-blank 0
:post-blank 0 :post-affiliated 10255 :tag nil :mode item :granularity
element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(plain-list (:type unordered :begin 10255 :end 10417
:contents-begin 10255 :contents-end 10416 :structure ((10255 0 \"- \"
nil nil nil 10313) (10313 0 \"- \" nil nil nil 10385) (10385 0 \"- \"
nil nil nil 10416)) :post-blank 1 :post-affiliated 10255 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 10222 :end 10255 :contents-begin 10222
:contents-end 10254 :post-blank 1 :post-affiliated 10222 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 10063 :end 10222 :contents-begin 10063
:contents-end 10221 :post-blank 1 :post-affiliated 10063 :mode
property-drawer :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 12318 :end 12321 :contents-begin 12318
:contents-end 12321 :post-blank 0 :post-affiliated 12318 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 12314 :end 12321
:contents-begin 12318 :contents-end 12321 :checkbox nil :counter nil
:structure ((12150 0 \"- \" nil \"[ ]\" nil 12176) (12176 0 \"- \" nil
\"[ ]\" nil 12321) (12212 2 \"- \" nil nil nil 12285) (12285 2 \"- \"
nil nil nil 12305) (12305 2 \"- \" nil nil nil 12314) (12314 2 \"- \"
nil nil nil 12321) (12321 0 \"- \" nil \"[ ]\" nil 12344)) :pre-blank
0 :post-blank 0 :post-affiliated 12314 :tag nil :mode item
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 12309 :end 12314 :contents-begin 12309
:contents-end 12314 :post-blank 0 :post-affiliated 12309 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 12305 :end 12314
:contents-begin 12309 :contents-end 12314 :checkbox nil :counter nil
:structure ((12150 0 \"- \" nil \"[ ]\" nil 12176) (12176 0 \"- \" nil
\"[ ]\" nil 12321) (12212 2 \"- \" nil nil nil 12285) (12285 2 \"- \"
nil nil nil 12305) (12305 2 \"- \" nil nil nil 12314) (12314 2 \"- \"
nil nil nil 12321) (12321 0 \"- \" nil \"[ ]\" nil 12344)) :pre-blank
0 :post-blank 0 :post-affiliated 12305 :tag nil :mode item
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 12289 :end 12305 :contents-begin 12289
:contents-end 12305 :post-blank 0 :post-affiliated 12289 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 12285 :end 12305
:contents-begin 12289 :contents-end 12305 :checkbox nil :counter nil
:structure ((12150 0 \"- \" nil \"[ ]\" nil 12176) (12176 0 \"- \" nil
\"[ ]\" nil 12321) (12212 2 \"- \" nil nil nil 12285) (12285 2 \"- \"
nil nil nil 12305) (12305 2 \"- \" nil nil nil 12314) (12314 2 \"- \"
nil nil nil 12321) (12321 0 \"- \" nil \"[ ]\" nil 12344)) :pre-blank
0 :post-blank 0 :post-affiliated 12285 :tag nil :mode item
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 12216 :end 12285 :contents-begin 12216
:contents-end 12285 :post-blank 0 :post-affiliated 12216 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 12212 :end 12285
:contents-begin 12216 :contents-end 12285 :checkbox nil :counter nil
:structure ((12150 0 \"- \" nil \"[ ]\" nil 12176) (12176 0 \"- \" nil
\"[ ]\" nil 12321) (12212 2 \"- \" nil nil nil 12285) (12285 2 \"- \"
nil nil nil 12305) (12305 2 \"- \" nil nil nil 12314) (12314 2 \"- \"
nil nil nil 12321) (12321 0 \"- \" nil \"[ ]\" nil 12344)) :pre-blank
0 :post-blank 0 :post-affiliated 12212 :tag nil :mode item
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(plain-list (:type unordered :begin 12212 :end 12321
:contents-begin 12212 :contents-end 12321 :structure ((12150 0 \"- \"
nil \"[ ]\" nil 12176) (12176 0 \"- \" nil \"[ ]\" nil 12321) (12212 2
\"- \" nil nil nil 12285) (12285 2 \"- \" nil nil nil 12305) (12305 2
\"- \" nil nil nil 12314) (12314 2 \"- \" nil nil nil 12321) (12321 0
\"- \" nil \"[ ]\" nil 12344)) :post-blank 0 :post-affiliated 12212
:mode nil :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 12182 :end 12212 :contents-begin 12182
:contents-end 12212 :post-blank 0 :post-affiliated 12182 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 11636 :end 11698 :contents-begin 11636
:contents-end 11698 :post-blank 0 :post-affiliated 11636 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 11634 :end 11698
:contents-begin 11636 :contents-end 11698 :checkbox nil :counter nil
:structure ((11387 0 \"- \" nil nil nil 11449) (11449 0 \"- \" nil nil
nil 11513) (11513 0 \"- \" nil nil nil 11634) (11634 0 \"- \" nil nil
nil 11698)) :pre-blank 0 :post-blank 0 :post-affiliated 11634 :tag nil
:mode item :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 11515 :end 11634 :contents-begin 11515
:contents-end 11634 :post-blank 0 :post-affiliated 11515 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 11513 :end 11634
:contents-begin 11515 :contents-end 11634 :checkbox nil :counter nil
:structure ((11387 0 \"- \" nil nil nil 11449) (11449 0 \"- \" nil nil
nil 11513) (11513 0 \"- \" nil nil nil 11634) (11634 0 \"- \" nil nil
nil 11698)) :pre-blank 0 :post-blank 0 :post-affiliated 11513 :tag nil
:mode item :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 11451 :end 11513 :contents-begin 11451
:contents-end 11513 :post-blank 0 :post-affiliated 11451 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 11449 :end 11513
:contents-begin 11451 :contents-end 11513 :checkbox nil :counter nil
:structure ((11387 0 \"- \" nil nil nil 11449) (11449 0 \"- \" nil nil
nil 11513) (11513 0 \"- \" nil nil nil 11634) (11634 0 \"- \" nil nil
nil 11698)) :pre-blank 0 :post-blank 0 :post-affiliated 11449 :tag nil
:mode item :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(paragraph (:begin 11389 :end 11449 :contents-begin 11389
:contents-end 11449 :post-blank 0 :post-affiliated 11389 :mode nil
:granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(item (:bullet \"- \" :begin 11387 :end 11449
:contents-begin 11389 :contents-end 11449 :checkbox nil :counter nil
:structure ((11387 0 \"- \" nil nil nil 11449) (11449 0 \"- \" nil nil
nil 11513) (11513 0 \"- \" nil nil nil 11634) (11634 0 \"- \" nil nil
nil 11698)) :pre-blank 0 :post-blank 0 :post-affiliated 11387 :tag nil
:mode item :granularity element))"
  org-element-cache diagnostics(p-tasks.org): Added new element with
nil key: "(plain-list (:type unordered :begin 11387 :end 11698
:contents-begin 11387 :contents-end 11698 :structure ((11387 0 \"- \"
nil nil nil 11449) (11449 0 \"- \" nil nil nil 11513) (11513 0 \"- \"
nil nil nil 11634) (11634 0 \"- \" nil nil nil 11698)) :post-blank 0
:post-affiliated 11387 :mode nil :granularity element))" Disable
showing Disable logging


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG] Questionmarks in org-agenda instead of file names [9.5.2 (9.5.2-g3154c2 @ /Users/eugr/.emacs.d/straight/build/org/)]
  2022-02-02 19:20         ` Eugene Rakhmatulin
@ 2022-02-03 12:42           ` Ihor Radchenko
  2022-02-20  7:29           ` Ihor Radchenko
  1 sibling, 0 replies; 9+ messages in thread
From: Ihor Radchenko @ 2022-02-03 12:42 UTC (permalink / raw)
  To: Eugene Rakhmatulin; +Cc: emacs-orgmode

Eugene Rakhmatulin <eugr@eugr.com> writes:

> On Tue, Feb 1, 2022 at 9:54 PM Eugene Rakhmatulin <eugr@eugr.com> wrote:
>>
>> On Fri, Jan 28, 2022 at 10:16 PM Ihor Radchenko <yantar92@gmail.com> wrote:
>>
>> > This is a big strange.
>> > Can you try to repeat the same steps, but removing the contents of
>> > org-persist-directory before opening Emacs?
>
> Well, that happened again. See the backtrace below.
> What I did:
>
> 1. Removed org-persist-directory folder yesterday
> 2. Did a quick capture of task (with some embedded checklist) on my
> main computer today
> 3. Went to another computer and refreshed Agenda there, got
> questionmarks (org directory is synced between both via iCloud)
> 4. Went to the problematic buffer and ran backtrace command there,
> saved the output
>
> If I delete org-persist-directory again, the questionmarks disappear
> (obviously).

Something is strange about your backtrace. If auto-revert updates
changed buffer, the change should be logged like

  ...
  org-element-cache diagnostics(inbox.org): Phase 0
  org-element-cache diagnostics(inbox.org): org-element-cache: Processing request ...
  org-element-cache diagnostics(inbox.org): Syncing down to nil-nil
  org-element-cache diagnostics(inbox.org): nil is about to modify text...

I do not see it in your backtrace, which implies that the buffer was not
reverted or that you ran backtrace multiple times.

Can you try again next time you see the questionmarks and also provide
the output of M-: (pp org-element--cache) executed in the problematic
buffer?

Also, I have made changes in saving cache between Emacs sessions. An
Org mode update might help if you are lucky.

Best,
Ihor



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG] Questionmarks in org-agenda instead of file names [9.5.2 (9.5.2-g3154c2 @ /Users/eugr/.emacs.d/straight/build/org/)]
  2022-02-02 19:20         ` Eugene Rakhmatulin
  2022-02-03 12:42           ` Ihor Radchenko
@ 2022-02-20  7:29           ` Ihor Radchenko
  2022-03-10 23:38             ` Eugene Rakhmatulin
  1 sibling, 1 reply; 9+ messages in thread
From: Ihor Radchenko @ 2022-02-20  7:29 UTC (permalink / raw)
  To: Eugene Rakhmatulin; +Cc: emacs-orgmode

Eugene Rakhmatulin <eugr@eugr.com> writes:

> Well, that happened again. See the backtrace below.

I recently managed to find a reproducer when question marks wrongly
appear in category. Just pushed the fix to main (c5a0113367). Can you
try again and let me know if it is fixes your problem?

Best,
Ihor


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG] Questionmarks in org-agenda instead of file names [9.5.2 (9.5.2-g3154c2 @ /Users/eugr/.emacs.d/straight/build/org/)]
  2022-02-20  7:29           ` Ihor Radchenko
@ 2022-03-10 23:38             ` Eugene Rakhmatulin
  0 siblings, 0 replies; 9+ messages in thread
From: Eugene Rakhmatulin @ 2022-03-10 23:38 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

Hi Ihor,

It took a bit longer than usual to reproduce, but the questionmarks
appeared again.
Org was updated to the latest version on both machines.

I'll delete the caches and see if I can reproduce again.

Thanks,
Eugene.

On Sat, Feb 19, 2022 at 11:30 PM Ihor Radchenko <yantar92@gmail.com> wrote:
>
> Eugene Rakhmatulin <eugr@eugr.com> writes:
>
> > Well, that happened again. See the backtrace below.
>
> I recently managed to find a reproducer when question marks wrongly
> appear in category. Just pushed the fix to main (c5a0113367). Can you
> try again and let me know if it is fixes your problem?
>
> Best,
> Ihor


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-03-10 23:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-24 16:49 [BUG] Questionmarks in org-agenda instead of file names [9.5.2 (9.5.2-g3154c2 @ /Users/eugr/.emacs.d/straight/build/org/)] Eugene Rakhmatulin
2022-01-25 12:43 ` Ihor Radchenko
2022-01-25 17:19   ` Eugene Rakhmatulin
2022-01-29  6:21     ` Ihor Radchenko
2022-02-02  5:54       ` Eugene Rakhmatulin
2022-02-02 19:20         ` Eugene Rakhmatulin
2022-02-03 12:42           ` Ihor Radchenko
2022-02-20  7:29           ` Ihor Radchenko
2022-03-10 23:38             ` Eugene Rakhmatulin

Code repositories for project(s) associated with this 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).