[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs for everything?
From: |
Pascal Bourguignon |
Subject: |
Re: emacs for everything? |
Date: |
25 Nov 2004 04:16:23 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Maciek Pasternacki <maciekp@japhy.fnord.org> writes:
> On Prickle-Prickle, The Aftermath 37, 3170 YOLD, Leonardo Boiko wrote:
>
> >> I use XKB though to switch my Caps Lock and left Ctrl key (like Sun
> >> keyboards have) -- this one I found in docs. ;) In Emacs it makes
> >> *big* difference.
> >
> > Who needs Caps Lock anyway? Instead of switching, I just bind it as
> > another Control. Then, if by reflex I use the old Control, it's still a
> > Control.
>
> Caps lock is sometimes useful. E.G when typing SQL or Lisp code --
> I don't like to have to hold shift when typing keywords (well, maybe
> I could do Emacs tricks like `turn preceding n words to
> uppercase'... well... *click* C-h i g (emacs)...). While both these
> languages are case-insensitive so I could just use lowercase, I prefer
> to stay consistent wrt style with code written by respective language
> gurus.
There are several solutions for this.
- map Caps Lock to some other key with xmodmap. For example, I map it
to Scroll Lock which is not useful on X11..
- use caps-mode. You can even activate this minor mode from a hook of
the major modes that need upcase. It's even better than a true Caps
Lock, because you keep typing lower-case, so emacs understands all
the keys bindings. With Caps Lock, you're typing upper-case and key
bindings don't match.
(I found it on news:gnu.emacs.source a few months ago).
--
__Pascal Bourguignon__ http://www.informatimago.com/
The world will now reboot; don't bother saving your artefacts.
- Re: emacs for everything?, (continued)
- Re: emacs for everything?, Daniel Pittman, 2004/11/27
- Message not available
- Re: emacs for everything?, Mike, 2004/11/25
- Re: emacs for everything?, Maciek Pasternacki, 2004/11/25
- Message not available
- Re: emacs for everything?, Lee Sau Dan, 2004/11/24
- Re: emacs for everything?, Maciek Pasternacki, 2004/11/24
- Re: emacs for everything?, Leonardo Boiko, 2004/11/24
- Re: emacs for everything?, Maciek Pasternacki, 2004/11/24
- Re: emacs for everything?, Leonardo Boiko, 2004/11/24
- Message not available
- Re: emacs for everything?,
Pascal Bourguignon <=
- Re: emacs for everything?, Maciek Pasternacki, 2004/11/25
- Message not available
- Re: emacs for everything?, Stefan Monnier, 2004/11/25
- Re: emacs for everything?, Maciek Pasternacki, 2004/11/25
- Message not available
- Re: emacs for everything?, Stefan Monnier, 2004/11/27
- Re: emacs for everything?, Maciek Pasternacki, 2004/11/27
- Message not available
- Re: emacs for everything?, Mathias Dahl, 2004/11/25
- Message not available
- Re: emacs for everything?, Lee Sau Dan, 2004/11/28
- Re: emacs for everything?, Joe Corneli, 2004/11/28
- Re: emacs for everything?, ken, 2004/11/30
- Message not available
- Re: emacs for everything?, Floyd L. Davidson, 2004/11/24