bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#139: describe-key vs. widget red tape


From: Lars Ingebrigtsen
Subject: bug#139: describe-key vs. widget red tape
Date: Mon, 30 Sep 2019 16:57:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Mauro Aranda <maurooaranda@gmail.com> writes:

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

Great!

I tried it on a random button, and I got:

---
This widget type is push-button
A pushable button.

Action
The action of this widget is [custom-reset]

Mouse-down-action
The mouse-down-action of this widget is [ignore]
---

Perhaps more traditional would be to make the links `custom-reset'
instead of [custom-reset]?  Otherwise looks great to me, and I'm
reopening this bug report.

Could this also be extended to button.el buttons?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]