Re:Emacs: The Editor for the Next Forty Years [video]
by michael-ax on Tuesday November 26, 2019 @01:40PM
(#21641255)
(setq-default garbage-collection-messages t) ??
Re:Emacs: The Editor for the Next Forty Years [video]
by Koshkin on Tuesday November 26, 2019 @04:43PM
(#21643050)
Right - that's what I need from my text editor!
Re:Emacs: The Editor for the Next Forty Years [video]
by sc4les on Wednesday November 27, 2019 @03:14AM
(#21646152)
*OS
Re:Emacs: The Editor for the Next Forty Years [video]
by showdeadplease on Wednesday November 27, 2019 @11:35AM
(#21649339)
pkill -SIGUSR2 emacs
That will cause Emacs to interrupt whatever it's doing and display a backtrace.
But then again scripting languages don't really have these interruption features by design. I'm developing something with a scripting layer and occasionally come across accidental infinite loops myself. I wonder what e.g. Factorio or Minecraft do if a mod enters an infinite loop. If the answer is "program more carefully" and "don't use badly coded mods" then I guess it can't be helped.
Proper concurrency in elisp can't come fast enough. At least then we could have a task manager to kill hung threads with.