all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Matthew Vernon <matthew@sel.cam.ac.uk>
Cc: help-gnu-emacs@gnu.org
Subject: Re: # in carbon emacs on OSX?
Date: Tue, 1 Feb 2011 20:04:43 +0100	[thread overview]
Message-ID: <62955354-6FEC-4148-B88C-87DCC3395D25@Web.DE> (raw)
In-Reply-To: <CED7C867-4341-4EC4-B4F8-84189CD08721@sel.cam.ac.uk>


Am 01.02.2011 um 19:07 schrieb Matthew Vernon:

> emacs-version is 23.2.1 window-system is ns


This "Cocoa" Emacs should know mac-function-modifier, mac-control- 
modifier, mac-command-modifier, and mac-option-modifier (plus mac- 
right-command-modifier, mac-right-control-modifier, mac-right-option- 
modifier). Their values can be (quoted) ctrl (or control?), alt, meta,  
super, hyper, or nil (unquoted). They're aliases of:

	ns-alternate-modifier
	   This variable describes the behavior of the alternate or option key.
	ns-command-modifier
	   This variable describes the behavior of the command key.
	ns-control-modifier
	   This variable describes the behavior of the control key.
	ns-function-modifier
	   This variable describes the behavior of the function key (on  
laptops).
	ns-option-modifier
	ns-right-alternate-modifier
	   This variable describes the behavior of the right alternate or  
option key.
	ns-right-command-modifier
	   This variable describes the behavior of the right command key.
	ns-right-control-modifier
	   This variable describes the behavior of the right control key.
	ns-right-option-modifier

Making any of them nil makes them available to Mac OS X, i.e., allows  
Mac OS X to choose the corresponding layer of the key definitions.  
Launch the "virtual keyboard" to see whether the keys still work in  
Mac OS X (when the text cursor is in Emacs).

To have an init file that works with Carbon (22.x) and NS or "Cocoa"  
Emacsen (20-24.x) and the AppKit Emacs (something like "Carbon Emacs"  
23.x) you can use the mac-*-modifier variables.

--
Greetings

   Pete

I love deadlines. I love the whooshing noise they make as they go by.
				– Douglas Adams




  reply	other threads:[~2011-02-01 19:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-01  2:24 # in carbon emacs on OSX? Matthew Vernon
2011-02-01  8:10 ` Andrea Crotti
     [not found] ` <mailman.0.1296548115.22589.help-gnu-emacs@gnu.org>
2011-02-01 13:22   ` Matthew Vernon
2011-02-01 17:02 ` Peter Dyballa
2011-02-01 18:07   ` Matthew Vernon
2011-02-01 19:04     ` Peter Dyballa [this message]
2011-02-01 17:55 ` Harald Hanche-Olsen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=62955354-6FEC-4148-B88C-87DCC3395D25@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=matthew@sel.cam.ac.uk \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.