unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: k0ga@shike2.com
Cc: emacs-devel@gnu.org
Subject: Re: Movement commands and caps lock
Date: Tue, 14 Aug 2012 23:27:20 -0400	[thread overview]
Message-ID: <jwvboicsutg.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20120812172424.GB9357@shike2.com> (Roberto E. Vargas Caballero's message of "Sun, 12 Aug 2012 19:24:24 +0200")

> But if I do this same test in text mode I don't get any behaviour related to
> the selection and the result of C-h k C-b is:

> C-b runs the command backward-char

> Without the '(translated from C-S-b)' message that it shows in graphical
> mode.

IIUC, by "text mode" you don't mean M-x text-mode RET ubt you mean that
Emacs is running in a something like a Linux console or an xterm, right?
Then the difference is simply that the processing of caps-lock is done
by xterm so Emacs never gets to know that caps-lock is enabled.

> This behaviour does almost impossible any editing with caps lock enabled,
> and it is not coherent different behaviours in graphical or text modes.

IIRC the processing of caps lock is OS dependent, but assuming you're
running with an X11 display, then it might even depend on the exact kind
of "lock" you're using (I seem to remember that the behavior might
depend on things such as whether the key is a shift-lock or caps-lock).


        Stefan



  reply	other threads:[~2012-08-15  3:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-12 17:24 Movement commands and caps lock Roberto E. Vargas Caballero
2012-08-15  3:27 ` Stefan Monnier [this message]
2012-08-15  6:29   ` Roberto E. Vargas Caballero
2012-08-15 14:34     ` Davis Herring
2012-08-15 14:36     ` Andreas Schwab

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=jwvboicsutg.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=k0ga@shike2.com \
    /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).