-
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Org mode hangs very sporadically when using mini-buffers #5778
Comments
Another freeze with the same backtrace |
What is your color theme ? |
@syl20bnr Are you asking about the I am currently using |
Another case of freeze. Here is the full backtrace:
After I unfreeze spacemacs through |
Freeze during refiling. Here is the backtrace |
I thought it might be my laptop's problem, so I started working on my desktop, but I still have the same problem while refiling. Since the problem seems to be from My desktop's System Info: System Info
((auto-completion :variables auto-completion-return-key-behavior 'complete auto-completion-tab-key-behavior 'cycle auto-completion-complete-with-key-sequence nil)
better-defaults emacs-lisp git markdown org
(shell :variables shell-default-height 30 shell-default-position 'bottom)
spell-checking syntax-checking version-control
(latex :variables latex-enable-auto-fill t)
themes-megapack python) Backtrace
|
Update. The problem seems to be that of flyspell. How do I turn off flyspell on org-mode? Backtrace
|
Probably something like: (add-hook 'org-mode-hook 'spacemacs/toggle-spelling-checking-off [append]) in |
I'm not sure that it's flyspell since I'm getting the same behavior (hanging) with it disabled and with a similar backtrace. I think that something is just triggering fontification (flyspell, scrolling, etc.) and that some function being used as a font locking rule not returning or otherwise misbehaving. So, how do we figure what is going on here: Is this a byte-compiled font-lock rule? The readme for font-lock-studio talks about both "Hanging emacs" and byte-compiled font lock rules. Unfortunately, since this doesn't happen every time org files are loaded, I'm not sure that using that package to debug will work. |
I've met similar issues in some other situations. I used gdb and found out that in the function Somewhere inside
The variable Those functions in |
I experience the same issue as i-brute-force. Any solutions found yet? |
same here, still searching for a solution |
What font are you guys using? I found I need to have Source Code Pro AND have it installed (of course). |
I thought I was using Source Code Pro, but it seems I didn't have it installed. @varun531 : Did you fix the problem by installing it, or the other way around? |
@halvorlu At the time I thought I had fixed the problem by installing Source Code Pro, but Emacs started hanging again the next day, despite the installed font. Very frustrating. I just get around it by mashing Ctrl-g whenever Emacs gets hung up on an .org file. |
I'm having a similar issue. I notice that it happens when trying to open a Salstack (.sls) file. I'm using the salt layer that underneath is using mmm-mode to mix jinja and yaml |
Now I found that it only happen when opening and .sls file that is using jinja to render jinja files. That's the case when using something like [https://github.com/audreyr/cookiecutter]. It throws the same error: Not enabling jit-lock: it does not work in indirect buffer Maybe is related to the recent update of the spacemacs_theme which I'm using |
I have similar problems suddenly appear on my upto date OSX and I don't use spacemacs. I made some changes to try to make my .emacs more "modern" by copying large parts from a user here on github and changed my theme from default to wheatgrass. I added a bunch of stuff like flyspell, flycheck, ibuffer, ido, etc. with the use-package idiom so I am guessing that somewhere in there is the problem. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Description
The freeze happens very infrequently (once in a few hours of use), but once in a while, when using mini-buffer such as changing todo types or capturing something, the emacs becomes completely irresponsive.
C-g
andSPC q
are not registered, and the only way I can stop the process is throughpkill -SIGUSR2 Emacs
or shutting it off through Activity Monitor.Reproduction guide
Difficult to reproduce, but my workflow until the freeze is:
org-todo
ororg-capture
Observed behaviour:
Emacs freeze at a random interval when using some org commands
Expected behaviour:
Emacs should not freeze
System Info
Backtrace
The text was updated successfully, but these errors were encountered: