unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Yarek Kowalik" <yarek.kowalik@gmail.com>
To: "Peter Dyballa" <Peter_Dyballa@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Combining Ctrl + Super_l + ' (quote) does not work
Date: Thu, 13 Nov 2008 23:42:02 -0800	[thread overview]
Message-ID: <ecb948b30811132342w75ff0d29t2a0b7dfe3abf3a50@mail.gmail.com> (raw)
In-Reply-To: <00BBC1A6-F939-4534-BAFF-3FBAAFE94F27@web.de>

[-- Attachment #1: Type: text/plain, Size: 2746 bytes --]

Thanks for the tips. I used xev to get the kecodes conformed.   I tried
making the changes you suggested, and here is what I got:

phoenix% xmodmap
xmodmap:  up to 4 keys per modifier, (keycodes in parentheses):

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)
mod2
mod3        Hyper_L (0x80)
mod4        Super_L (0x73),  Super_R (0x74)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)


Note the absence of Meta_L and Meta_R: whenever I tried "add mod2 = Meta_L
and Meta_R" it would register as "Alt_L and Alt_R" and then Alt modifier
commands would stop working.  I could not produce Meta_L and Meta_R in xev,
and xmodmap reports these as:

    64        0xffe9 (Alt_L)    0xffe7 (Meta_L)
    113        0xffea (Alt_R)    0xffe8 (Meta_R)

In any event, the after making the changes above it still did not fix the
original problem.  I still cannot get C-s-' but only on Control_L + Super_L
+ ' .   Super_R works fine, and Super_L works fine with Control_R too.

I'm a little confused why all this xmodmap is necessary.. I can get s-'
working on both Super_L and Super_R just fine, as well as C-' with Control_L
and Control_R.  and I can get C-s-' with any combo of Control and Super with
exception of C_L and S_L.   I'm having a feeling that it's more emacs thing
than xmodmap thing.

Thanks for the suggestions... keep them coming if you spot something worth
trying.

Cheers,

Yarek

On Thu, Nov 13, 2008 at 4:08 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:

>
> Am 13.11.2008 um 00:09 schrieb Yarek Kowalik:
>
>  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),  Meta_L (0x9c)
>> mod2        Num_Lock (0x4d)
>> mod3
>> mod4        Super_L (0x7f),  Hyper_L (0x80)
>> mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)
>>
>
> Alt and Meta are the same – not good. Throw away Num_Lock and put Meta into
> its slot. Then move Hyper to mod3. Now you can add Super_R as another mod4.
>
> Before you can add any modifier you first need to declare it as a key, for
> example (with decimal number):
>
>        keycode 116 = Super_R
>
> The utility xev can tell you the key's code. Once it's defined, xmodmap -pk
> should list it. Then you can make it a modifier.
>
> As an example one of my corrections works like this:
>
>        clear Mod1
>        add Mod1 = Alt_L Alt_R
>        clear Mod2
>        add Mod2 = Meta_L Meta_R
>
> --
> Greetings
>
>  Pete
>
> Globalisation – communism from above.
>
>
>
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 4232 bytes --]

  reply	other threads:[~2008-11-14  7:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-12 20:26 Combining Ctrl + Super_l + ' (quote) does not work Yarek Kowalik
2008-11-12 20:32 ` Yarek Kowalik
2008-11-12 22:49 ` Peter Dyballa
2008-11-12 23:09   ` Yarek Kowalik
2008-11-14  0:08     ` Peter Dyballa
2008-11-14  7:42       ` Yarek Kowalik [this message]
2008-11-15 10:17         ` Peter Dyballa
     [not found]   ` <mailman.209.1226536048.26697.help-gnu-emacs@gnu.org>
2008-11-13 21:49     ` Yarek Kowalik
2008-11-13 21:55       ` Joost Kremers
2008-11-14  0:02       ` Drew Adams

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=ecb948b30811132342w75ff0d29t2a0b7dfe3abf3a50@mail.gmail.com \
    --to=yarek.kowalik@gmail.com \
    --cc=Peter_Dyballa@web.de \
    --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.
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).