tecosaur / emacs-config

My configuration for Doom Emacs. Mirror of https://git.tecosaur.net/tec/emacs-config.
MIT License
1.04k stars 119 forks source link

<TAB> not execute org-cycle when I opened config.org #10

Closed atreeyang closed 3 years ago

atreeyang commented 3 years ago

when I opened "config.org" and press on a org line, and give me a message "user-error: No matching item found on the current line" It should execute org-cycle and expand the title. very inconvenient. shift-TAB is work anyway.

But when I open a simple org file, it execute org-cycle. Cant figure out why.

tecosaur commented 3 years ago

As it so happens, I'm aware of this issue (unlike the other issue you opened, I'll respond to that in a bit), but have no idea what's going on.

I'll let you know here if I make any progress :slightly_smiling_face:.

tecosaur commented 3 years ago

Related: https://github.com/hlissner/doom-emacs/issues/4548

pnguyen4 commented 3 years ago

Hi. I was setting up doom emacs using this configuration as inspiration and I ran into the same problem with TAB not working. Commenting out (add-hook! 'org-mode-hook #'+org-pretty-mode #'mixed-pitch-mode) fixed the issue for me. I'm not sure why though.

tecosaur commented 3 years ago

Strange, thanks for letting me know. I'll test it out and see what I find.

By the way, do you also find this issue doesn't pop up with smaller files?

pnguyen4 commented 3 years ago

No, this issue happens with small org files as well. I ran across it while following along Zaiste's Doomcast org mode tutorial. My configuration isn't literate.

tecosaur commented 3 years ago

Interesting to compare experiences. Just as @atreeyang mentioned, I only find this occurs with large Org files.

All I can guess at this point is that we're hitting some weird edge case :stuck_out_tongue:

tecosaur commented 3 years ago

Fixed in https://github.com/hlissner/doom-emacs/commit/16a495c97dd796ec20939d07bad3beb38586a1fe