From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#7150: 23.2.50; Include patch for distinguishing between left and right Alt keys on OSX Date: Mon, 11 Oct 2010 21:23:46 +0200 Message-ID: <4CB36442.3070409@swipnet.se> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1286826145 9197 80.91.229.12 (11 Oct 2010 19:42:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Oct 2010 19:42:25 +0000 (UTC) Cc: 7150-done@debbugs.gnu.org To: Jakub Turski Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 11 21:42:22 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P5OGM-0006BJ-4v for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Oct 2010 21:42:22 +0200 Original-Received: from localhost ([127.0.0.1]:47494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5OGL-0000lO-QN for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Oct 2010 15:42:21 -0400 Original-Received: from [140.186.70.92] (port=40883 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5OGD-0000jG-1R for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2010 15:42:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5OGB-0000St-Gb for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2010 15:42:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5OGB-0000Sm-Ew for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2010 15:42:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P5Nvi-0003Pu-Mo for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2010 15:21:02 -0400 Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Oct 2010 19:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 7150 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Mail-Followup-To: 7150@debbugs.gnu.org, jan.h.d@swipnet.se Original-Received: via spool by 7150-done@debbugs.gnu.org id=D7150.128682482513126 (code D ref 7150); Mon, 11 Oct 2010 19:21:02 +0000 Original-Received: (at 7150-done) by debbugs.gnu.org; 11 Oct 2010 19:20:25 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P5Nv6-0003Pf-MF for submit@debbugs.gnu.org; Mon, 11 Oct 2010 15:20:25 -0400 Original-Received: from smtprelay-h31.telenor.se ([213.150.131.4]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P5Nv4-0003Pa-T3 for 7150-done@debbugs.gnu.org; Mon, 11 Oct 2010 15:20:23 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h31.telenor.se (Postfix) with ESMTP id 92502E9CE3 for <7150-done@debbugs.gnu.org>; Mon, 11 Oct 2010 21:23:47 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8wAC4Bs0xV4S0jPGdsb2JhbACDH55uDAEBAQE1LbBlkkaBIoFcFYFBdASJU4Nx X-IronPort-AV: E=Sophos;i="4.57,315,1283724000"; d="scan'208";a="140003369" Original-Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb1.telenor.se with ESMTP; 11 Oct 2010 21:23:47 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 8EB777FA05A; Mon, 11 Oct 2010 21:23:46 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.11) Gecko/20101004 Thunderbird/3.1.5 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 11 Oct 2010 15:21:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40808 Archived-At: I commited the same functionality in the emacs-23 branch. The patch you refer to makes none mean something else for right alt (follow left alt) than it does for the left alt (pass to system). This is inconsistent, so I kept none to mean pass to system, and made a new value, left, to mean follow the left alt key. Jan D. Jakub Turski skrev 2010-10-02 17.41: > It's not a bug per se, rather a feature request. > Would it be possible to include this patch: > http://lists.aquamacs.org/pipermail/aquamacs-devel/2009-November/003853.html > in Gnu Emacs? It's only relevant for OSX, but makes life easier for > anyone who wants to use Emacs under OSX and uses a keyboard layout that > uses right Alt key as a modifier to input special characters. This is an > Aquamacs patch, and Aquamacs allows this: > > ;; Make right Meta a system modifier. > (setq ns-right-alternate-modifier nil) > > which results in left Alt being interpreted by Aquamacs as Meta, and > right Alt being interpreted by operating system as keyboard > modifier. This allows me to use Polish keyboard layout without resorting > to unusual method of inputting Polish characters. It would be good if > other users, especially those that don't want to use Aquamacs because of > some of its modifications, can use this feature. > > I've tried to naively apply this patch to current 23.2 sources, but > failed - apparently it has diverged too much by now. I don't think I > have both skills and time needed to modify this patch, but it looks > relatively simple, provided you know your way around Emacs source code. > > Is there a chance to port and include this feature? > > Thanks, > > KT. > > In GNU Emacs 23.2.50.2 (x86_64-apple-darwin10.4.0, NS apple-appkit-1038.32) > of 2010-10-02 on imacoob.nerv.local > Windowing system distributor `Apple', version 10.3.1038 > configured using `configure '--with-ns'' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: pl_PL.UTF-8 > value of $LC_CTYPE: pl_PL.UTF-8 > value of $LC_MESSAGES: C > value of $LC_MONETARY: en_IE.utf-8 > value of $LC_NUMERIC: en_IE.utf-8 > value of $LC_TIME: en_IE.utf-8 > value of $LANG: en_IE.UTF-8 > value of $XMODIFIERS: nil > locale-coding-system: utf-8-unix > default enable-multibyte-characters: t > > Major mode: Fundamental > > Minor modes in effect: > global-whitespace-mode: t > tooltip-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > C-x 1 M-x r e p o r t - e m a > > Recent messages: > For information about GNU Emacs and the GNU system, type C-h C-a. > > Load-path shadows: > None found. > > Features: > (shadow sort mail-extr message ecomplete rfc822 mml mml-sec > password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 > rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc > time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 > hex-util hashcash mail-utils emacsbug warnings disp-table whitespace > tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu > tool-bar dnd fontset image fringe lisp-mode register page menu-bar > rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock > syntax facemenu font-core frame cham georgian utf-8-lang misc-lang > vietnamese tibetan thai tai-viet lao korean japanese hebrew greek > romanian slovak czech european ethiopic indian cyrillic chinese > case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button > minibuffer faces cus-face files text-properties overlay md5 base64 > format env code-pages mule custom widget hashtable-print-readable > backquote make-network-process ns multi-tty emacs) > >