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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Anders Bolt-Evensen <a-bolt@HIDDEN>; merged with #5011, #24729, #51893; dated Sun, 13 Dec 2009 10:25:04 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 5011 5206 24729 51893. Request was from Alan Third <alan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 5011 5206 24729. Request was from Alan Third <alan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Alan Third <alan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 5011 5206. Request was from Alan Third <alan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 5206 <at> debbugs.gnu.org:


Received: (at 5206) by debbugs.gnu.org; 5 Apr 2016 20:50:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 05 16:50:45 2016
Received: from localhost ([127.0.0.1]:50735 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1anXvx-0006Te-Bp
	for submit <at> debbugs.gnu.org; Tue, 05 Apr 2016 16:50:45 -0400
Received: from mail-wm0-f46.google.com ([74.125.82.46]:34967)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <athird@HIDDEN>) id 1anXvw-0006TR-Fe
 for 5206 <at> debbugs.gnu.org; Tue, 05 Apr 2016 16:50:44 -0400
Received: by mail-wm0-f46.google.com with SMTP id 191so37030857wmq.0
 for <5206 <at> debbugs.gnu.org>; Tue, 05 Apr 2016 13:50:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=20120113;
 h=sender:from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=qsnAukj+yHwpZAjHg6bUR2614RCCw+cI5xLkhnA3R9E=;
 b=d1zxcwXSnVHYcHiedcEoolA1WPb9f3wuyDQPo1Eq2OF30aeqGWGEBUU/0hh/swbrrl
 V7mxCZAWxPJBYYyIFLEniKYPMQxr5frIzqcamb3QuXtBhSkFNx/KQFnmN/yzISnzTjSq
 wGgjg66WIEHgWb6hn7bivvd2tWSLZJOqfTDKJAgjFU/2POj2jISDbZ4L4pnA26vpE0Te
 nn6lGPgMRB136J6lthlGzwQPfic5zZOdVXcNlJ85hiM6wUUCmsmFwosPYB+Kyi8pFPGx
 +MrqBlgeSt8EpufH2M3HzwMHViojQ/0R7/BTUvhoIttcTy7k9fohmdWdeWA2A3sY3kbn
 k41Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:sender:from:to:cc:subject:references:date
 :in-reply-to:message-id:user-agent:mime-version;
 bh=qsnAukj+yHwpZAjHg6bUR2614RCCw+cI5xLkhnA3R9E=;
 b=Nme/rDRKiNL/i2WT342xNTWX1fNnyNns+CFGerWRc3UgPrUy+Ru69OboWNM5zZaBDU
 8LvkgVoBXTTw3o2VW7wtiqyQDTn9Uv6AzdPFo5IjU8n9McE64tSuCFt5kBpZrVzycE6g
 K6Ka5SNs1lf2HbU+7915vYxSpg6XUHrmDXqEw0KPI/MSSjpTf5BsnJQzJbc95XdrJQLp
 xIFZBQXaWnFA8RqadS6dTUITdXttCSH9IKMDuW5Gb47U/00Qm1VXiWKQIGMFoCOlX8eW
 rU4fPiLd7vae4MQ8flLK6NKchEpX7dGPelDYV3p62GZdL8Z8V4O6wyVDdNwsWzJNwMUz
 14zw==
X-Gm-Message-State: AD7BkJIucvD7vj+/Uam8+s73aiL5H5foZk7MD5j52lrvWZ/P17+/qiUZ+v/PU2eJlX4N7g==
X-Received: by 10.28.224.132 with SMTP id x126mr20420729wmg.88.1459889438905; 
 Tue, 05 Apr 2016 13:50:38 -0700 (PDT)
Received: from breton.local ([2001:8b0:3f8:8129:25e4:bde8:8b05:7289])
 by smtp.gmail.com with ESMTPSA id 138sm21424571wmf.13.2016.04.05.13.50.38
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 05 Apr 2016 13:50:38 -0700 (PDT)
From: Alan Third <alan@HIDDEN>
To: Anders Bolt-Evensen <a-bolt@HIDDEN>
Subject: Re: bug#5206: OPTION key combinations using international keyboards
 in the NEXTSTEP versions of Emacs don't work
