unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David De La Harpe Golden <david@harpegolden.net>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 7637@debbugs.gnu.org, emacs-devel@gnu.org
Subject: Re: bug#7637: 24.0.50; Caps Lock triggers set-mark-command
Date: Mon, 20 Dec 2010 21:39:07 +0000	[thread overview]
Message-ID: <4D0FCCFB.8080301@harpegolden.net> (raw)
In-Reply-To: <87r5dc1mud.fsf@stupidchicken.com>

On 20/12/10 15:32, Chong Yidong wrote:
> A user has reported that under a certain KDE setting, Caps Lock breaks
> Emacs by making every motion key a shift-motion key, thus breaking the
> shift-selection feature.  Does anyone have KDE installed to test this?
>

Certainly KDE has:
System Settings -> Personal -> Regional & Language
-> Keyboard Layout -> Advanced
-> CapsLock key behaviour
-> CapsLock toggles Shift so all keys are affected

(and a bunch of other options)

i.e. It makes the caps lock key a true "shift lock", but it works "as 
intended" AFAICS - cursor keys will in effect be shifted (and therefore 
sweep out selections) when the shiftlock is on, and not when the 
shiftlock is off. (tested). On my machine, when active, both the caps 
lock and scroll lock LEDs are lit when the "shift lock" is activated.

It's essentially equivalent to something you can do on the command line 
with setxkbmap, in fact the settings dialog prints the command line it's 
using at the bottom e.g.
setxkbmap -option caps:shiftlock

My understanding is that it's a chording-avoidance accessibility 
feature, and there's little emacs can or should do about it. KDE Kate 
and other X11 apps are affected in the same way as emacs, unsurprisingly.

If you want normal caps lock behaviour, i.e. letters are capitalised but 
other stuff isn't shifted, then, er, leave it as a caps lock, not a 
shift lock.




  parent reply	other threads:[~2010-12-20 21:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTi=KVaJm7QzPDsLeViKdfGVFamZpXyoSF7LWxR08@mail.gmail.com>
     [not found] ` <87zks6bg1c.fsf@stupidchicken.com>
     [not found]   ` <AANLkTik=0zhp8My32xuSz3qMmKBcobR8rpQP5xQn7EUT@mail.gmail.com>
2010-12-20 15:32     ` bug#7637: 24.0.50; Caps Lock triggers set-mark-command Chong Yidong
2010-12-20 17:11       ` Marco Pessotto
2010-12-20 21:51         ` David De La Harpe Golden
2010-12-20 22:40           ` Marco Pessotto
2010-12-21  0:09             ` David De La Harpe Golden
2010-12-21  8:50               ` Marco Pessotto
2010-12-20 21:39       ` David De La Harpe Golden [this message]
2012-04-18  8:01         ` Karl Ljungkvist

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=4D0FCCFB.8080301@harpegolden.net \
    --to=david@harpegolden.net \
    --cc=7637@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).