all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [apple-command as META-key in the terminal-emacs]
@ 2008-01-25  9:58 Fredrik Lundgren
  2008-01-25 20:40 ` Peter Dyballa
  2009-11-02 23:21 ` Andrew McDermott
  0 siblings, 2 replies; 4+ messages in thread
From: Fredrik Lundgren @ 2008-01-25  9:58 UTC (permalink / raw
  To: help-gnu-emacs

Hello,

I'm using emacs22-carbon (GNU Emacs 22.1.1 (i386-apple-darwin9, Carbon  
Version 1.6.0) in Mac OS 10.5.1.
I have no key-bindings in my .emacs-file and automatically apple- 
command works as META-key in the GUI-emacs ('emacs' in the terminal).  
I'm quite happy with the key-bindings I find there. However in the  
terminal-emacs ('emacs -nw' in the terminal) i haven't got this key- 
binding in spite of the same .emacs-file.
How can I get Apple-command as META-key in the terminal-emacs ('emacs - 
nw' in the terminal) and otherwise standard key-bindings?

Fredrik

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

* Re: [apple-command as META-key in the terminal-emacs]
  2008-01-25  9:58 [apple-command as META-key in the terminal-emacs] Fredrik Lundgren
@ 2008-01-25 20:40 ` Peter Dyballa
  2009-11-02 23:21 ` Andrew McDermott
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2008-01-25 20:40 UTC (permalink / raw
  To: Fredrik Lundgren; +Cc: help-gnu-emacs


Am 25.01.2008 um 10:58 schrieb Fredrik Lundgren:

> How can I get Apple-command as META-key in the terminal-emacs  
> ('emacs -nw' in the terminal) and otherwise standard key-bindings?

Probably by re-writing Terminal.app. Or using something else as host  
application – have you tried to launch Carbon Emacs inside Carbon  
Emacs' *terminal* emulation buffer? (You could also try to change key  
bindings in System Preferences. There are also applications to change  
Mac OS X key bindings.)

The Meta key does not exist "inside" Terminal's pane – so it's not  
available for any Emacs variant. The Meta key belongs to the system.

--
Mit friedvollen Grüßen

   Pete

If builders built buildings the way programmers write programs, then  
the first woodpecker that came along would destroy civilization.
				– Weinberg's Second Law

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

* Re: [apple-command as META-key in the terminal-emacs]
       [not found] <mailman.6530.1201277212.18990.help-gnu-emacs@gnu.org>
@ 2008-01-25 22:26 ` Xah Lee
  0 siblings, 0 replies; 4+ messages in thread
From: Xah Lee @ 2008-01-25 22:26 UTC (permalink / raw
  To: help-gnu-emacs

Fredrik Lundgren <fredrik.bg.lundg...@gmail.com> wrote:
«How can I get Apple-command as META-key in the terminal-emacs ('emacs
- nw' in the terminal) and otherwise standard key-bindings?»

I've sought a solution for this, but i think as Peter Dyballa said,
you can't.

Perhaps the closest solution, is to use another term app, or use the
one in X11.

of course, you can run term in carbon emacs as peter suggested. Start
it in a terminal like this:
/Applications/Emacs.app/Contents/MacOS/Emacs &

then do “M-x term”.

  Xah
  xah@xahlee.org
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [apple-command as META-key in the terminal-emacs]
  2008-01-25  9:58 [apple-command as META-key in the terminal-emacs] Fredrik Lundgren
  2008-01-25 20:40 ` Peter Dyballa
@ 2009-11-02 23:21 ` Andrew McDermott
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew McDermott @ 2009-11-02 23:21 UTC (permalink / raw
  To: help-gnu-emacs


Hi,

> I'm using emacs22-carbon (GNU Emacs 22.1.1 (i386-apple-darwin9, Carbon
> Version 1.6.0) in Mac OS 10.5.1.  I have no key-bindings in my
> .emacs-file and automatically apple- command works as META-key in the
> GUI-emacs ('emacs' in the terminal). I'm quite happy with the
> key-bindings I find there. However in the terminal-emacs ('emacs -nw'
> in the terminal) i haven't got this key- binding in spite of the same
> .emacs-file.  How can I get Apple-command as META-key in the
> terminal-emacs ('emacs - nw' in the terminal) and otherwise standard
> key-bindings?

Take a look at:

   http://andrewmcdermott.blogspot.com/2009/11/cmd-key-happy-swap-cmdalt-keys-in.html

I wrote this utility so that I could have the the cmd key do the right
thing when using "emacs -nw".  It's also handy for general readline
navigation when using bash in Terminal.app.

HTH,
Andy.





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

end of thread, other threads:[~2009-11-02 23:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-25  9:58 [apple-command as META-key in the terminal-emacs] Fredrik Lundgren
2008-01-25 20:40 ` Peter Dyballa
2009-11-02 23:21 ` Andrew McDermott
     [not found] <mailman.6530.1201277212.18990.help-gnu-emacs@gnu.org>
2008-01-25 22:26 ` Xah Lee

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.