all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: goncholden <goncholden@protonmail.com>
To: tomas@tuxteam.de
Cc: help-gnu-emacs@gnu.org
Subject: Re: M-x in emacs printing x
Date: Thu, 10 Mar 2022 21:08:10 +0000	[thread overview]
Message-ID: <JgtAv50vgbXiytGzIMJvtok4JwO_mJ-u3qMwGLaOCegMo75gqQnG8w3P4zPz3JoC8-LCdDmiB50NMGosd9LJ3nPKIZOFPcGK9ht4hpQTNvc=@protonmail.com> (raw)
In-Reply-To: <YipilxIabwQ5FATy@tuxteam.de>

------- Original Message -------
On Thursday, March 10th, 2022 at 8:41 PM, <tomas@tuxteam.de> wrote:
> On Thu, Mar 10, 2022 at 08:16:23PM +0000, goncholden via Users list for the GNU Emacs text editor wrote:
>
> > Have been doing M-x in emacs, but am getting the x being printed.
> > What could be going on?

> Perhaps your Meta isn't a Meta?

Indeed.  I am using Dvorak layout


setxkbmap -layout us -variant dvorak
xmodmap -pke | grep "Control\|Alt\|Meta\|Super"

keycode  37 = Control_L NoSymbol Control_L
keycode  64 = Alt_L Meta_L Alt_L Meta_L
keycode 105 = Control_R NoSymbol Control_R
keycode 108 = Alt_R Meta_R Alt_R Meta_R
keycode 133 = Super_L NoSymbol Super_L
keycode 134 = Super_R NoSymbol Super_R
keycode 204 = NoSymbol Alt_L NoSymbol Alt_L
keycode 205 = NoSymbol Meta_L NoSymbol Meta_L
keycode 206 = NoSymbol Super_L NoSymbol Super_L

I have tried to have

Meta to be Control
Hyper to be Meta
Control to be Hyper

This is what I have done for my xmodmap

clear lock
clear mod4
clear mod3

keycode 37 = Hyper_L NoSymbol Hyper_L NoSymbol
keycode 105 = Hyper_R NoSymbol Hyper_R NoSymbol

!! Set Super Keys to Position of Caps_Lock
keycode 66 = Super_R NoSymbol Super_R NoSymbol

add mod3 = Super_L Super_R
add mod4 = Hyper_L

!! Interchange Ctrl-Key with Alt-Key (Meta-Key)

clear control
clear mod1
clear mod2

keycode 64 = Control_L NoSymbol Control_L NoSymbol
keycode 108 = Control_R NoSymbol Control_R NoSymbol

keycode 133 = Alt_L Meta_L Alt_L Meta_L
keycode 134 = Alt_R Meta_R Alt_R Meta_R

keycode 206 = NoSymbol Hyper_L NoSymbol Hyper_L
keycode 207 = NoSymbol Super_L NoSymbol Super_L

add control = Control_L Control_R
add mod1 = Alt_L Alt_R





  reply	other threads:[~2022-03-10 21:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-10 20:16 M-x in emacs printing x goncholden via Users list for the GNU Emacs text editor
2022-03-10 20:41 ` tomas
2022-03-10 21:08   ` goncholden [this message]
2022-03-10 22:02     ` goncholden
2022-03-10 22:55       ` goncholden

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='JgtAv50vgbXiytGzIMJvtok4JwO_mJ-u3qMwGLaOCegMo75gqQnG8w3P4zPz3JoC8-LCdDmiB50NMGosd9LJ3nPKIZOFPcGK9ht4hpQTNvc=@protonmail.com' \
    --to=goncholden@protonmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tomas@tuxteam.de \
    /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.