org-brain
org-brain copied to clipboard
org-brain-set-tags adds tags at current point, not at headline
In case I have the buffer opened for editing in a different window, when I use T (org-brain-set-tags
) on a headline entry, the tags are added right at the end of current line (which could be anywhere in the file), not at the current entry/headline.
Hmm, that's strange. I do not get this behaviour. Are you using the latest version org-brain, and which version of org-mode are you using?
Just got this on org-20200525, org-brain-20200625.2050, GNU Emacs 26.3.
Seems like you're running the latest version then. org-brain-set-tags
uses org-set-tags-command
which should go back to the heading before modifying the tags. Could it be that org-set-tags-command
has been remapped to something else (if you check the documentation on it using C-h f
)?
Checked it and org-set-tags-command
works properly (that is - it adds to the headline regardless of where in the entry I'm editing) and is not remapped to anything.
Unfortunately I haven't been able to reproduce this bug. I'm leaving the issue open in case someone else have the same error or know something about it.
Looks like it's caused by some other packages I'm using since it doesn't happen with "just emacs with org and org-brain". It appears that removing evil-mode fixes the problem.