Closed ineu closed 4 years ago
Actually it's more interesting. I encounter such behavior if I open an org file from the agenda. But if I kill the buffer and open it again from recent files, it works as expected
TAB should already be bound to org-cycle by evil-org (and has been for a couple months). I cannot reproduce any other behavior and am not aware of changes that would affect this. I'm at a loss as how to debug this atm.
EDIT: could you see if it can be reproduced in the sandbox? (In vanilla Doom via C-c C-p
)
It's not reproducible in a C-c C-p
sandbox, but is reproducible in C-c C-f
one.
I also found out that if I open an org-mode file (even blank one or the scratch buffer with M-x org-mode
), then open a second org-mode file, then TAB works fine in the latter. This sounds like some kind of a race condition/lazy loading issue related to my local config. Investigating further.
So it was caused by a seemingly unrelated line in my config:
(org-clock-persistence-insinuate) ; Resume clocking task when emacs is restarted
I encountered this issue from time to time, never figured out what's causing the problem..
@ineu Not sure how that's possible. I can't reproduce it with (org-clock-persistence-insinuate)
in my config. Side note: you don't need to use that function; Doom does it for you, manually: https://github.com/hlissner/doom-emacs/blob/develop/modules/lang/org/config.el#L803-L815
I suspect this got broken on a specific org-mode version, because it used to work the week before. Good to know I don't actually need this line. It was there for ages, through different emacs frameworks and starting kits. I'm going to close the issue, for it is specific to my config. Thanks for your help.
Hi @ineu, did you manage to find to source of the problem? I have the same issue for some time now, this is quite annoying. Thanks
Not really. But what I discovered is that I can simply enter insert mode, then back to the command mode (that is: i Esc
) and it works. Simple enough to not bother with searching further for now.
Awesome, thanks!
What did you expect to happen? TAB key should expand headlines, drawers etc in org-mode. TAB key should be bound to
org-cycle
.What actually happened?
evil-jump-item
when the cursor is on the headline.+fold/toggle
when the cursor in on the drawer nameAdditional details: I believe this changed happened on the weekend of January 25-26. I'm pretty sure it worked on the previous Friday.
System information: