unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mauro Aranda <maurooaranda@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 139@debbugs.gnu.org, Lars Ingebrigtsen <larsi@gnus.org>,
	jidanni@jidanni.org
Subject: bug#139: describe-key vs. widget red tape
Date: Mon, 30 Sep 2019 07:54:07 -0300	[thread overview]
Message-ID: <CABczVwfrEa0UispM9qGCfnDwLP9tNR=x9O3iZ-nY=qVYYXHk0w@mail.gmail.com> (raw)
In-Reply-To: <83sgoechsf.fsf@gnu.org>

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

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Lars Ingebrigtsen <larsi@gnus.org>
>> Cc: jidanni@jidanni.org,  139@debbugs.gnu.org
>> Date: Mon, 30 Sep 2019 09:40:07 +0200
>>
>> > If the action of the button is not clear from the button's label, it
>> > should have a help-echo string which describes that.
>>
>> What the button does may be clear, but it can be somewhat convoluted to
>> determine precisely what function is going to end up being run.  (This
>> is for introspection/debugging purposes.)
>
> I'm not sure introspection/debugging was what the OP had in mind, but
> we could perhaps bind something like M-mouse-3 on a button to produce
> that information.  It wouldn't be easy, though, given how well the
> widget library hides that.

I took a look.  Perhaps we could start with something like the attached?
The file defines a command for describing the actions associated to a
widget.  One common indirection is that a widget's action might be to
tell its parent to run its action, so I tried to solve that indirection.

To test it, load it, put point on a widget and then type:
M-x widget-describe-actions

If that's a good start, I'm willing to work on this feature request.

Best regards,
Mauro.

[-- Attachment #2: Type: text/html, Size: 1629 bytes --]

  reply	other threads:[~2019-09-30 10:54 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-14 19:25 describe-key vs. widget red tape jidanni
2019-09-30  5:56 ` bug#139: " Lars Ingebrigtsen
2019-09-30  7:31   ` Eli Zaretskii
2019-09-30  7:40     ` Lars Ingebrigtsen
2019-09-30  8:25       ` Eli Zaretskii
2019-09-30 10:54         ` Mauro Aranda [this message]
2019-09-30 10:55           ` Mauro Aranda
2019-09-30 14:57           ` Lars Ingebrigtsen
2019-09-30 20:06             ` Mauro Aranda
2019-10-01 12:29               ` Lars Ingebrigtsen
2019-10-05 14:06                 ` Mauro Aranda
2019-10-06  0:39                   ` Basil L. Contovounesios
2019-10-07  1:55                     ` Lars Ingebrigtsen
2019-10-08 13:04                     ` Mauro Aranda
2019-10-11 14:38                       ` Mauro Aranda
2019-10-11 15:23                         ` Drew Adams
2019-10-11 18:57                         ` Lars Ingebrigtsen
2020-08-07 11:16                           ` Lars Ingebrigtsen
2020-08-07 11:38                             ` Lars Ingebrigtsen
2020-10-31  1:32 ` bug#139: Still can't figure out what the command I used is called 積丹尼 Dan Jacobson
2020-10-31  2:55   ` Thien-Thi Nguyen
2020-10-31 10:33     ` 積丹尼 Dan Jacobson
2021-01-19 18:30   ` bug#139: describe-key vs. widget red tape Lars Ingebrigtsen

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='CABczVwfrEa0UispM9qGCfnDwLP9tNR=x9O3iZ-nY=qVYYXHk0w@mail.gmail.com' \
    --to=maurooaranda@gmail.com \
    --cc=139@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=larsi@gnus.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).