|
From: | Kim F. Storm |
Subject: | Re: position on changing defaults? |
Date: | Sat, 08 Mar 2008 20:08:59 +0100 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.1.91 (gnu/linux) |
Richard Stallman <address@hidden> writes: > I'm not sure I understand what you're proposing. > One thing we can do right now is: > > (define-key function-key-map [S-up] > (lambda (prompt) (setq foo-shited t) [up])) > > It is rather kludgy to set `foo-shited' that way. > (And can you be sure it is reliably reset to nil? > What if you type C-g at the wrong moment?) > > Why do this rather than directly bind S-up to a command > that does exactly what is wanted? I have rechecked the relevant code - and it seems the S- checking hacks for ttys is no longer used by cua-mode; it works to check for the shift modifier in the current key sequence on ttys as well. Sorry for the noise (in this specific area). -- Kim F. Storm <address@hidden> http://www.cua.dk
[Prev in Thread] | Current Thread | [Next in Thread] |