[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Swap GUD fringe/margin mouse-2 and mouse-3 bindings
From: |
Kim F. Storm |
Subject: |
Re: Swap GUD fringe/margin mouse-2 and mouse-3 bindings |
Date: |
Tue, 30 May 2006 10:18:13 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Nick Roberts <address@hidden> writes:
> Currently, you can select "a" as a region, then on the gud-print tool bar icon
> to print the value of a (in the GUD buffer), select "b" to see value of b,
> select "b->c" to see value of b->c and select "b->c->d" to see value of
> "b->c->d.
I see. Thanks.
>
> But you seem to be saying bind a mouse event to gud-print and change how it
> parses expressions.
Yes.
> Mouse-1 is needed for normal use of the source buffer,
> like editing.
It could be a mode-switch button on the toolbar ... when you enable it,
mouse-1 clicks will show the value of the expression at point...
But let's forget about it for now. I can make my own hacks, and we
can discuss it again after the release, if I happen to write something
useful.
> > A way to toggle gud tool-tips in the GUD toolbar (I don't want them
> > enabled all the time).
>
> You can currently toggle them from the menu bar. With 80 columns and starting
> with "--fullname" there's no room left on my tool bar.
Ok.
>
> > Make gud tooltips use gud-find-c-expr instead of
> > tooltip-identifier-from-point.
>
> I agree that tooltip-identifier-from-point doesn't always do what you want
> but it's safe. Gud-print will call procedures e.g abort (), which you
> wouldn't want to happen if the mouse just lingered too long over it.
To me, SWIM implies that no function are ever called automatically :-)
> tooltip-identifier-from-point could be enhanced if you specified all the
> differences between existing behaviour and desired behaviour.
Right! I can "just" make my own SWIM version :-)
--
Kim F. Storm <address@hidden> http://www.cua.dk