Skip to content

When creating new notes with denote, the echo area shows a prompt "Non-existent agenda file _org-file-name_. [R]emove from list or [A]bort?" #433

Closed Answered by IceAsteroid
IceAsteroid asked this question in Q&A
Discussion options

You must be logged in to vote

Good news, the following code as I linked in the description works

The issue was triggered by org-map-entries.

Here's the code by a deleted user in reddit:


I don't know this is either the issue of org-mode, denote, or just the function I've defined, the issue post said that the issue is fixed, but it still occurs in this case

Note: If someone has encountered this issue: It's because the latest version of org.el still doesn't contain the fix as mentioned in the link on reddit, you need to use the following code as a workaround.

(defun my-org-agenda-prepare-buffers-advice (orig-func &rest args)
  "Advice function to modify `org-agenda-prepare-buffers'.
It filters the FILES argument to en…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@IceAsteroid
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by IceAsteroid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants