unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Daniel Aarno <macbishop@users.sf.net>
Subject: Re: Mapping alt to altgr
Date: Tue, 07 Jun 2005 09:10:41 +0200	[thread overview]
Message-ID: <d83h9h$b6j$1@inn.nada.kth.se> (raw)
In-Reply-To: <mailman.3585.1118099200.25862.help-gnu-emacs@gnu.org>

Thanks, now I use the following .xmodmaprc and it works in emacs too.

clear mod2
clear mod1
keycode 237 = Mode_switch
keycode 233 = Mode_switch
add mod2 = Mode_switch
add mod1 = Multi_key


/Daniel Aarno

Peter Dyballa wrote:
> 
> Am 06.06.2005 um 17:44 schrieb Daniel Aarno:
> 
>> mod1
>> mod2        Mode_switch (0xed),  Alt_L (0xe9)
>> mod3        Num_Lock (0x5a)
>> mod4        Meta_L (0xea),  Meta_R (0xee)
>>
> 
> This is a very bad layout: Mode_switch and Alt modifier are probably 
> related to each other as football and soccer. The one changes the 
> operating mode of the keyboard, the latter just selects another keysym 
> from the few which are assigned to a key (keycode  34 = 7 slash bar 
> backslash).
> 
> I am sure Solaris 9 has xev, in former versions it was a bit hidden.
> 
> I think you should just swap the two keys Mode_switch and Alt_L (which 
> should be renamed to Alt_R accordingly). You'll need the Mode_switch to 
> access the layers with diacritics. The syntax would be like:
> 
>     keycode <number one> = Mode_switch
>     keycode <number two> = Alt_R
> 
> You can retrieve the keycodes without xev if xmodmap supports -pke.
> 
> Please use clear to clean modifier settings. Clear and remove are 
> distinct. Clear only removes a setting from a modifier, so that it's now 
> empty, undefined, free for a new setting. Remove deletes a keysym from 
> the map, it's lost and cannot be re-used as a modifier. Consult 'man 
> xmodmap' and spend some time with it!
> 
> -- 
> Greetings
> 
>   Pete
> 
> War springs from unseen and generally insignificant causes.
> -Anonymous
> 
> 
> 

  parent reply	other threads:[~2005-06-07  7:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-06  9:24 Mapping alt to altgr Daniel Aarno
2005-06-06 10:23 ` Peter Dyballa
     [not found] ` <mailman.3509.1118055130.25862.help-gnu-emacs@gnu.org>
2005-06-06 15:44   ` Daniel Aarno
2005-06-06 22:57     ` Peter Dyballa
2005-06-07  6:20     ` Travis Spencer
2005-06-07  8:09       ` Peter Dyballa
     [not found]     ` <mailman.3585.1118099200.25862.help-gnu-emacs@gnu.org>
2005-06-07  7:10       ` Daniel Aarno [this message]
     [not found]     ` <mailman.3630.1118125698.25862.help-gnu-emacs@gnu.org>
2005-06-07  7:13       ` Daniel Aarno

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='d83h9h$b6j$1@inn.nada.kth.se' \
    --to=macbishop@users.sf.net \
    /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.
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).