all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tristero <tristero@waste.net>
Subject: Re: Opt/Fn as meta? (emacs on macs)
Date: Thu, 08 May 2003 17:57:36 GMT	[thread overview]
Message-ID: <slrnbbl6k4.1cq.tristero@esb.bbn.com> (raw)
In-Reply-To: 080520031142459136%sunder_3291@hotmail.nospam

In article <080520031142459136%sunder_3291@hotmail.nospam>, Sunder wrote:
> 1. Is there any downside to binding Opt or Fn as meta?

Never causes me any problems to use Option.  


> 2. What would I put in my .emacs to make such a binding?

There are three cases here, only one of which requires a .emacs
change:


1. Running in a Terminal (either gnuemacs or xemacs).  Enable the
   Emulation preference "Use option as meta key".  You might also find
   it useful to enable "Option click to position cursor", which gives
   you some very basic mouse functionality.

2.  Running the carbon gnuemacs.  Here you want to add a line to
    .emacs:

   (setq mac-command-key-is-meta nil)

   The effect of this is to make Option act as Meta and Command act as
   Alt.  For clarity you may want to conditionalize this to (eq
   window-system 'mac).  But it's not strictly necessary to do so.

3.  Running in X11 (either gnuemacs or xemacs).  Here you need to
    change the X11 modmap.  I put the following in ~/.Xmodmap:

    clear mod1
    keycode 66 = Meta_L 
    keycode 63 = Mode_switch
    add mod1 = Meta_L

    As in case (2), the effect of this is to make Option be Meta and
    Command be Alt. NB: the keycode values could well be specific to
    the Apple Pro keyboard.

  reply	other threads:[~2003-05-08 17:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <060520031719451942%ajanta@no.spam>
     [not found] ` <1a61f7e5.0305070021.5feb7ff6@posting.google.com>
     [not found]   ` <bruce-B100FF.23050907052003@copper.ipg.tsnz.net>
     [not found]     ` <m28ythmp8h.fsf@12-211-128-40.client.attbi.com>
2003-05-08 17:37       ` Opt/Fn as meta? (emacs on macs) Sunder
2003-05-08 17:57         ` tristero [this message]
2003-05-08 19:08         ` Kyle Jones
2003-05-08 22:28         ` Kevin Rodgers
2003-05-09  7:40           ` Stephen J. Turnbull
2003-05-09 10:35             ` Ajanta
2003-05-09 10:32               ` tristero
2003-05-09 14:10                 ` Rodney Sparapani
2003-05-09 16:40                   ` tristero
     [not found] <E19EO8n-00029Y-03@monty-python.gnu.org>
2003-05-16  5:06 ` Matthew Calhoun
     [not found] <mailman.6287.1053063307.21513.help-gnu-emacs@gnu.org>
2003-05-16 10:38 ` tristero

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=slrnbbl6k4.1cq.tristero@esb.bbn.com \
    --to=tristero@waste.net \
    /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.