From: Paul Michael Reilly <pmr@pajato.com>
Cc: eliz@gnu.org, emacs-devel@gnu.org
Subject: Re: Right Alt/Meta keys on Windows systems
Date: Wed, 28 Dec 2005 19:00:07 -0500 [thread overview]
Message-ID: <200512290000.jBT007bc021185@copa.pajato.com> (raw)
In-Reply-To: <200512282231.19843.pogonyshev@gmx.net> (message from Paul Pogonyshev on Wed, 28 Dec 2005 22:31:19 +0200)
Paul Pogonyshev <pogonyshev@gmx.net> writes:
> MIME-Version: 1.0
> Content-Disposition: inline
>
> Eli Zaretskii wrote:
> > > From: Paul Pogonyshev <pogonyshev@gmx.net>
> > > Date: Wed, 28 Dec 2005 21:55:21 +0200
> > > Cc: pmr@pajato.com
> > >
> > > I think it is related to the issue I raised under topic `wish: right alt/meta
> > > to switch keyboard layout while pressed'. I.e. right Alt acts as a temporary
> > > layout switcher and so it does not look as Alt to applications.
> >
> > Sorry, I'm not following: are you talking about keyboard language
> > switch invoked on MS-Windows with the Alt-SPC combination? If so,
> > then the keyboard switch works for me as I'd expect (i.e., the same as
> > it does in other Windows applications), and it doesn't affect the
> > right Alt to META mapping in any way.
>
> Well, you should have probably re-read that thread's opening message. I'm
> talking about a common function of right Alt key: it temporary (while pressed)
> disables the current layout and switches to English layout. I guess _that's_
> why right Alt doesn't work as Alt in Emacs for Lennart Borgman. I don't really
> know, though.
>
> > > I strongly believe Emacs must not do anything about it. Quite the opposite:
> > > it should properly handle Mode_switch on GNU/Linux etc. with X, so that it
> > > disables LEIM layout while it pressed.
> >
> > Are we still talking about the MS-Windows port of Emacs? Or are we
> > talking about Emacs on GNU/Linux? The OP raised the issue for
> > Windows.
>
> Now I'm talking about GNU/Linux, where Emacs is working incosistently with
> the rest of the system. It disregards Mode_switch (i.e. right Alt when
> working in the layout-disabling mode I described above) when working with
> LEIM. E.g., in Gaim, while using the Russian layout, I can type [right alt]-ъ
> to type the closing bracket, because Russian letter `ъ' is on the same key
> as the closing bracket in the English layout. In Emacs, typing [right alt]-ъ
> still produces `ъ'.
>
> > > If Windows lacks a way to disable this feature and make right Alt
> > > work the same way as left Alt, it's a problem of Windows, not of
> > > Emacs.
> >
> > As I said, right and left Alt keys work the same for me on MS-Windows.
>
> That's OK, but they don't work the same for Lennart, right? I'm arguing,
> that since it is system setting, Emacs shouldn't override it.
Sounds to me like Richard's intuition to punt on this issue before a
release was well placed. It does not appear to be a simple issue.
Paul seems to be saying that the right Alt key has a compelling
function for some set of Users (temporary keyboard layout disable)
while another set of Users wants to use both Alt keys for symmetric
Meta modifier keys. I suspect it is only a matter of time before some
Users belong to both sets. Providing a solution for both will
probably be very messy.
Meanwhile I am very curious to know how Eli managed to get his system
to provide both left and right Meta modifiers from the Alt keys. If
memory serves, when I last used Emacs on a Windows/2000/cygwin system,
I did not have this problem. But a freshly installed Windows/XP
system on a Dell PC with a Logictech natural keyboard does exhibit the
behavior. Windows/XP has a very complex Locale setting mechanism in
the control panel. Perhaps this is where one needs to select a
different locale, but it is not at all intuitively obvious how to do
this such that the right Alt key will map to a Meta modifier. Knowing
what locale settings Eli is using might help some.
Thanks,
-pmr
next prev parent reply other threads:[~2005-12-29 0:00 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-28 15:41 Right Alt/Meta keys on Windows systems Paul Michael Reilly
2005-12-28 17:27 ` Lennart Borgman
2005-12-28 19:14 ` Eli Zaretskii
2005-12-28 19:55 ` Lennart Borgman
2005-12-28 19:13 ` Eli Zaretskii
2005-12-28 19:55 ` Paul Pogonyshev
2005-12-28 20:15 ` Eli Zaretskii
2005-12-28 20:31 ` Paul Pogonyshev
2005-12-28 20:54 ` Lennart Borgman
2005-12-30 8:54 ` Mathias Dahl
2005-12-29 0:00 ` Paul Michael Reilly [this message]
2005-12-29 0:07 ` Lennart Borgman
2005-12-29 4:45 ` Eli Zaretskii
2005-12-29 6:08 ` Paul Michael Reilly
2005-12-29 19:19 ` Paul Pogonyshev
2005-12-30 4:56 ` Richard M. Stallman
2005-12-30 19:12 ` Paul Pogonyshev
2005-12-31 17:40 ` Richard M. Stallman
2005-12-31 18:47 ` David Kastrup
2005-12-29 20:34 ` Eli Zaretskii
2005-12-29 23:22 ` Paul Michael Reilly
2005-12-30 3:47 ` Stefan Monnier
2005-12-29 4:29 ` Eli Zaretskii
2005-12-29 19:10 ` Paul Pogonyshev
2005-12-29 19:37 ` Stefan Monnier
2005-12-29 21:13 ` Paul Pogonyshev
2005-12-30 0:55 ` Juri Linkov
2005-12-30 19:11 ` Mode_switch and LEIM (was Re: Right Alt/Meta keys on Windows systems) Paul Pogonyshev
2005-12-31 0:59 ` Mode_switch and LEIM Juri Linkov
2005-12-31 5:00 ` Stefan Monnier
2005-12-31 16:04 ` Paul Pogonyshev
2005-12-31 16:52 ` Stefan Monnier
2006-01-01 19:18 ` Paul Pogonyshev
2005-12-30 3:50 ` Right Alt/Meta keys on Windows systems Stefan Monnier
2005-12-30 4:02 ` Mode_switch and LEIM Stefan Monnier
2005-12-30 19:16 ` Paul Pogonyshev
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=200512290000.jBT007bc021185@copa.pajato.com \
--to=pmr@pajato.com \
--cc=eliz@gnu.org \
--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).