W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2003

Re: Exit on Amaya7.2 and emacs

From: Christian Mondrup <scancm@biobase.dk>
Date: Fri, 07 Feb 2003 17:55:41 +0100
Message-ID: <3E43E50D.3070802@biobase.dk>
To: Paul Cheyrou-lagreze <Paul.Cheyrou-Lagreze@inrialpes.fr>
CC: www-amaya@w3.org

Paul Cheyrou-lagreze wrote:
> I do use both and never had this problem... 
> 
> What is your window manager ?
> 
> Until we can reproduce the bug,
> you should add this to your .emacs :
> 
> ;; ...never quit by mistake...
> (global-set-key [(control x) (control c)]
>   (function
>    (lambda () (interactive)
>      (cond ((y-or-n-p "Quit editor? ")
>             (save-buffers-kill-emacs))))))
> 

I encounter ^X-^C quitting both amaya and emacs even after having added the 
above elisp snippet to my ~/.emacs! However I can't see any pattern in when it 
happens and when it doesn't. And I encounter that very behaviour on 2 
different linux boxes both of them set up with Redhat 7.3 and both of them 
using the sawfish window manager.

Bye
-- 
Christian Mondrup, Computer Programmer
Scandiatransplant, Skejby Hospital, University Hospital of Aarhus
Brendstrupgaardsvej, DK 8200 Aarhus N, Denmark
Phone: +45 89 49 53 01 - http://www.scandiatransplant.org
Received on Friday, 7 February 2003 11:53:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:27 UTC