all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Neon Absentius <absent@sdf.lonestar.org>
Subject: Re: newbie- meta key mapping
Date: Sun, 23 Jan 2005 08:24:22 +0000	[thread overview]
Message-ID: <20050123082422.GA18481@SDF.LONESTAR.ORG> (raw)
In-Reply-To: <5f9f4f1305012223044ddc4dff@mail.gmail.com>

On Sun, Jan 23, 2005 at 08:04:13AM +0100, toto wrote:
> Hello, world!
> 
> I would be very happy if you could help me, i'm a bit lost in all the
> doc i've read.
> I'm using emacs with the keyborad-coding-system and the
> terminal-coding-system in mode latin 1.
> So, the alt key is used to produce non-ASCII characters. I have now to
> use the ESC key for the meta key.
> I have on my keyboard a WIN key that is not used.  Could I use it in
> the functino of the META key? How to do that?
> 

If you are using GNU/Linux (and probably any other unix-like OS) you
can do that by using the xmodmap program to map win to meta. I have
done that in my pc104 keyboard, since I use the Alt key for bindings
for my window manager.

If you are not very fammiliar with the xmodmap syntax there is a
program xkeycaps that is a nice graphical interface to xmodmap.
You can get it here http://www.jwz.org/xkeycaps/

The relevant lines in my .Xmodmap seem to be

    keycode 0x73 =	   Meta_L
    keycode 0x40 =	   Alt_L
    keycode 0x71 =	   Alt_R
    keycode 0x74 =	   Meta_R
    keycode 0x75 =	   Menu
    
    clear Mod1
    clear Mod4

    add    Mod1    = Alt_L Alt_R
    add    Mod4    = Meta_L Meta_R

HTH

> Thanks a lot for your help
> 
> A.J
> 

-- 
Charity in capitalism is like urinating to extinguish a forest fire.
    -- Neon Absentius
absent a.in.cirle sdf period lonestar period org
SDF Public Access UNIX System - http://sdf.lonestar.org

      reply	other threads:[~2005-01-23  8:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-23  7:04 newbie- meta key mapping toto
2005-01-23  8:24 ` Neon Absentius [this message]

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=20050123082422.GA18481@SDF.LONESTAR.ORG \
    --to=absent@sdf.lonestar.org \
    /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.