-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
org-mode causes emacs 27 to freeze #14462
Comments
Try: |
Thanks for the quick reply. This doesn't help unfortunately. I also removed emacs.d/.cache, upgraded to the latest revision, and removed all my org-mode related settings from the .spacemacs file. Emacs still freezes when opening an org file or reading documentation. |
Is that a particular org file or any org file? |
Any which is more complex than just a single heading. I test if this works by pressing |
If that file has tables then you can try to disable valign. |
Thanks for your help. I don't think it's related to tables because in the other files I don't have any tables. I'll try to come up with a minimal file for which it hangs, but so far I am quite frustrated with it so I switched back to 26. I'll deal with this when I'll have the time. |
Did you try to get a stack trace? I mean
This should print stack trace. If this does not work, then other things that you can try to narrow down the cause of your problem include
|
Thanks @emacs18 for the tips, very instructive. I didn't know you can get stack trace like that. But emacs still freezes when I'm reading layer documentation, particularly org-mode layer documentation (the file stack trace
UPDATE: So it seems this isn't a total freeze but rather a huge slow down. When enabling org-superstar-mode in an org buffer everything slows down almost to a halt. This happens even in a buffer with just two nested headings eg:
I tried profiling but the report didn't tell me much. |
I use dotspacemacs-themes '(modus-operandi
modus-vivendi
spacemacs-light
spacemacs-dark) |
Unfortunately this doesn't help. I also tried disabling doom mode-line but without success. |
So I tried running vanilla emacs 27.1 with org superstar and the issue also occurs on vanilla. I'll report upstream. It has to be something specific to my setup but apparently more people experience this (or something similar) as can be seen in the doom emacs thread. |
Just attach you .spacemacs here |
@lebensterben Thanks but it turned out to be a font problem. I use source code pro and on 27.1 emacs did a lot of work to render the glyphs which weren't available in the font. In 26 it would just omit them. The issue was solved by using the package unicode-fonts and following the guide: https://github.com/rolandwalker/unicode-fonts |
Description
After upgrading to 27.1 Emacs hangs when opening an org-mode file.
Reproduction guide 馃
Observed behaviour: 馃憖 馃挃
Emacs hangs and has to be killed.
Expected behaviour: 鉂わ笍 馃槃
Org-mode should be usable.
System Info 馃捇
Backtrace 馃惥
The text was updated successfully, but these errors were encountered: