all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* M-x in emacs printing x
@ 2022-03-10 20:16 goncholden via Users list for the GNU Emacs text editor
  2022-03-10 20:41 ` tomas
  0 siblings, 1 reply; 5+ messages in thread
From: goncholden via Users list for the GNU Emacs text editor @ 2022-03-10 20:16 UTC (permalink / raw)
  To: goncholden via Users list for the GNU Emacs text editor

Have been doing M-x in emacs, but am getting the x being printed.

What could be going on?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: M-x in emacs printing x
  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
  0 siblings, 1 reply; 5+ messages in thread
From: tomas @ 2022-03-10 20:41 UTC (permalink / raw)
  To: help-gnu-emacs

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

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?

-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: M-x in emacs printing x
  2022-03-10 20:41 ` tomas
@ 2022-03-10 21:08   ` goncholden
  2022-03-10 22:02     ` goncholden
  0 siblings, 1 reply; 5+ messages in thread
From: goncholden @ 2022-03-10 21:08 UTC (permalink / raw)
  To: tomas; +Cc: help-gnu-emacs

------- 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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: M-x in emacs printing x
  2022-03-10 21:08   ` goncholden
@ 2022-03-10 22:02     ` goncholden
  2022-03-10 22:55       ` goncholden
  0 siblings, 1 reply; 5+ messages in thread
From: goncholden @ 2022-03-10 22:02 UTC (permalink / raw)
  To: goncholden; +Cc: tomas, help-gnu-emacs


Sent with ProtonMail secure email.
------- Original Message -------
On Thursday, March 10th, 2022 at 9:08 PM, goncholden <goncholden@protonmail.com> wrote:
> ------- 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

I add now the addition of hyper

setxkbmap -layout us -variant dvorak
xmodmap -pke | grep "Control\|Alt\|Meta\|Hyper\|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
keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L









^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: M-x in emacs printing x
  2022-03-10 22:02     ` goncholden
@ 2022-03-10 22:55       ` goncholden
  0 siblings, 0 replies; 5+ messages in thread
From: goncholden @ 2022-03-10 22:55 UTC (permalink / raw)
  To: goncholden; +Cc: tomas, help-gnu-emacs




------- Original Message -------

On Thursday, March 10th, 2022 at 10:02 PM, goncholden <goncholden@protonmail.com> wrote:

> Sent with ProtonMail secure email.
>
> ------- Original Message -------
>
> On Thursday, March 10th, 2022 at 9:08 PM, goncholden goncholden@protonmail.com wrote:
>
> > ------- 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
>
> I add now the addition of hyper
>
> setxkbmap -layout us -variant dvorak
>
> xmodmap -pke | grep "Control\|Alt\|Meta\|Hyper\|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
> keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L

Have done xev, but when pressing the Hyper Key, I get no response.
I thus think that tho transfer of the Meta Key to the Hyper Key is
failing, so losing the use of Hyper in Emacs.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-10 22:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2022-03-10 22:02     ` goncholden
2022-03-10 22:55       ` goncholden

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.