unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Yarek Kowalik <yarek.kowalik@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Combining Ctrl + Super_l + ' (quote) does not work
Date: Thu, 13 Nov 2008 13:49:42 -0800 (PST)	[thread overview]
Message-ID: <95ee4206-2982-4997-bc67-0a72f04b0ee8@k24g2000pri.googlegroups.com> (raw)
In-Reply-To: mailman.209.1226536048.26697.help-gnu-emacs@gnu.org

Does anyone know how to trace key presses in emacs?

Yarek



On Nov 12, 3:09 pm, "Yarek Kowalik" <yarek.kowa...@gmail.com> wrote:
> I tried doing the "add" command with xmodmap (see below), and that didn't
> work.
> There are two comments on this:
>
> 1) the default xmodmap is identical between x86 and amd64 machines, yet the
> amd64 is not working.  Doing xmodmap "add" does not help -- I even tried
> restarting emacs
>
> 2) note that Ctrl_R + *Super_L* + ' works fine, but Ctrl_L + *Super_L* + '
> does not.  It's the left Ctrl with left Super that's not functioning.
>
> It's baffling.  Any other thoughts?
>
> Yarek
>
> phoenix% xmodmap
> xmodmap:  up to 3 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),  Meta_L (0x9c)
> mod2        Num_Lock (0x4d)
> mod3
> mod4        Super_L (0x7f),  Hyper_L (0x80)
> mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)
>
> phoenix% xmodmap -e "add mod4 = Super_R"
> phoenix% xmodmap
> xmodmap:  up to 3 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),  Meta_L (0x9c)
> mod2        Num_Lock (0x4d)
> mod3
> mod4        Super_L (0x7f),  Hyper_L (0x80),  Super_R (0x74)
> mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)
>
> On Wed, Nov 12, 2008 at 2:49 PM, Peter Dyballa <Peter_Dyba...@web.de> wrote:
>
> > Am 12.11.2008 um 21:26 schrieb Yarek Kowalik:
>
> >  Any clue where I need to tweak to make this work?
>
> > You need to do it in X. The command 'xmodmap -pm' should print that both
> > control and both super modifiers have an equal meaning, although the system
> > can distinguish between them. Something like this should be shown:
>
> >        xmodmap:  up to 2 keys per modifier, (keycodes in parentheses):
>
> >        shift       Shift_L (0x40),  Shift_R (0x44)
> >        lock        Caps_Lock (0x41)
> >        control     Control_L (0x43),  Control_R (0x46)
> >        mod1        Mode_switch (0x42),  Mode_switch (0x45)
> >        mod2        Meta_L (0x3f)
> >        mod3        Super_L (0x2a),  Super_R (0x2f)
> >        mod4
> >        mod5
>
> > With xmodmap you can make your right and left modifier variants be "on the
> > same level." Xmodmap can use kind of a "script," a file ~/.xmodmaprc that
> > adjusts the details, which is invoked from ~/.xinitrc before the first X
> > client is launched.
>
> > GNU Emacs relies on X11.
>
> > --
> > Greetings
>
> >  Pete
>
> > "We need a president who's fluent in at least one language."
> >                                – Buck Henry



  parent reply	other threads:[~2008-11-13 21:49 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
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 [this message]
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=95ee4206-2982-4997-bc67-0a72f04b0ee8@k24g2000pri.googlegroups.com \
    --to=yarek.kowalik@gmail.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.
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).