References: <88AF87D3-853F-44C6-9737-E654DD4C54F1@HIDDEN>
Date: Tue, 05 Apr 2016 21:50:37 +0100
In-Reply-To: <88AF87D3-853F-44C6-9737-E654DD4C54F1@HIDDEN> (Anders
 Bolt-Evensen's message of "Sun, 13 Dec 2009 11:18:38 +0100")
Message-ID: <m28u0rlqzm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (darwin)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 5206
Cc: bug-emacs@HIDDEN, 5206 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Anders Bolt-Evensen <a-bolt@HIDDEN> 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@HIDDEN:
bug#5206; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Apr 2016 20:50:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 05 16:50:52 2016
Received: from localhost ([127.0.0.1]:50738 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1anXw4-0006Tz-KP
	for submit <at> debbugs.gnu.org; Tue, 05 Apr 2016 16:50:52 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55559)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <athird@HIDDEN>) id 1anXw3-0006Tm-MH
 for submit <at> debbugs.gnu.org; Tue, 05 Apr 2016 16:50:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <athird@HIDDEN>) id 1anXvx-0005J7-Dz
 for submit <at> debbugs.gnu.org; Tue, 05 Apr 2016 16:50:46 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:46994)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <athird@HIDDEN>) id 1anXvx-0005J3-AV
 for submit <at> debbugs.gnu.org; Tue, 05 Apr 2016 16:50:45 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46518)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <athird@HIDDEN>) id 1anXvv-0006gN-UA
 for bug-gnu-emacs@HIDDEN; Tue, 05 Apr 2016 16:50:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <athird@HIDDEN>) id 1anXvu-0005Hi-Pb
 for bug-gnu-emacs@HIDDEN; Tue, 05 Apr 2016 16:50:43 -0400
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54967)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <athird@HIDDEN>) id 1anXvu-0005HZ-Ls
 for bug-gnu-emacs@HIDDEN; Tue, 05 Apr 2016 16:50:42 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39119)
 by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <athird@HIDDEN>)
 id 1anXvu-0007iV-4l
 for bug-emacs@HIDDEN; Tue, 05 Apr 2016 16:50:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <athird@HIDDEN>) id 1anXvs-0005GT-HN
 for bug-emacs@HIDDEN; Tue, 05 Apr 2016 16:50:41 -0400
Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:33658)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <athird@HIDDEN>) id 1anXvs-0005FV-4t
 for bug-emacs@HIDDEN; Tue, 05 Apr 2016 16:50:40 -0400
Received: by mail-wm0-x229.google.com with SMTP id f198so47610402wme.0
 for <bug-emacs@HIDDEN>; Tue, 05 Apr 2016 13:50:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=20120113;
 h=sender:from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=qsnAukj+yHwpZAjHg6bUR2614RCCw+cI5xLkhnA3R9E=;
 b=d1zxcwXSnVHYcHiedcEoolA1WPb9f3wuyDQPo1Eq2OF30aeqGWGEBUU/0hh/swbrrl
 V7mxCZAWxPJBYYyIFLEniKYPMQxr5frIzqcamb3QuXtBhSkFNx/KQFnmN/yzISnzTjSq
 wGgjg66WIEHgWb6hn7bivvd2tWSLZJOqfTDKJAgjFU/2POj2jISDbZ4L4pnA26vpE0Te
 nn6lGPgMRB136J6lthlGzwQPfic5zZOdVXcNlJ85hiM6wUUCmsmFwosPYB+Kyi8pFPGx
 +MrqBlgeSt8EpufH2M3HzwMHViojQ/0R7/BTUvhoIttcTy7k9fohmdWdeWA2A3sY3kbn
 k41Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:sender:from:to:cc:subject:references:date
 :in-reply-to:message-id:user-agent:mime-version;
 bh=qsnAukj+yHwpZAjHg6bUR2614RCCw+cI5xLkhnA3R9E=;
 b=Vbd8gg+Z8sjv4xQKMiESianML8mnhzi35R0FYpUuQvN5/wYlUvZCK9JD6s/hqN+PAx
 qA9rsSk7uTsFZWlm7HqPWpPZibIYbBEz6HPuZhBY1q2msKLOmQ6hgwowySJqObKA2Tn8
 knrQsZ5zvUMQKysAjEYKNdh9SOGcrMO3u1V+/tWw35XPtl7o6ie5flPCFiQDtiQ+3EVW
 n0F+DOVY5Sj/BwwywkhSN/ZH+z3J+1l1QHuyP9rXzMPOEdINTOybcaPdwB22YG4ReTh8
 ue5GU5vnGsQOIqlEkFCqh7cezBgrnqf1ydeAAp7Gr76EydRe8ljkBrz9UTEGh6O3sr31
 ycrw==
X-Gm-Message-State: AD7BkJLYdP/odDB1Afl7BoEnQ4sS5uwzltrWu/c6IPuSIZF9TCUgOe3VEXyL/ruNizT9rQ==
X-Received: by 10.28.224.132 with SMTP id x126mr20420729wmg.88.1459889438905; 
 Tue, 05 Apr 2016 13:50:38 -0700 (PDT)
Received: from breton.local ([2001:8b0:3f8:8129:25e4:bde8:8b05:7289])
 by smtp.gmail.com with ESMTPSA id 138sm21424571wmf.13.2016.04.05.13.50.38
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 05 Apr 2016 13:50:38 -0700 (PDT)
From: Alan Third <alan@HIDDEN>
To: Anders Bolt-Evensen <a-bolt@HIDDEN>
Subject: Re: bug#5206: OPTION key combinations using international keyboards
 in the NEXTSTEP versions of Emacs don't work
