all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: chengiz <chengiz@my-deja.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Alt vs Meta - Sun keyboard, redhat linux
Date: Tue, 4 Jan 2011 09:12:25 -0800 (PST)	[thread overview]
Message-ID: <abe2ead7-2bc4-4cfb-aa14-af981fbfaa2b@p8g2000vbs.googlegroups.com> (raw)
In-Reply-To: mailman.18.1294095231.614.help-gnu-emacs@gnu.org

On Jan 3, 5:53 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Why do you think the Alt and Meta key modifiers have something to do  
> with MS Losedos?

Where do I think that?


> If you want to find out what some "Alt" named key on your keyboard  
> produces, then use xev (best launched from a *shell* buffer in GNU  
> Emacs), give it the focus and press that key. Xev will produce some  
> cryptic output that can be deciphered to some meaning. Similarly  
> proceed with the "Meta" titled key on your keyboard. With the  
> information of the key codes these keys generate when pressed or  
> released, you can reset "key bindings" in X11:
>
>         keycode <whichever> = Alt_R
>         keycode <whatever> = Meta_L
>

I used xev to verify that the Alt-key produces Alt_L and the 2 meta-
keys produce Meta_L and Meta_R. Emacs treats the meta-keys as if they
produced M- which is what I want, however it also treats the Alt-key
as if produced M-, which is what I want to change to A-. I think the
missing piece is what emacs is doing with Alt_L, as in why it is not
processing it as A-.
Here's my xmodmap output:
shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  Control_R (0x6d)
mod1        Alt_L (0x40),  Alt_R (0x71),  Alt_L (0x7d)
mod2        Num_Lock (0x4d)
mod3
mod4        Meta_L (0x73),  Meta_R (0x74),  Super_L (0x7f),  Hyper_L
(0x80),  Meta_L (0x9c)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)
I cant tell what to put in my xmodmaprc to make sure emacs behaves
correctly.

Thanks,
chengiz





  parent reply	other threads:[~2011-01-04 17:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-31 23:21 Alt vs Meta - Sun keyboard, redhat linux chengiz
2011-01-01 19:35 ` Peter Dyballa
     [not found] ` <mailman.6.1293910561.32515.help-gnu-emacs@gnu.org>
2011-01-03 20:25   ` chengiz
2011-01-03 22:53     ` Peter Dyballa
     [not found]     ` <mailman.18.1294095231.614.help-gnu-emacs@gnu.org>
2011-01-04 17:12       ` chengiz [this message]
2011-01-04 22:47         ` Peter Dyballa
     [not found]         ` <mailman.1.1294181287.10900.help-gnu-emacs@gnu.org>
2011-01-04 23:17           ` chengiz
2011-01-05  0:24             ` Peter Dyballa

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=abe2ead7-2bc4-4cfb-aa14-af981fbfaa2b@p8g2000vbs.googlegroups.com \
    --to=chengiz@my-deja.com \
    --cc=help-gnu-emacs@gnu.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.