Marc Auslander <marca...@gmail.com> writes: > After upgrade to squeeze, I have the following emacs curiosity. > > I bind C-xC-c to: > > (defun ctrlxctrlc () "Careful exit from emacs" > (interactive) > (if (y-or-n-p "Do you really want to exit emacs? ") > (save-buffers-kill-emacs) > (message "") > ))
FWIW, I have --8<---------------cut here---------------start------------->8--- (global-set-key "\C-x\C-c" '(lambda () (interactive) (if (y-or-n-p-with-timeout "Do you want to KILL? " 5 nil) (save-buffers-kill-emacs)))) --8<---------------cut here---------------end--------------->8--- > Under squeeze, for all three versions of emacs (21, 22,23) if I do > C-xC-c and then respond y to the prompt, emacs closes and a y is sent > to the xterm that launched emacs! ... and don't see this behaviour with GNU Emacs 23.3.1 (i486-pc-linux-gnu, GTK+ Version 2.24.6) of 2011-09-09 on spike.0x539.de, modified by Debian on Debian testing. Memnon -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/871uunmupk....@mean.albasani.net