Hrvoje Niksic <hniksic(a)srce.hr> writes:
"William M. Perry" <wmperry(a)aventail.com> writes:
> Could we please remove the binding of button3 in wid-edit.el? This
> makes it impossible to have context-sensitive popups on a widget
> without specifying a :button-keymap property on every single one.
>
> Emacs 20.2.95 does not have this binding - did we add it in for a
> particular reason?
The reason why I added it was that it was annoying to have to press
button2 to activate, for example, the State widget in Customize. It
makes much more sense to use button3 for that.
Why not make button1 do what you want there? Since it is effectively a
'menu', I would expect it to be activated by button1. And this is
precisely what I would see the use of :button-keymap being used for - a
special case. I don't think the binding makes sense for standard widget
items.
You wouldn't be able to get the standard context sensitive menus in a
GNUS article buffer if you just happened to have a buttonized/widgetized
chunk of text under your mouse.
-Bill P.