3 ms·
Interesting, that was more the experience I had the first time I tried using Emacs as a vi user. The documentation I could find (limited, this was back in the
by linsomniac 7y ago
Interesting, that was more the experience I had the first time I tried using Emacs as a vi user. The documentation I could find (limited, this was back in the <gasp> '80s, couldn't google it), said "You are never intended to leave Emacs, you should be able to do everything inside it." I was done with my lunch break and needed to get back to work, so I went to another X window and killed Emacs.
- jaster 7y agoNowadays, default (with-a-gui) emacs has the very standard "File > Quit" drop-dowm menu ;)
- nobleach 7y agoOddly I have an installation of Emacs on my current ArchLinux box that doesn't shut down with `C-xC-c`.... I've had to resort to `C-z, ps ax | grep emacs` to kill the process. I haven't cared enough to fix it.
- jaster 7y agoAssuming `M-x` still works correctly, in emacs you can explicitly run any command associated with a shortcut. So in this case, `M-x save-buffers-kill-emacs`, or simply `M-x kill-emacs`, could have done the job. (if this still didn't work, you could even have written "(kill-emacs)" in a buffer and ran it with `C-x C-e` :D )
- sophacles 7y agoI'd like to tangent a bit and introduce you to pgrep and pkill (available in arch via `procps-ng` pkg). They are very nice for reducing the amount of grep/sed/awk magic on the output of ps.