From: Juanma Barranquero <lekktu@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>, Jason Rumney <jasonr@gnu.org>
Subject: Re: AltGr finger twisters documented? - bug in keyboard handling?
Date: Tue, 5 Jul 2005 15:52:04 +0200 [thread overview]
Message-ID: <f7ccd24b0507050652775e3bce@mail.gmail.com> (raw)
In-Reply-To: <42CA8D10.1090702@student.lu.se>
On 7/5/05, Lennart Borgman <lennart.borgman.073@student.lu.se> wrote:
> Juanma Barranquero wrote:
>
> >Exactly. With `w32-recognize-altgr' set to nil there's no way I can
> >type C-\, because there's no way I can type \ directly.
As I've just said in another message, I was wrong on this account. I
can type \ as LCtrl-AltGr-º
> w32-recognize-altgr's value is t
>
> Recognize right-alt and left-ctrl as AltGr.
> When nil, the right-alt and left-ctrl key combination is
> interpreted normally.
> I can not see that left-ctrl works as AltGr. That is good, I would not
> want it to, but the doc string should be changed I believe.
I'm not sure the documentation is wrong, though it is less than clear.
My interpretation (but I can be very wrong, as I've not looked at the
code) is that the Windows keyboard code translates AltGr to keyboard
events LCtrl + RAlt. Emacs intercepts this behavior (at least with
w32-pass-alt-to-system set to nil, which is almost necessary to use
Emacs normally). When w32-recognize-altgr is t, Emacs is emulating
the Windows AltGr behaviour, and that's why AltGr and LCtrl-AltGr do
the same.
> The other, more serious thing, is that different keyboards seems to
> behave differently. They are not supposed to do that I guess. Or am I
> wrong for some reason?
Really, all data seen in this thread seem to point that:
- It is Windows specific
- Does not depend on the keyboard
- *Does* depend on `w32-recognize-altgr'
> Maybe all this just relates to w32? Anyway it would be very good if it
> was fixed before release!
I really don't think there's any bug to fix. Only to document.
--
/L/e/k/t/u
next prev parent reply other threads:[~2005-07-05 13:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-05 11:15 AltGr finger twisters documented? LENNART BORGMAN
2005-07-05 11:19 ` Juanma Barranquero
2005-07-05 12:18 ` Jason Rumney
2005-07-05 12:46 ` Lennart Borgman
2005-07-05 13:28 ` Juanma Barranquero
2005-07-05 13:37 ` AltGr finger twisters documented? - bug in keyboard handling? Lennart Borgman
2005-07-05 13:52 ` Juanma Barranquero [this message]
2005-07-05 12:40 ` AltGr finger twisters documented? Lennart Borgman
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=f7ccd24b0507050652775e3bce@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=jasonr@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).