Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu to 100% when folding org headings #130

Open
pgrond opened this issue Jan 22, 2025 · 7 comments
Open

cpu to 100% when folding org headings #130

pgrond opened this issue Jan 22, 2025 · 7 comments
Labels
doom-emacs external bug Not a problem with the modus-themes

Comments

@pgrond
Copy link

pgrond commented Jan 22, 2025

I have a specific org mode file, that makes the cpu spike to 100% and emacs just hangs. It only happens in this file AND with modus-themes loaded.
I am using doom emacs, and selecting a theme from the doom collection doesn't trigger the problem.

I know that this is probably not enough info to find the problem, but how do I profile this issue in emacs when emacs is totally unresponsive if the
problem occurs?

What can I do to provide more info?

@protesilaos
Copy link
Owner

protesilaos commented Jan 22, 2025 via email

@pgrond
Copy link
Author

pgrond commented Jan 22, 2025

C-g does not work unfortunately.

@protesilaos
Copy link
Owner

protesilaos commented Jan 23, 2025 via email

@pgrond
Copy link
Author

pgrond commented Jan 23, 2025

Nope, emacs still stays unresponsive, no matter what I try. pkill -SIGUSR2 -i emacs also doesn't work.
A bit more of googling points to a possible issue with font-lock (https://www.reddit.com/r/emacs/comments/ubk6kr/emacs_consuming_cpu_in_endless_loop_what_are_my/), which seems reasonable because it is theme dependent.

@protesilaos
Copy link
Owner

protesilaos commented Jan 23, 2025 via email

@protesilaos protesilaos added external bug Not a problem with the modus-themes doom-emacs labels Jan 23, 2025
@pgrond
Copy link
Author

pgrond commented Jan 23, 2025

I can reproduce it with other themes too, like the ef-themes. Doom themes do not have the issue, also other basic themes like Leuven or tango doe not have the issue. I will try to narrow it down. Maybe some issue with another package/configuration.

@protesilaos
Copy link
Owner

protesilaos commented Jan 23, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doom-emacs external bug Not a problem with the modus-themes
Projects
None yet
Development

No branches or pull requests

2 participants