unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
Cc: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>, emacs-devel@gnu.org
Subject: OS X: Modifier keys / option combinations / meta
Date: Sun, 15 May 2005 20:19:57 +0100	[thread overview]
Message-ID: <B5DCECF9-579D-4A0F-9DB6-AAC77AFC2076@gmail.com> (raw)

Steven, Yamamoto-san, list,

I updated the mac modifier key patch to allow people to input all  
sorts of characters with the Option key that they can input by  
default, such as the Euro sign, the backslash or @ (on German  
keyboards with A-S-7 or A-L respectively), or the pound sign £ on US  
keyboards with A-3.

One can use the variable mac-pass-option-to-system to control this  
behavior: If non-nil, Emacs allows the system to define the  
characters and Option is not interpreted as modifier, unless another  
modifier key (Ctrl or Command) is pressed along with it. This allows  
me to use

(setq mac-option-modifier 'meta)

to still map Option to Meta and input keys like C-M-\ (on my US  
keyboard).

As discussed earlier, we allow people to use mac-command-modifier and  
mac-ctrl-modifier to assign Emacs keys to the other real keys. The  
only known drawback is that you can't enter C-M-\ on a, e.g., German  
keyboard, but I'm not sure if anybody would want to enter ESC S-C-A-7  
instead of redefining the command. One could make the default mapping  
of 'Option' to be empty for cases like these, saying that it is  
always handled by the system and never assumed to be Alt, even if  
other modifiers are pressed. Feedback on whether that would make  
sense would be appreciated.

As in the earlier version of the patch, mac-command-key-is-meta and  
mac-reverse-ctrl-meta  are declared deprecated, but work provided no  
mac-*-modifier is set to non-nil. This is the default - I don't know  
if this should actually be changed and if these variables can be  
kicked out before the release.

Patch for download here:

http://sourceforge.net/project/showfiles.php?group_id=138078

                 reply	other threads:[~2005-05-15 19:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=B5DCECF9-579D-4A0F-9DB6-AAC77AFC2076@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    /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).