Re: [O] Emacs hangs sometimes for no reason

2017-01-19 Thread Samuel Loury
Sebastian Christ writes: [...] > So, aren't you restarting Emacs after pkill -SIGUSR2 emacs? pkill -SIGUSR2 emacs does not stop emacs. Emacs will start a debugging session that you can stop to go back to a "normal" emacs. I found out that it generally makes emacs

Re: [O] Emacs hangs sometimes for no reason

2017-01-19 Thread Sebastian Christ
> "SL" == Samuel Loury writes: SL> For what it's worth, when this happens, I generally pkill SL> -SIGUSR2 emacs. emacs reacts to the USR2 signal by stopping SL> everything and start a lisp debugging session. From there, I SL> reset all the org caches with

Re: [O] Emacs hangs sometimes for no reason

2017-01-18 Thread Eric S Fraga
On Wednesday, 18 Jan 2017 at 14:12, Samuel Loury wrote: > For what it's worth, when this happens, I generally pkill -SIGUSR2 Thanks, this is useful. I usually try INT, USR1, KILL but never USR2. -- : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.3-241-gc3d67b signature.asc

Re: [O] Emacs hangs sometimes for no reason

2017-01-18 Thread Samuel Loury
For what it's worth, when this happens, I generally pkill -SIGUSR2 emacs. emacs reacts to the USR2 signal by stopping everything and start a lisp debugging session. From there, I reset all the org caches with this command: --8<---cut here---start->8--- (defun

Re: [O] Emacs hangs sometimes for no reason

2017-01-16 Thread Eric Abrahamsen
Michael Welle writes: > Hello, > > Eric Abrahamsen writes: > [...] >> I used to get this a lot, and always due to some interaction between the >> cache and flyspell. It hasn't happened to me for several months, though >> (Emacs from git,

Re: [O] Emacs hangs sometimes for no reason

2017-01-15 Thread Michael Welle
Hello, Eric Abrahamsen writes: [...] > I used to get this a lot, and always due to some interaction between the > cache and flyspell. It hasn't happened to me for several months, though > (Emacs from git, org-plus-contrib from the package manager). Who knows > why... I

Re: [O] Emacs hangs sometimes for no reason

2017-01-15 Thread Sebastian Christ
> "NG" == Nicolas Goaziou writes: NG> You could try to set `org-element-use-cache' to nil and see if NG> the hangs disappear. I'll try this. Thank you very much. /src -- Sebastian (Rudolfo) Christ http://rudolfochrist.github.io GPG Fingerprint: 306D 8FD3

Re: [O] Emacs hangs sometimes for no reason

2017-01-15 Thread Eric S Fraga
On Sunday, 15 Jan 2017 at 13:55, Stig Brautaset wrote: [...] > Just to say that I too experience the same. I'm convinced it started > happening since I upgraded to Org 9 (but I also started using Org's > Agenda more around the same time, I think). My versions: [...] > I can go a few days

Re: [O] Emacs hangs sometimes for no reason

2017-01-15 Thread Eric Abrahamsen
Eric S Fraga writes: > On Saturday, 14 Jan 2017 at 18:33, Sebastian Christ wrote: >> in the last couple weeks (perhaps months?) Emacs hangs for no specific >> reason for me. The single constant is, that when it hangs, it hangs >> while I'm in org-mode. This occurs on multiple

Re: [O] Emacs hangs sometimes for no reason

2017-01-15 Thread Stig Brautaset
Stig Brautaset writes: > Eric S Fraga writes: > >> On Saturday, 14 Jan 2017 at 18:33, Sebastian Christ wrote: >>> in the last couple weeks (perhaps months?) Emacs hangs for no specific >>> reason for me. The single constant is, that when it hangs, it

Re: [O] Emacs hangs sometimes for no reason

2017-01-15 Thread Stig Brautaset
Eric S Fraga writes: > On Saturday, 14 Jan 2017 at 18:33, Sebastian Christ wrote: >> in the last couple weeks (perhaps months?) Emacs hangs for no specific >> reason for me. The single constant is, that when it hangs, it hangs >> while I'm in org-mode. This occurs on multiple

Re: [O] Emacs hangs sometimes for no reason

2017-01-15 Thread Eric S Fraga
On Saturday, 14 Jan 2017 at 18:33, Sebastian Christ wrote: > in the last couple weeks (perhaps months?) Emacs hangs for no specific > reason for me. The single constant is, that when it hangs, it hangs > while I'm in org-mode. This occurs on multiple circumstance as Just to say that I experience

Re: [O] Emacs hangs sometimes for no reason

2017-01-15 Thread Sebastian Christ
> "SW" == Samuel Wales writes: SW> fwiw, i have had the element cache turned off since org 8 SW> because of intermittent bugs. i tried it on in org 9 maint SW> recently and it caused similar problems. so you might be SW> experiencing same. SW>

Re: [O] Emacs hangs sometimes for no reason

2017-01-14 Thread Samuel Wales
fwiw, i have had the element cache turned off since org 8 because of intermittent bugs. i tried it on in org 9 maint recently and it caused similar problems. so you might be experiencing same. funnily enough, it doesn't seem to make any difference to agenda creation speed, which is my

Re: [O] Emacs hangs sometimes for no reason

2017-01-14 Thread Nicolas Goaziou
Hello, Sebastian Christ writes: > in the last couple weeks (perhaps months?) Emacs hangs for no specific > reason for me. The single constant is, that when it hangs, it hangs > while I'm in org-mode. This occurs on multiple circumstance as > > - changing the outline