polymode / poly-org

Polymode for org-mode
57 stars 13 forks source link

Collapsed source blocks expand when entering an org source code block with poly-org enabled #43

Open emcehu opened 2 years ago

emcehu commented 2 years ago

Hi.

First of all, thank you for Polymode. I've used it with great success for some time now.

Recently I upgraded to Emacs 28.1. Now, when I work in org mode with poly-org enabled, all collapsed source code blocks expand, and the cursor can jump to at different place.

In the two screenshots below I have an org file with five headings each with one emacs-lisp source code block which is collapsed. When the cursor moves into the block in heading 5, alle blocks are expanded and the cursor is moved to heading 2. Ss1 Ss2

pakelley commented 2 years ago

I'm seeing the same thing, unfortunately. Looks like links also aren't rendering (they just display as the raw text, but in the link color).

nobuyuki86 commented 2 years ago

hello! I had the same problem and setting (setq org-fold-core-style 'overlays) made it go away.