unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jakub Turski <yacoob@gmail.com>
To: 7150@debbugs.gnu.org
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	[thread overview]
Message-ID: <AANLkTinzO37hgsC69Uf-qRoCtuE4hk9NWKWnhkDFG6Ea@mail.gmail.com> (raw)

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 <tab> <return>

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)





             reply	other threads:[~2010-10-02 15:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-02 15:41 Jakub Turski [this message]
2010-10-11 19:23 ` bug#7150: 23.2.50; Include patch for distinguishing between left and right Alt keys on OSX Jan Djärv
     [not found] ` <handler.7150.D7150.128682482513126.notifdone@debbugs.gnu.org>
2010-10-11 22:20   ` bug#7150: closed (Re: bug#7150: 23.2.50; Include patch for distinguishing between left and right Alt keys on OSX) Jakub Turski
2010-10-13  8:05     ` Jan Djärv
2010-10-13 12:18       ` Eli Zaretskii
2010-10-13 13:13         ` Jan Djärv
2010-10-13 13:31         ` Andreas Schwab
2010-10-14 20:56       ` Jakub Turski
2010-10-15  5:55         ` Jan Djärv
2010-10-16  8:59 ` Esa Peuha
2010-11-19 15:00 ` bug#7150: Distinguishing between left/right modifier keys in OSX Robert Clancy
2010-11-21 10:14   ` Jan Djärv

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=AANLkTinzO37hgsC69Uf-qRoCtuE4hk9NWKWnhkDFG6Ea@mail.gmail.com \
    --to=yacoob@gmail.com \
    --cc=7150@debbugs.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).