unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* alt key on pc keyboard with mac osx
@ 2003-08-19 17:57 Sean McLaughlin
  2003-08-20 14:06 ` Gilbert Harman
  0 siblings, 1 reply; 3+ messages in thread
From: Sean McLaughlin @ 2003-08-19 17:57 UTC (permalink / raw)



Hello,

  I have a mac laptop running osx.  I'm using a pc usb keyboard.  I can't 
get emacs to recognize the ALT key as a META key.  When I type 'ALT k', for 
instance, I get a 'u' with a grave accent.  Is there a way to remap the alt 
key as a meta key?

Thanks,

Sean

_________________________________________________________________
<b>Get MSN 8</b> and help protect your children with advanced parental 
controls.  http://join.msn.com/?page=features/parental

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: alt key on pc keyboard with mac osx
  2003-08-19 17:57 Sean McLaughlin
@ 2003-08-20 14:06 ` Gilbert Harman
  0 siblings, 0 replies; 3+ messages in thread
From: Gilbert Harman @ 2003-08-20 14:06 UTC (permalink / raw)


Try adding to your .emacs file

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

On 8/19/03 1:57 PM, "Sean McLaughlin" <seanmcl1976@hotmail.com> wrote:

> I have a mac laptop running osx.  I'm using a pc usb keyboard.  I can't
> get emacs to recognize the ALT key as a META key.  When I type 'ALT k', for
> instance, I get a 'u' with a grave accent.  Is there a way to remap the alt
> key as a meta key?

  gil

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: alt key on pc keyboard with mac osx
       [not found] <mailman.538.1061370044.29551.help-gnu-emacs@gnu.org>
@ 2003-08-20 15:35 ` Andrew Choi
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Choi @ 2003-08-20 15:35 UTC (permalink / raw)


"Sean McLaughlin" <seanmcl1976@hotmail.com> writes:

> I have a mac laptop running osx.  I'm using a pc usb keyboard.  I
> can't get emacs to recognize the ALT key as a META key.  When I type
> 'ALT k', for instance, I get a 'u' with a grave accent.  Is there a
> way to remap the alt key as a meta key?

It sounds like your keyboard's ALT key is correctly recognized as the
Mac option/alt key.

If you are running the CVS version of GNU Emacs built with the
--with-carbon option in GUI mode, set the variable
mac-command-key-is-meta to nil to use the option/alt key as META key.
This information is in the `Mac OS' section of the online manual.

Note that there may be problems with certain key combinations being
hidden by dead-key processing, though.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-08-20 15:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.538.1061370044.29551.help-gnu-emacs@gnu.org>
2003-08-20 15:35 ` alt key on pc keyboard with mac osx Andrew Choi
2003-08-19 17:57 Sean McLaughlin
2003-08-20 14:06 ` Gilbert Harman

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).