4 ms·
Crashes, as in actually exits without you triggering it? That's definitely very unusual; most lisp shouldn't be able to do that. Is there anything particularly
by catern 6y ago
Crashes, as in actually exits without you triggering it? That's definitely very unusual; most lisp shouldn't be able to do that. Is there anything particularly unusual about your config? Are you maybe using a loadable module? If you do investigate it, you might find a reportable bug.
- NotSammyHagar 6y agoIt's been years since emacs has crashed on me, very rare.
- weavie 6y agoEmacs crashes on me once a month or so. I'll just be typing something and suddenly it will disappear. I have two theories, 1. Possibly it is something to do with rust-analyzer. I work on a pretty large rust project and that does lock things up sometimes. 2. I actually hit C-x C-c by mistake. It's very possible, my fingers often do things by themselves when I'm not concentrating.
- pm215 6y agoYeah, I do 2 from time to time, because I use emacs as my long-running editor but also jmacs as a quick-one-off emacs-keybindings terminal editor, and so I tend to autotype C-x C-s C-x C-c for save-and-exit. My fix was to add this to my .emacs: (put 'save-buffers-kill-emacs 'disabled "You probably didn't want to do that...\n") which makes emacs prompt you for whether you really meant to ask it to exit. (I'm sure there are a ton of other ways to do this; this is just the first one I hit on a decade or more ago :-))
- jpcooper 6y agoSet confirm-kill-emacs to (quote yes-or-no-p) through customize-variable. See http://gnu.ist.utl.pt/software/emacs/manual/html_node/Exiting.html http://gnu.ist.utl.pt/software/emacs/manual/html_node/Exitin....
- hsbauauvhabzb 6y agoPoor wording, locks up and becomes entirely unresponsive.