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 09:52:12 -0400	[thread overview]
Message-ID: <8f56a06e0409170652751c089@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 short term, if you want to get something working for you, I would suggest modifying mac_to_emacs_modifiers in src/macterm.c to do what you need.  Something like
> 
>   if (NILP (Vmac_command_key_is_hyper) && (mods & cmdKey))
>     result |= hyper_modifier;

This is cool.  Thanks for this "patch".

> 
> 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?

Would the mac equivalent of xmodmap be uControl?  http://gnufoo.org/ucontrol
-- 
 (__) Doug Alcorn - Unix/Linux/Web Developing
 oo /  mailto:lathinet@gmail.com http://www.lathi.net
 |_/

  reply	other threads:[~2004-09-17 13:52 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 [this message]
2004-09-17 14:16   ` Doug Alcorn
2004-09-17 16:21   ` Doug Alcorn
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=8f56a06e0409170652751c089@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).