From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jakub Turski Newsgroups: gmane.emacs.bugs Subject: bug#7150: 23.2.50; Include patch for distinguishing between left and right Alt keys on OSX Date: Sat, 2 Oct 2010 16:41:51 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1286045213 8956 80.91.229.12 (2 Oct 2010 18:46:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Oct 2010 18:46:53 +0000 (UTC) To: 7150@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 02 20:46:51 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 1P276g-0006cW-Ua for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Oct 2010 20:46:51 +0200 Original-Received: from localhost ([127.0.0.1]:43640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P276g-0007CK-GA for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Oct 2010 14:46:50 -0400 Original-Received: from [140.186.70.92] (port=45259 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P24gT-0002Yq-Qu for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2010 12:11:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P24gS-0002sv-8m for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2010 12:11:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P24gS-0002sq-6i for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2010 12:11:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P24XC-0001sA-Tm; Sat, 02 Oct 2010 12:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jakub Turski Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Oct 2010 16:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7150 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12860352757183 (code B ref -1); Sat, 02 Oct 2010 16:02:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Oct 2010 16:01:15 +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 1P24WR-0001rl-BU for submit@debbugs.gnu.org; Sat, 02 Oct 2010 12:01:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P24BA-0001hs-OB for submit@debbugs.gnu.org; Sat, 02 Oct 2010 11:39:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P24E5-00035E-6i for submit@debbugs.gnu.org; Sat, 02 Oct 2010 11:42:18 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:43657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P24E5-00035A-4D for submit@debbugs.gnu.org; Sat, 02 Oct 2010 11:42:17 -0400 Original-Received: from [140.186.70.92] (port=53414 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P24E3-0001tU-M6 for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2010 11:42:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P24E2-00034n-FP for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2010 11:42:15 -0400 Original-Received: from mail-ew0-f41.google.com ([209.85.215.41]:36919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P24E2-00034i-96 for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2010 11:42:14 -0400 Original-Received: by ewy19 with SMTP id 19so1898883ewy.0 for ; Sat, 02 Oct 2010 08:42:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=NnVuxisyDgQw57tIYF2mGHieRScDZQKOpQTw1Zi+N5A=; b=DF/0I19QIYNEgqM2999prk/0GnfMKzAiPah1t6iOyr/JbEMJYkYQ1bn68b+x83JWw5 8wv0tD7YVwhVDZDf3VYxRh+K8w8uGb3VDw/1U0aQbbD5yR8a4xRrp8eFTG5YP8OQ+Yoq hNwXT/0IQvc1irrASlLU1h3kwSzVIonjVKMdU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=gOEQArPYLUnn+W9AkZFv1C0Se2r8NuYwjvi8edO6vePzbAxeFsSBDqZU+Y6Pje+q0G kzsPNY1xyteltCcJ1Z5k8/LxlhmCL4oH3yYp17kXvDyAaJzszKSaunZc0CyINShlyUEg tTUBy7j2ByOifMmdX5VntZ9DEypapbhgLok6g= Original-Received: by 10.213.14.84 with SMTP id f20mr6646422eba.75.1286034131870; Sat, 02 Oct 2010 08:42:11 -0700 (PDT) Original-Received: by 10.14.127.11 with HTTP; Sat, 2 Oct 2010 08:41:51 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 02 Oct 2010 12:01:12 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 02 Oct 2010 12:02:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sat, 02 Oct 2010 14:46:35 -0400 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:40644 Archived-At: 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)