unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "João Guerra" <joca.bt@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 59130@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
Subject: bug#59130: Inconsistent behaviour with key-translation-map
Date: Wed, 9 Nov 2022 18:17:13 +0100	[thread overview]
Message-ID: <CAGiBfP3VqWF-aXfrrS-zOM2Uqcz50dEw0V-rfSu+Qu+nk19ouA@mail.gmail.com> (raw)
In-Reply-To: <jwv35atuo0s.fsf-monnier+emacs@gnu.org>

> Note that `event-apply-hyper-modifier` has various limitations
> (e.g. you can't use `?\C-x ?@ ?h ?\C-x ?@ ?m a` to make a `H-M-a` event)
> so even if the above works it may not satisfy all your use cases.

Thanks for the clarification. Indeed I can do (define-key
key-translation-map (kbd "<apps>") #'event-apply-hyper-modifier).
However it has the limitations you described, as I cannot use Meta or
other modifiers with it.

Any suggestions on how to support this via lisp with something like
event-apply-hyper-modifier or hiperify (the example in the manual)?





  reply	other threads:[~2022-11-09 17:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-08 19:37 bug#59130: Inconsistent behaviour with key-translation-map João Guerra
2022-11-08 20:21 ` Eli Zaretskii
2022-11-08 21:41   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-09 17:17     ` João Guerra [this message]
2022-11-10 21:15       ` João Guerra
2022-11-11  7:01         ` 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

  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=CAGiBfP3VqWF-aXfrrS-zOM2Uqcz50dEw0V-rfSu+Qu+nk19ouA@mail.gmail.com \
    --to=joca.bt@gmail.com \
    --cc=59130@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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