all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Caps Lock affects Ctrl+keys
Date: Tue, 21 Jan 2014 03:10:56 +0100	[thread overview]
Message-ID: <87ppnmulrq.fsf@nl106-137-194.student.uu.se> (raw)
In-Reply-To: mailman.12458.1390250342.10748.help-gnu-emacs@gnu.org

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


  parent reply	other threads:[~2014-01-21  2:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-20 11:57 Caps Lock affects Ctrl+keys Yuri Khan
2014-01-20 14:47 ` Jude DaShiell
2014-01-20 15:24   ` Yuri Khan
2014-01-20 17:47     ` Jude DaShiell
     [not found]     ` <mailman.12433.1390240051.10748.help-gnu-emacs@gnu.org>
2014-01-20 18:24       ` Emanuel Berg
     [not found]   ` <mailman.12400.1390231499.10748.help-gnu-emacs@gnu.org>
2014-01-20 17:23     ` Emanuel Berg
2014-01-20 18:30       ` Yuri Khan
     [not found]       ` <mailman.12445.1390242632.10748.help-gnu-emacs@gnu.org>
2014-01-20 18:53         ` Emanuel Berg
2014-01-20 20:38 ` Yuri Khan
     [not found] ` <mailman.12458.1390250342.10748.help-gnu-emacs@gnu.org>
2014-01-20 22:55   ` Emanuel Berg
2014-01-21  2:10   ` Emanuel Berg [this message]
2014-01-21  5:07     ` Yuri Khan
     [not found]     ` <mailman.12490.1390280831.10748.help-gnu-emacs@gnu.org>
2014-01-21 17:38       ` Emanuel Berg
2014-01-24 14:38     ` Yuri Khan
2014-01-24 15:56       ` Stefan Monnier
     [not found]     ` <mailman.12684.1390574300.10748.help-gnu-emacs@gnu.org>
2014-01-24 15:22       ` Dan Espen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppnmulrq.fsf@nl106-137-194.student.uu.se \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.