Wilfred / helpful

A better Emacs *help* buffer
1.09k stars 62 forks source link

Idea: helpful-button-at-point #231

Open edrx opened 4 years ago

edrx commented 4 years ago

Is there a way to inspect buttons with helpful? I never understood well how buttons work under the lid... I know that I can get some information about the button at point with `M-x describe-text-properties', but the output format is terse and hard to understand...

Thanks in advance! Eduardo Ochs http://angg.twu.net/#eev

P.S.: this is a newbie-ish question! I started playing with helpful just a few hours ago - after a private discussion that started with this message: https://lists.gnu.org/archive/html/emacs-devel/2019-12/msg00728.html and now I am starting to add helpful support to eev...

ScottFreeCode commented 4 years ago

The code at https://emacs.stackexchange.com/a/22466 might be a place to start. As of 26.3 it still works, odd though its approach is. It may be a bit outdated, however; I'm not sure it wouldn't be better to work off of the current code in Emacs that grabs the button action when it's pushed, if there are any differences.