References: <88AF87D3-853F-44C6-9737-E654DD4C54F1@HIDDEN>
Date: Tue, 05 Apr 2016 21:50:37 +0100
In-Reply-To: <88AF87D3-853F-44C6-9737-E654DD4C54F1@HIDDEN> (Anders
 Bolt-Evensen's message of "Sun, 13 Dec 2009 11:18:38 +0100")
Message-ID: <m28u0rlqzm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (darwin)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-Debbugs-Envelope-To: submit
Cc: bug-emacs@HIDDEN, 5206 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.8 (---)

Anders Bolt-Evensen <a-bolt@HIDDEN> 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@HIDDEN:
bug#5206; Package emacs. Full text available.
bug reassigned from package 'emacs' to 'emacs,ns'. Request was from Glenn Morris <rgm@HIDDEN> to control@HIDDEN. Full text available.

Message received at 5206@HIDDEN:


Received: (at 5206) by emacsbugs.donarmstrong.com; 14 Dec 2009 08:02:29 +0000
From jan.h.d@HIDDEN Mon Dec 14 00:02:29 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-2.7 required=4.0 tests=AWL,HAS_BUG_NUMBER
	autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBE82RAX010778
	for <5206@HIDDEN>; Mon, 14 Dec 2009 00:02:29 -0800
Received: from ipb2.telenor.se (195.54.127.165) by proxy2.bredband.net (7.3.140.3)
        id 4AD3E1BC01B0AEE6 for 5206@HIDDEN; Mon, 14 Dec 2009 09:02:22 +0100
X-SMTPAUTH-B2: 
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgRlAIt/JUtV4S1uPGdsb2JhbACBSocgj32CSQEBAQE3uT+EKwQ
X-IronPort-AV: E=Sophos;i="4.47,394,1257116400"; 
   d="scan'208";a="15395042"
Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110])
  by ipb2.telenor.se with ESMTP; 14 Dec 2009 09:02:21 +0100
Received: from [172.20.199.13] (zeplin [172.20.199.13])
	by coolsville.localdomain (Postfix) with ESMTPSA id 1D6D97FA07B;
	Mon, 14 Dec 2009 09:02:21 +0100 (CET)
Message-ID: <4B25F10C.4080706@HIDDEN>
Date: Mon, 14 Dec 2009 09:02:20 +0100
From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= <jan.h.d@HIDDEN>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0
MIME-Version: 1.0
To: Anders Bolt-Evensen <a-bolt@HIDDEN>, 5206 <at> debbugs.gnu.org
CC: bug-emacs@HIDDEN
Subject: Re: bug#5206: OPTION key combinations using international keyboards
 in	the NEXTSTEP versions of Emacs don't work
References: <88AF87D3-853F-44C6-9737-E654DD4C54F1@HIDDEN>
In-Reply-To: <88AF87D3-853F-44C6-9737-E654DD4C54F1@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit



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.



Acknowledgement sent to Jan Djärv <jan.h.d@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#5206; Package emacs. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 14 Dec 2009 08:02:37 +0000
From jan.h.d@HIDDEN Mon Dec 14 00:02:37 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-2.7 required=4.0 tests=AWL,HAS_BUG_NUMBER
	autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBE82Y4v010784
	for <submit@HIDDEN>; Mon, 14 Dec 2009 00:02:35 -0800
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1NK5t4-0005Wl-6E
	for bug-gnu-emacs@HIDDEN; Mon, 14 Dec 2009 03:02:34 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1NK5sy-0005Vp-Vk
	for bug-gnu-emacs@HIDDEN; Mon, 14 Dec 2009 03:02:33 -0500
Received: from [199.232.76.173] (port=36163 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1NK5sy-0005VZ-Ok
	for bug-gnu-emacs@HIDDEN; Mon, 14 Dec 2009 03:02:28 -0500
Received: from fencepost.gnu.org ([140.186.70.10]:50225)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <jan.h.d@HIDDEN>)
	id 1NK5sy-0005DP-7R
	for bug-gnu-emacs@HIDDEN; Mon, 14 Dec 2009 03:02:28 -0500
Received: from mail.gnu.org ([199.232.76.166]:52314 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.69)
	(envelope-from <jan.h.d@HIDDEN>)
	id 1NK5sx-00005F-Uv
	for bug-emacs@HIDDEN; Mon, 14 Dec 2009 03:02:28 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <jan.h.d@HIDDEN>)
	id 1NK5sw-0005D9-53
	for bug-emacs@HIDDEN; Mon, 14 Dec 2009 03:02:27 -0500
