GNU bug report logs - #5206
OPTION key combinations using international keyboards in the NEXTSTEP versions of Emacs don't work

Previous Next

Package: emacs;

Reported by: Anders Bolt-Evensen <a-bolt <at> online.no>

Date: Sun, 13 Dec 2009 10:25:04 UTC

Severity: wishlist

Merged with 5011, 24729, 51893

Found in version 24.5

To reply to this bug, email your comments to 5206 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5206; Package emacs. (Sun, 13 Dec 2009 10:25:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Anders Bolt-Evensen <a-bolt <at> online.no>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 13 Dec 2009 10:25:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Anders Bolt-Evensen <a-bolt <at> online.no>
To: bug-emacs <at> gnu.org
Subject: OPTION key combinations using international keyboards in the NEXTSTEP versions of Emacs don't work
Date: Sun, 13 Dec 2009 11:18:38 +0100
Hey!

I've been working on Emacs for some time now, and recently I started using the Mac OS X user interface instead of the X windowing system.
But there is one problem: I'm using a Norwegian keyboard, and to use characters like |, [, ], {, } and a few other characters I need to use either the OPTION or SHIFT+OPTION keys. In the NEXTSTEP version of Emacs the OPTION key is defined as the meta key.

OPTION+7 = |
OPTION+8 = [
OPTION+9 = ]
SHIFT+OPTION+7 = \
SHIFT+OPTION+8 = {
SHIFT+OPTION+9 = }

When I press the OPTION+7 keys, the vertical bar should appear as seen in the list above, but insted nothing happens until I press an other key, in this case I used the A key, and "aaaaaaa" appears. When I press the SHIFT+OPTION+7 keys, the word "system" appears. This problem only applies to the NEXTSTEP version - the terminal and X window versions work as they should.

Best regards, 
Anders



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5206; Package emacs. (Mon, 14 Dec 2009 08:10:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jan Djärv <jan.h.d <at> swipnet.se>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 14 Dec 2009 08:10:06 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Anders Bolt-Evensen <a-bolt <at> online.no>, 5206 <at> debbugs.gnu.org
Cc: bug-emacs <at> gnu.org
Subject: Re: bug#5206: OPTION key combinations using international keyboards
 in	the NEXTSTEP versions of Emacs don't work
Date: Mon, 14 Dec 2009 09:02:20 +0100

Anders Bolt-Evensen skrev 2009-12-13 11.18:
> Hey!
>
> I've been working on Emacs for some time now, and recently I started using the Mac OS X user interface instead of the X windowing system.
> But there is one problem: I'm using a Norwegian keyboard, and to use characters like |, [, ], {, } and a few other characters I need to use either the OPTION or SHIFT+OPTION keys. In the NEXTSTEP version of Emacs the OPTION key is defined as the meta key.
>
> OPTION+7 = |
> OPTION+8 = [
> OPTION+9 = ]
> SHIFT+OPTION+7 = \
> SHIFT+OPTION+8 = {
> SHIFT+OPTION+9 = }
>
> When I press the OPTION+7 keys, the vertical bar should appear as seen in the list above, but insted nothing happens until I press an other key, in this case I used the A key, and "aaaaaaa" appears. When I press the SHIFT+OPTION+7 keys, the word "system" appears. This problem only applies to the NEXTSTEP version - the terminal and X window versions work as they should.
>

The defaults used for Emacs is really bad, it makes Emacs almost unusable for 
any text input if you have a non-english keyboard.

Here is what I do as a workaround:

M-x customize-group <return> ns <return>

Scroll down a bit and you see
NS Command Modifier: [Value Menu] super
...
NS Alternate modifier: [Value Menu] meta

If you change those so that command is meta and alternate modifier is No 
modifier you can then use Alt as ususal (i.e. Alt 7 gives | as normal) and use 
the Command-key as meta.

I don't understand why there is a default mapping from Command-key to super. 
Super is very little used and many binding seems to be duplicates of other 
bindings.

	Jan D.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5206; Package emacs. (Mon, 14 Dec 2009 08:10:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jan Djärv <jan.h.d <at> swipnet.se>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 14 Dec 2009 08:10:08 GMT) Full text and rfc822 format available.

bug reassigned from package 'emacs' to 'emacs,ns'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Mon, 14 Dec 2009 17:20:07 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#5206; Package emacs. (Tue, 05 Apr 2016 20:51:01 GMT) Full text and rfc822 format available.

Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Anders Bolt-Evensen <a-bolt <at> online.no>
Cc: bug-emacs <at> gnu.org, 5206 <at> debbugs.gnu.org
Subject: Re: bug#5206: OPTION key combinations using international keyboards
 in the NEXTSTEP versions of Emacs don't work
Date: Tue, 05 Apr 2016 21:50:37 +0100
Anders Bolt-Evensen <a-bolt <at> online.no> writes:

> Hey!
>
> I've been working on Emacs for some time now, and recently I started using the Mac OS X user interface instead of the X windowing system.
> But there is one problem: I'm using a Norwegian keyboard, and to use characters like |, [, ], {, } and a few other characters I need to use either the OPTION or SHIFT+OPTION keys. In the NEXTSTEP version of Emacs the OPTION key is defined as the meta key.
>
> OPTION+7 = |
> OPTION+8 = [
> OPTION+9 = ]
> SHIFT+OPTION+7 = \
> SHIFT+OPTION+8 = {
> SHIFT+OPTION+9 = }
>
> When I press the OPTION+7 keys, the vertical bar should appear as seen
> in the list above, but insted nothing happens until I press an other
> key, in this case I used the A key, and "aaaaaaa" appears. When I
> press the SHIFT+OPTION+7 keys, the word "system" appears. This problem
> only applies to the NEXTSTEP version - the terminal and X window
> versions work as they should.

Hi, one way round this is to unset the right-option key in Emacs so
left-option works as meta and right-option will behave as "normal":

(setq ns-right-alternate-modifier (quote none))

If you don't like that, there are all sorts of other ways you could
rebind keys.

Emacs has behaved this way for a long time so I get the feeling it's
unlikely the default behaviour is going to be changed. I don't know what
a good alternate default would be as not having a meta key makes Emacs
kind of hard to use and I don't consider the escape key a decent
alternative. Does anyone else have an opinion? Is this a non-bug?
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#5206; Package emacs. (Tue, 05 Apr 2016 20:51:02 GMT) Full text and rfc822 format available.

Merged 5011 5206. Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Sun, 10 Apr 2016 22:50:01 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Sun, 10 Jul 2016 15:00:02 GMT) Full text and rfc822 format available.

Merged 5011 5206 24729. Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Wed, 19 Oct 2016 10:52:02 GMT) Full text and rfc822 format available.

Merged 5011 5206 24729 51893. Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Tue, 16 Nov 2021 21:21:02 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 208 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.