You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Appreciate the repo, but partially broke after recently updating. Content on the refile location ignores preamble export options, starting only on the first header. Broken by 72d48c6. Possibly related to #729.
Is this actually possible in the same way in Emacs? As I understood, the capture feature works on the scope of headlines. The preamble has a file scope.
What you actually target is the capture feature. I am not aware, what the intent of Emacs orgmode here is, because I use orgmode only with Neovim and this plugin. The way it is implemented is, that it refiles the first headline in the capture buffer to the target file and optionally headline defined in the template, before closing it.
If you write multiple headlines on the first level, all but the first are also ignored like your preamble.
To decide, if the issue you brought up is actually a bug or implemented as intent, it would be great, if you could research, how this works in Emacs.
You bring a good point, I haven't checked the behavior on emacs. I will have to look into it and test the template capture mechanism.
Since creating this issue, I also noted another bug that also wasn't present before the refactor commit where if the target destination is a with a date variable, i.e. target = './%Y/%m/%d.org', such string only gets evaluated the first time the capture template mechanism is engaged and only reevalutes it once neovim is restarted. Such behavior becomes a problem in cases where daily logs are created and a single instance of neovim is running for multiple days.
I have no experience with lisp and some with lua but I hope to learn how emacs templating works and also how this plugin handled it before and after the refactor so I contribute to this project. In the meantime, I have reverted to the previous version since I use this feature everyday.
Describe the bug
Appreciate the repo, but partially broke after recently updating. Content on the refile location ignores preamble export options, starting only on the first header. Broken by 72d48c6. Possibly related to #729.
Steps to reproduce
<leader>oce
<C-c>
~/Downloads/test.org
Expected behavior
Emacs functionality
No response
Minimal init.lua
Screenshots and recordings
No response
OS / Distro
MacOS 12.7.2
Neovim version/commit
NVIM v0.10.0 Release
Additional context
No response
The text was updated successfully, but these errors were encountered: