unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Howto install `alt'-key as meta key??
@ 2002-09-12  8:10 Y.R. de Boer
  2002-09-12  8:41 ` Marc Girod
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Y.R. de Boer @ 2002-09-12  8:10 UTC (permalink / raw)




Dear reader,

 At the moment my meta key is the escape button, I would like this to be
the alt button.

 How would I do this?

 With kind regards,

Ytsen.

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

* Re: Howto install `alt'-key as meta key??
  2002-09-12  8:10 Howto install `alt'-key as meta key?? Y.R. de Boer
@ 2002-09-12  8:41 ` Marc Girod
  2002-09-12 10:13 ` Kai Großjohann
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Marc Girod @ 2002-09-12  8:41 UTC (permalink / raw)


>>>>> "Y" == Y R de Boer <y.r.deboer@student.utwente.nl> writes:

Y>  At the moment my meta key is the escape button, I would like this
Y> to be the alt button.

Y>  How would I do this?

Under X, with xmodmap.
Pay attention to the FAQ 10.18

http://www.gnu.org/software/emacs/emacs-faq.text

-- 
Marc Girod        P.O. Box 323        Voice:  +358-71 80 25581
Nokia NBI         00045 NOKIA Group   Mobile: +358-50 38 78415
Takomo 1 / 4c27   Finland             Fax:    +358-71 80 61604

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

* Re: Howto install `alt'-key as meta key??
  2002-09-12  8:10 Howto install `alt'-key as meta key?? Y.R. de Boer
  2002-09-12  8:41 ` Marc Girod
@ 2002-09-12 10:13 ` Kai Großjohann
  2002-09-12 13:23 ` Kevin Dziulko
  2002-10-25 18:03 ` carlos.conde
  3 siblings, 0 replies; 6+ messages in thread
From: Kai Großjohann @ 2002-09-12 10:13 UTC (permalink / raw)


"Y.R. de Boer" <y.r.deboer@student.utwente.nl> writes:

>  At the moment my meta key is the escape button, I would like this to be
> the alt button.

Please provide additional information about your installation.  Which
OS, window system, ...?

kai
-- 
~/.signature is: umop 3p!sdn    (Frank Nobis)

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

* Re: Howto install `alt'-key as meta key??
  2002-09-12  8:10 Howto install `alt'-key as meta key?? Y.R. de Boer
  2002-09-12  8:41 ` Marc Girod
  2002-09-12 10:13 ` Kai Großjohann
@ 2002-09-12 13:23 ` Kevin Dziulko
  2002-10-25 18:03 ` carlos.conde
  3 siblings, 0 replies; 6+ messages in thread
From: Kevin Dziulko @ 2002-09-12 13:23 UTC (permalink / raw)


Try this:
Start emacs, and go to the *scratch* buffer.  Type C-q and then press the
alt key. Something like ^[OC will get displayed.  Write that sequence
down.  Then add a line in your .emacs file.  It will look like this:

(global-set-key "\e[OC" 'event-apply-meta-modifier)

Where the [OC is what ever got displayed when you pressed the alt key,
minus the ^.

Also note that if you are running on MS Windows, the alt key activates the
pull down menus, so alt may not be a good choice if running on Windows.

Hope this helps.

Kevin

On Thu, 12 Sep 2002, Y.R. de Boer wrote:

>
>
> Dear reader,
>
>  At the moment my meta key is the escape button, I would like this to be
> the alt button.
>
>  How would I do this?
>
>  With kind regards,
>
> Ytsen.
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
>

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

* Re: Howto install `alt'-key as meta key??
  2002-09-12  8:10 Howto install `alt'-key as meta key?? Y.R. de Boer
                   ` (2 preceding siblings ...)
  2002-09-12 13:23 ` Kevin Dziulko
@ 2002-10-25 18:03 ` carlos.conde
  2002-10-27 15:54   ` Gerard Smits
  3 siblings, 1 reply; 6+ messages in thread
From: carlos.conde @ 2002-10-25 18:03 UTC (permalink / raw)



I've got the same problem, I'm running a debian linux 3.0 with emacs 21.1, 
however, this solution can work on every linux distribution...

You must add the following lines to your .xintrc or .xsession file in your 
home user directory:

    xmodmap -e "keycode 115 = Super_L"
    xmodmap -e "keycode 116 = Super_L"
    xmodmap -e "add mod4 = Super_L"

read the xmodmap doc for details...

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

* Re: Howto install `alt'-key as meta key??
  2002-10-25 18:03 ` carlos.conde
@ 2002-10-27 15:54   ` Gerard Smits
  0 siblings, 0 replies; 6+ messages in thread
From: Gerard Smits @ 2002-10-27 15:54 UTC (permalink / raw)


I'm having the same trouble with my Alt key after moving from Windows
NT to XP.  It does not seem to recognize the Alt key. I'm using V
21.2.1.  I'm wondering if XP is somethow preempting the use of the Alt
key.

I tried the suggested c-q ALT, but got nothing on the screen. Thanks
for any suggestions.

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

end of thread, other threads:[~2002-10-27 15:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-12  8:10 Howto install `alt'-key as meta key?? Y.R. de Boer
2002-09-12  8:41 ` Marc Girod
2002-09-12 10:13 ` Kai Großjohann
2002-09-12 13:23 ` Kevin Dziulko
2002-10-25 18:03 ` carlos.conde
2002-10-27 15:54   ` Gerard Smits

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