Received: from proxy3.bredband.net ([195.54.101.73]:60595)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <jan.h.d@HIDDEN>)
	id 1NK5sv-0005Cn-O2
	for bug-emacs@HIDDEN; Mon, 14 Dec 2009 03:02:26 -0500
Received: from ipb2.telenor.se (195.54.127.165) by proxy3.bredband.net (7.3.140.3)
        id 4AD3E1BA019F4915 for bug-emacs@HIDDEN; Mon, 14 Dec 2009 09:02:22 +0100
X-SMTPAUTH-B2: 
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgRlAIt/JUtV4S1uPGdsb2JhbACBSocgj32CSQEBAQE3uT+EKwQ
X-IronPort-AV: E=Sophos;i="4.47,394,1257116400"; 
   d="scan'208";a="15395042"
Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110])
  by ipb2.telenor.se with ESMTP; 14 Dec 2009 09:02:21 +0100
Received: from [172.20.199.13] (zeplin [172.20.199.13])
	by coolsville.localdomain (Postfix) with ESMTPSA id 1D6D97FA07B;
	Mon, 14 Dec 2009 09:02:21 +0100 (CET)
Message-ID: <4B25F10C.4080706@HIDDEN>
Date: Mon, 14 Dec 2009 09:02:20 +0100
From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= <jan.h.d@HIDDEN>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0
MIME-Version: 1.0
To: Anders Bolt-Evensen <a-bolt@HIDDEN>, 5206 <at> debbugs.gnu.org
CC: bug-emacs@HIDDEN
Subject: Re: bug#5206: OPTION key combinations using international keyboards
 in	the NEXTSTEP versions of Emacs don't work
References: <88AF87D3-853F-44C6-9737-E654DD4C54F1@HIDDEN>
In-Reply-To: <88AF87D3-853F-44C6-9737-E654DD4C54F1@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized.
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)



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.




Acknowledgement sent to Jan Djärv <jan.h.d@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#5206; Package emacs. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 13 Dec 2009 10:18:57 +0000
From a-bolt@HIDDEN Sun Dec 13 02:18:57 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBDAItKH003738
	for <submit@HIDDEN>; Sun, 13 Dec 2009 02:18:57 -0800
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1NJlXT-0002Ie-2L
	for bug-gnu-emacs@HIDDEN; Sun, 13 Dec 2009 05:18:55 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1NJlXN-0002GB-FG
	for bug-gnu-emacs@HIDDEN; Sun, 13 Dec 2009 05:18:53 -0500
Received: from [199.232.76.173] (port=42678 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1NJlXN-0002Fi-2Z
	for bug-gnu-emacs@HIDDEN; Sun, 13 Dec 2009 05:18:49 -0500
Received: from fencepost.gnu.org ([140.186.70.10]:41880)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <a-bolt@HIDDEN>)
	id 1NJlXM-0005Qb-Nh
	for bug-gnu-emacs@HIDDEN; Sun, 13 Dec 2009 05:18:48 -0500
Received: from mail.gnu.org ([199.232.76.166]:43934 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.69)
	(envelope-from <a-bolt@HIDDEN>)
	id 1NJlXM-0002UD-LU
	for bug-emacs@HIDDEN; Sun, 13 Dec 2009 05:18:48 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <a-bolt@HIDDEN>)
	id 1NJlXK-0005QR-Ou
	for bug-emacs@HIDDEN; Sun, 13 Dec 2009 05:18:47 -0500
Received: from mail49.e.nsc.no ([193.213.115.49]:33418)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <a-bolt@HIDDEN>)
	id 1NJlXK-0005Q5-8h
	for bug-emacs@HIDDEN; Sun, 13 Dec 2009 05:18:46 -0500
Received: from a-bolt.lan (ti0025a380-dhcp1412.bb.online.no [83.108.153.135])
	by mail49.nsc.no (8.14.3/8.14.3) with ESMTP id nBDAIckw008863
	for <bug-emacs@HIDDEN>; Sun, 13 Dec 2009 11:18:39 +0100 (MET)
From: Anders Bolt-Evensen <a-bolt@HIDDEN>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
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
Message-Id: <88AF87D3-853F-44C6-9737-E654DD4C54F1@HIDDEN>
To: bug-emacs@HIDDEN
Mime-Version: 1.0 (Apple Message framework v1077)
X-Mailer: Apple Mail (2.1077)
X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)

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 =3D |
OPTION+8 =3D [
OPTION+9 =3D ]
SHIFT+OPTION+7 =3D \
SHIFT+OPTION+8 =3D {
SHIFT+OPTION+9 =3D }

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,=20
Anders=




Acknowledgement sent to Anders Bolt-Evensen <a-bolt@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#5206; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 16 Nov 2021 21:30:01 UTC

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