unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Kévin Le Gouguec" <kevin.legouguec@gmail.com>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 48134@debbugs.gnu.org
Subject: bug#48134: When sitting on top of a M-x item in the manual
Date: Sat, 01 May 2021 10:59:15 +0200	[thread overview]
Message-ID: <87sg36rfrw.fsf@gmail.com> (raw)
In-Reply-To: <87fsz73t9z.8.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Sat, 01 May 2021 13:41:28 +0800")

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> Do (info "(emacs) Colors")
> Now put the cursor on top of
> ‘M-x list-colors-display’
> and hope emacs realizes it... but it doesn't so we end up typing
> <snip>
> ah, finally we can hit RET.
>
> One would think some default would show up based on what our cursor was
> on or something.

Note that M-n does the sort of "mind-reading" you're looking for,
IIUC:

- put cursor on top of ‘M-x list-colors-display’
- M-x M-n

Would that be an acceptable answer for you?  If not, maybe there are
some completion UIs that are more eager and will default to whatever M-n
suggests; none comes to mind at the moment, but I'd be surprised if none
existed.


All in all though, maybe "buttonizing" ‘M-x foo’ commands in Info
manuals would make sense: one could then trigger them with RET or
mouse-1, and reach them with TAB; no idea how hard it would be to
implement.





  reply	other threads:[~2021-05-01  8:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-01  5:41 bug#48134: When sitting on top of a M-x item in the manual 積丹尼 Dan Jacobson
2021-05-01  8:59 ` Kévin Le Gouguec [this message]
2021-05-01 12:15   ` 積丹尼 Dan Jacobson
2021-05-02  7:14     ` Lars Ingebrigtsen
2021-05-02 14:09       ` Howard Melman
2021-05-02 16:09       ` Kévin Le Gouguec
2021-05-03  9:00         ` Lars Ingebrigtsen
2021-05-01 14:01 ` bug#48134: [External] : " Drew Adams
2021-05-01 14:35   ` Eli Zaretskii
2021-05-01 16:28     ` Drew Adams
2021-05-01 20:09   ` Juri Linkov
2021-05-01 23:23     ` Drew Adams
2021-05-02 20:52       ` Juri Linkov
2021-05-03  0:35         ` Drew Adams

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=87sg36rfrw.fsf@gmail.com \
    --to=kevin.legouguec@gmail.com \
    --cc=48134@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    /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).