unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: Juri Linkov <juri@linkov.net>
Cc: 60101@debbugs.gnu.org
Subject: bug#60101: 29.0.60; help-quick should use C-/ for undo
Date: Fri, 16 Dec 2022 19:18:24 +0000	[thread overview]
Message-ID: <87tu1v2m4f.fsf@posteo.net> (raw)
In-Reply-To: <86tu1w31hq.fsf@mail.linkov.net> (Juri Linkov's message of "Thu,  15 Dec 2022 21:34:09 +0200")

Juri Linkov <juri@linkov.net> writes:

>> I think some general mechanism to associate preferred binding with keys
>> would be nice to have.  What I wonder is if this is general enough of a
>> use-case to be added to where-is-internal, or should this be fixed
>> inside of help-quick?
>
> In lisp/bindings.el its preferred binding is defined by this line:
>
>   (put 'undo :advertised-binding [?\C-x ?u])

That is good, but it only solves the problem by providing the means.
The other issue is figuring out how the advertised binding can
automatically be set to whatever is preferred on the current system.  Is
there a way to find out what keyboard layout is being used, or at least
what modifiers have to be pressed for a key to be input?





  reply	other threads:[~2022-12-16 19:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-15 19:21 bug#60101: 29.0.60; help-quick should use C-/ for undo Philip Kaludercic
2022-12-15 19:34 ` Juri Linkov
2022-12-16 19:18   ` Philip Kaludercic [this message]
2022-12-17 17:16     ` Juri Linkov
2022-12-17 18:04       ` Philip Kaludercic
2022-12-17 17:10 ` Juri Linkov
2022-12-17 18:03   ` Philip Kaludercic

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=87tu1v2m4f.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=60101@debbugs.gnu.org \
    --cc=juri@linkov.net \
    /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).