3/9 I've been using Unix for about 7 years. I have one question:
How do you fucking exit out of emacs?
\_ C-X C-C
\_ uhm, no. C-x C-c
\_ C-x C-c
\_ Same difference. You never hit shift with control since
there are no shifted control codes in ASCII.
\_ Ctrl-Z, kill. loser.
\_ File->Exit
(defun kill-emacs-without-query ()
"Save modified buffers, kill subprocs and exit emacs *without* query --psb"
(interactive)
(mapcar 'process-kill-without-query (process-list))
\_ Stupid csh user, which
SUX, use type as Steve
and god intended.
\_ what's the difference?
which is a shitty csh script _/
that gets confused about things
like aliases, functions etc.
type doesn't screw up like that.
\_ which is a built-in command in tcsh, and it
seems to work fine on aliases, etc.
\_ what about functions? oh, I forgot, *csh
doesn't have functions. Yeah, what a cool
shell.
(save-buffers-kill-emacs t))
\_ kill -9 EMACS_PID_GOES_HERE ; /bin/rm `which emacs` ; vi
\_ /bin/ps -auwxx | grep emacs | grep -v grep | awk '{ print $2; }' |\
xargs kill -9
\_ you really shouldn't be using kill -9, twinks.
\_ I know, I was just correcting his command.
\_ Get a real OS, save a ton of keystrokes: pkill emacs
(global-set-key "\C-x*" 'kill-emacs-without-query)
\_ so if i just want a vi ":q!" function i can just get rid of the save
cmd?
\- no, then just run kill-emacs. --psb
\_ oh yeah. so do you know why I get ".#foo" links for each
modified buffer when I kill-emacs?
\_ They are auto-save files, emacs thinks that you exited
by mistake and keeps those around in case you want to
recover them.
\_ yes but I disabled auto-save and I still get these
links, that point to my email address and shit.
there's nothing useful about them and I can't get
rid of them. Emacs reminds me of Windows.
\_ auto-save is a per-buffer thing, I don't think
it can be globally deactivated.
\_ I've been using Unix for about 9 years. I have one question:
How do you fucking exit out of vi without saving?
\_ :q! ; find / -depth -type f -name "*vi" -print | xargs rm -f
\_ i've been using dos for 5 years now, how do you quit out of edlin? |