[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Caps Lock affects Ctrl+keys
From: |
Emanuel Berg |
Subject: |
Re: Caps Lock affects Ctrl+keys |
Date: |
Tue, 21 Jan 2014 03:10:56 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Yuri Khan <yuri.v.khan@gmail.com> writes:
> This is unfortunate because, as a user, I expect Caps
> Lock to only affect character input, not command
> bindings. As it is, turning on Caps Lock upsets any
> key bindings that involve Shift. This includes
> cua-mode’s C-x and C-c, and any user-defined bindings
> (in my case, C-S-z = redo and C-S-u = insert-char).
Just thought of one thing, there is a caps-mode.el,
written by a man on this list, which is great, because
it gives you caps lock functionality, but *buffer
local* (and thus obviously contained to Emacs). All
mistakes with caps is when you set it, type (in caps),
then move to somewhere else, and type something else,
and for some reason you always think it won't stick,
but it does. So it is great to have that mode and I
think it won't influence shift, because what it does is
substitute-key-definition on the self-insert-command
chars, so shift should float a parallel
current. Because I see you are a C programmer, you
might even want to check out a post on that I wrote
some time ago, with some modifications to caps-mode,
where it auto-disables after one word, so you can write
a #define MONEY 0 with just one press of the caps key
(preferably bounded to invoke caps-mode, not bothering
with the physical keyboard state).
--
underground experts united:
http://user.it.uu.se/~embe8573
- Caps Lock affects Ctrl+keys, Yuri Khan, 2014/01/20
- Re: Caps Lock affects Ctrl+keys, Jude DaShiell, 2014/01/20
- Re: Caps Lock affects Ctrl+keys, Yuri Khan, 2014/01/20
- Message not available
- Message not available
- Re: Caps Lock affects Ctrl+keys,
Emanuel Berg <=
- Re: Caps Lock affects Ctrl+keys, Yuri Khan, 2014/01/21
- Message not available
- Re: Caps Lock affects Ctrl+keys, Emanuel Berg, 2014/01/21
- Re: Caps Lock affects Ctrl+keys, Yuri Khan, 2014/01/24
- Re: Caps Lock affects Ctrl+keys, Stefan Monnier, 2014/01/24
- Message not available
- Re: Caps Lock affects Ctrl+keys, Dan Espen, 2014/01/24