From: "Alexander Prähauser" <alexander.praehauser@gmx.at>
To: Po Lu <luangruo@yahoo.com>
Cc: "Alexander Prähauser" <alexander.praehauser@gmx.at>,
65068@debbugs.gnu.org
Subject: bug#65068: 29.1; xkb-interception interaction causes problems with key combinations
Date: Tue, 15 Aug 2023 15:31:42 +0200 [thread overview]
Message-ID: <87sf8kbesn.fsf@gmx.at> (raw)
In-Reply-To: <871qgdyted.fsf@yahoo.com>
Sorry for the late reply.
> Which virtual modifier key have you assigned to the apostrophe
> key?
I've made the apostrophe key (AC11 in xkb) a level 3 switch
through the following function:
> // The AC11 key (while pressed) chooses the third shift level.
> partial modifier_keys
> xkb_symbols "ac11_switch" {
> key <AC11> {
> type[Group1]="ONE_LEVEL",
> symbols[Group1] = [ ISO_Level3_Shift ]
> };
> };
If tapped it sends an F14 signal (which I use in Emacs to insert
math symbols in cdlatex).
> Nit: Emacs is not developed on GitHub, but on Savannah:
I see. What I meant was that I built it using the emacs-git entry
in the AUR.
Po Lu [2023-08-09 Wed 08:02] wrote:
> Alexander Prähauser <alexander.praehauser@gmx.at> writes:
>
>> I'm using the interception-`dual-function-keys`-plugin
>>
>> https://gitlab.com/interception/linux/plugins/dual-function-keys
>>
>> for my keyboard layout. In version 28.2 it worked perfectly,
>> but
>> now, if I try to use combinations using keys that have
>> a dual function, the combination breaks off sending the wrong
>> signals. For instance, my CapsLock key has a dual function,
>> sending a F15 (XF86Launch5) if tapped and acting as the
>> apostrophe-key (AC11 in xkb) if held, which is configured in
>> xkb
>> to act as an xkb level 3 modifier.
>
> Which virtual modifier key have you assigned to the apostrophe
> key?
>
>> However, now when I try to use
>> CapsLock for a key combination using a level 3 symbol, for
>> instance if I hold Control, then press CapsLock, it seems to
>> send
>> simply the apostrophe-key, so that I receive the
>> message "C-' is undefined" and the key sequence is broken
>> off. If
>> I continue to hold both Control and CapsLock, it seems
>> to access level 3 normally though, so that I can still use
>> combinations consisting of C-[level 3 character]. If I only
>> want
>> to access a level 3 symbol by holding CapsLock, it works
>> normally,
>> it seems
>> only combinations are affected. While typing this message I
>> noticed an even weirder thing: my F-key is configured to
>> have "a" on level and "Right" on level 5, and Rightalt is
>> configured to act as a level 5 modifier if held, and if I
>> press the F key normally or while holding Rightalt this works,
>> but
>> if I first hold Control, then Rightalt, then tap the
>> F-key, it seems to interpret the result as C-f, even though on
>> no
>> xkb-level the F-key is configured to actually send f.
>>
>> The problem persists if I instead build the latest
>> Emacs-version
>> (30.1) from Github
>
> Nit: Emacs is not developed on GitHub, but on Savannah:
>
> https://git.sv.gnu.org/cgit/emacs.git
next prev parent reply other threads:[~2023-08-15 13:31 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87v8dv2ib3.fsf@gmx.at>
2023-08-09 0:02 ` bug#65068: 29.1; xkb-interception interaction causes problems with key combinations Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-15 13:31 ` Alexander Prähauser [this message]
2023-08-16 1:29 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-16 7:50 ` Alexander Prähauser
2023-08-16 8:02 ` Alexander Prähauser
2023-08-16 12:51 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-16 14:04 ` Alexander Prähauser
2023-08-17 1:09 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-17 2:37 ` Alexander Prähauser
2023-08-17 2:45 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-17 3:28 ` Alexander Prähauser
2023-08-17 4:41 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-19 13:35 ` Alexander Prähauser
2023-08-23 11:02 ` Alexander Prähauser
2023-08-23 11:39 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-23 14:05 ` Alexander Prähauser
2023-08-24 0:00 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-24 11:06 ` Alexander Prähauser
2023-08-24 9:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-24 14:12 ` Alexander Prähauser
2023-08-24 12:41 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-24 15:34 ` Alexander Prähauser
2023-08-25 2:49 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-25 10:11 ` Alexander Prähauser
2023-08-25 8:23 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
[not found] ` <87o7iv34z0.FSF@yahoo.com>
2023-08-25 10:36 ` Alexander Prähauser
2023-08-26 1:39 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-26 11:39 ` Alexander Prähauser
2023-08-26 10:01 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-26 10:08 ` Eli Zaretskii
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=87sf8kbesn.fsf@gmx.at \
--to=alexander.praehauser@gmx.at \
--cc=65068@debbugs.gnu.org \
--cc=luangruo@yahoo.com \
/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.