Re: [O] Emacs hangs while loading org file with python blocks

2016-12-07 Thread David Dynerman
Dear Alan & Clément, Thanks for trying to reproduce - it's good to know it's not only happening to me. I've just sent the bug report upstream to bug-gnu-emacs. David Alan Schmitt writes: > Hello David, > > On 2016-12-06 17:41, David Dynerman writes: > >> I've now managed to extract a minima

Re: [O] Emacs hangs while loading org file with python blocks

2016-12-07 Thread Alan Schmitt
Hello David, On 2016-12-06 17:41, David Dynerman writes: > I've now managed to extract a minimal org file that reproduces the hang: I can confirm it hangs emacs: it even hanged gnus as it was trying to display your email. Best, Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric

Re: [O] Emacs hangs while loading org file with python blocks

2016-12-06 Thread Clément Pit--Claudel
Hi David, It might be good to open a bug report on the Emacs side; a Python font-locking freeze was fixed on master recently, but there may be other ones (your example hangs Emacs for me too), and your profile doesn't seem very Org-specific. The following backtrace might be useful too: Debugge

[O] Emacs hangs while loading org file with python blocks

2016-12-06 Thread David Dynerman
Dear list, For several months I've been encountering a frustrating bug. My emacs hangs while initially loading an org file with ~3000 lines and around two dozen python blocks. If I press C-g during the lockup, emacs wakes up and the file is loaded. The hang does not re-occur after happening on

Re: [O] Emacs hangs while loading .org file

2016-08-17 Thread Nick Dokos
David Dynerman writes: > Dear list, > > I have a fairly large org-file [1] (~2k lines) containing a substantial > amount of code in #+BEGIN_SRC/#+END_SRC blocks. The code is mostly > python, with one or two C blocks. > > Recently emacs has started to hang when loading the file for the first > tim

[O] Emacs hangs while loading .org file

2016-08-17 Thread David Dynerman
Dear list, I have a fairly large org-file [1] (~2k lines) containing a substantial amount of code in #+BEGIN_SRC/#+END_SRC blocks. The code is mostly python, with one or two C blocks. Recently emacs has started to hang when loading the file for the first time. I saved a profiling report [2] where