[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opt/Fn as meta? (emacs on macs)

From: Rodney Sparapani
Subject: Re: Opt/Fn as meta? (emacs on macs)
Date: Fri, 09 May 2003 09:10:29 -0500
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0

tristero wrote:

In article <address@hidden>, Ajanta wrote:
But I would also like to try defining
Option as Meta. What is the .emacs command for this? Thanks.

I just posted a description of this for all three osx emacs
"window-systems" (terminal, carbon/aqua, x11) yesterday.

Huh.  Where did you post that?  I found a nice review of ssh, but
nothing about keys.  In any case, I think the answer to the
original question (assuming GNU Emacs 21) is the first line of the
following (I through in some definitions for F1 and the cmd key):
;Mac keys
(setq mac-command-key-is-meta nil)
(global-set-key (quote [f1]) 'help-command)
(global-set-key [?\A-v] 'yank)           ; paste
(global-set-key [?\A-x] 'kill-region)    ; cut
(global-set-key [?\A-c] 'kill-ring-save) ; copy

Rodney Sparapani              Medical College of Wisconsin
Sr. Biostatistician           Patient Care & Outcomes Research
Was 'Name That Tune' rigged?  WWLD -- What Would Lombardi Do

reply via email to

[Prev in Thread] Current Thread [Next in Thread]