Hrvoje Niksic <hniksic(a)srce.hr> writes:
> wmperry(a)aventail.com (William M. Perry) writes:
>
> > Hrvoje Niksic <hniksic(a)srce.hr> writes:
> >
> > > wmperry(a)aventail.com (William M. Perry) writes:
> > >
> > > > Why not make button1 do what you want there?
> > >
> > > Context-sensitive menus have always been activated by button3, not
> > > button1 or button2. Widgets like `State' look like a context-sensitive
> > > menu to me.
> >
> > This isn't really context-sensitive though. That is _all_ the state
> > button is meant to do.
>
> Yes, but when you click on a particular State button, you get the menu
> pertaining to that button, not to all buttons. It's context-sensitive.
No - it is a separate widget and has separate functions. I don't think
it qualifies as context-sensitive. But that may well be a religious
issue. :)
I still think we should just change the :button-keymap of the state
buttons. We are currently out of synch with Emacs, and forcing _every_
other user of the widget library to override this behaviour, which is
really only used in the _custom_ library, seems a violation of the
abstractions.
> > The context-sensitive menus should be offering _additional_
> > functionality than the widget's main purpose.
>
> I agree. But then again, I've always thought that the State widget's
> main purpose was very ugly in the UI sense. I haven't seen anything
> else in Emacs pop up a menu when button2 is pressed on it.
>
> > > > 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.
> > >
> > > Gnus article buffers don't have context-sensitive menus. If you
> > > are over a button/widget, button3 should present you a
> > > widget-specific menu.
> >
> > _mode_ sensitive menus, they do. And the mode you are in, to me, is
> > part of the context. So they are context sensitive.
>
> Bah. That's not "context-sensitive". Call it buffer-local or
> mode-local, but not context-sensitive.
Then you may as well call the state button widget-local. :)
If all else fails, I say we wrestle for it next time you are in the
states. I might win that, if by no other means than falling on you. :) As
all the godzilla movie trailers say 'size does matter'. You aren't over
6'8" are you? :) Or we could have a contest with our sons - whoever wears
theirs out soonest and gets them put to bed wins.
-Bill P.