unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Doug Alcorn <lathinet@gmail.com>
Subject: Re: Modifier keys in Carbon Emacs
Date: Fri, 17 Sep 2004 12:21:39 -0400	[thread overview]
Message-ID: <8f56a06e0409170921749d6ab8@mail.gmail.com> (raw)
In-Reply-To: <12232821.1095376040951.JavaMail.steventamm@mac.com>

On Thu, 16 Sep 2004 16:07:20 -0700, Steven Tamm <steventamm@mac.com> wrote:

> In the long term, some work should be done to do xmodmap type modifier translation: i.e. provide the ability to map all the mac modifier keys (Cmd,Alt,Ctrl,Fn) to the emacs modifiers (C,M,A,H) or to system modifiers.  What would be the best way to represent this?


>From a user perspective what about implementing something that allowed:

(setq mac-command-key-is 'hyper
          mac-option-key-is 'meta
          mac-control-key-is 'control
          mac-function-key-is 'alt)

Couldn't that implementation be done in src/macterm.c:mac_to_emacs_modifiers?

I agree (after thinking a bit more) that uControl isn't the right
place to handle this.  The only app we want to change the modifiers
for is emacs.  So, it seems like the translation needs to be done in
emacs.

-- 
 (__) Doug Alcorn - Unix/Linux/Web Developing
 oo /  mailto:lathinet@gmail.com http://www.lathi.net
 |_/

  parent reply	other threads:[~2004-09-17 16:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-16 21:19 Modifier keys in Carbon Emacs Doug Alcorn
2004-09-16 23:07 ` Steven Tamm
2004-09-17 13:52   ` Doug Alcorn
2004-09-17 14:16   ` Doug Alcorn
2004-09-17 16:21   ` Doug Alcorn [this message]
2004-09-18  8:05     ` YAMAMOTO Mitsuharu
2004-09-18  9:55       ` Kai Grossjohann
2004-09-18 11:45       ` Gian Uberto Lauri
2004-09-17  0:20 ` Denis Bueno

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=8f56a06e0409170921749d6ab8@mail.gmail.com \
    --to=lathinet@gmail.com \
    /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).