keybindings (was Re: JDEE installer?)

2002-12-04 Thread Peter Dobratz
Andrew Hyatt writes:
  For example, what's with the C-c C-v keybindings?  This is only one key
  off from the C-x C-c binding which exits emacs.  Not good.

I think the point of these keybindings is that they are easy to type.
In any case, you are right about C-x C-c being easy to inadvertantly
type.  It is quite easy to hit the c and x and the same time when
doing any number of commands that start with either C-x or C-c (which
most emacs modes make heavy use of).  One way to fix the problem of
inadvertently exiting emacs is to add set the variable
confirm-kill-emacs to something like y-or-n-p so that it always asks
you before exiting.

--Peter




Re: keybindings (was Re: JDEE installer?)

2002-12-04 Thread Andrew Hyatt


Peter Dobratz [EMAIL PROTECTED] writes:

 Andrew Hyatt writes:
   For example, what's with the C-c C-v keybindings?  This is only one key
   off from the C-x C-c binding which exits emacs.  Not good.
 
 I think the point of these keybindings is that they are easy to type.
 In any case, you are right about C-x C-c being easy to inadvertantly
 type.  It is quite easy to hit the c and x and the same time when
 doing any number of commands that start with either C-x or C-c (which
 most emacs modes make heavy use of).  One way to fix the problem of
 inadvertently exiting emacs is to add set the variable
 confirm-kill-emacs to something like y-or-n-p so that it always asks
 you before exiting.

Yes, I see you are correct.  This is not a unique problem with JDE.  I
have in fact turned on that C-x C-c keybinding because of this.  I do
still think that shorter keybindings might be nicer, though.  And for
debugging they are essential - they should be just keys (I have mine
bound to f10, f11, etc)

 
 --Peter