Closed milanglacier closed 8 months ago
Does file ~/Desktop/orgmode/capture/notes.org
exist? It seems that it cannot be reached when capturing.
Does file
~/Desktop/orgmode/capture/notes.org
exist? It seems that it cannot be reached when capturing.
yes, it does contain, for sure.
Can you try to pull latest master and give it another try?
Can you try to pull latest master and give it another try?
Hi! The error is still there. Since ~/Desktop/orgmode/capture/notes.org
does exist, I think the issue does not come from there.
This is because you need to set org_agenda_files
to also find files in subdirectories, like this:
org_agenda_files = { org_dir .. '/**/*' },
Problem is that your notes.org
file is in the capture
folder, and it is not your default file, so it's not considered.
thank you. This is the true reason.
Describe the bug
when try to use capture template with a non default target file and a specified headline, get the following error:
Steps to reproduce
<Leader>oc
to open the org capturet
, which will write the buffer to a non default file with a specified headline.C-c
, and get the errorExpected behavior
write the buffer to the specified file with a specified headline
Emacs functionality
write the buffer to the specified file with a specified headline
Minimal init.lua
and the target org dir, say
~/Desktop/orgmode
, needs to have the following file,capture/notes.org
, with the following cotentsScreenshots and recordings
No response
OS / Distro
macOS 12.4
Neovim version/commit
0.8
Additional context
No response