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

[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: Mon, 29 May 2006 12:07:01 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Nick Roberts <address@hidden> writes:

>  > IMO, we should swap "toggle enable/disable breakpoint" (on mouse-3)
>  > and "run until" (on mouse-2).  
>  > 
>  > In normal bindings, mouse-3 is "extend region until click position",
>  > so it resembles "execute until click position".
>
> I tend to feel that mouse-3 should pop up a menu.

In general, yes, but emacs is different....

>
>  > Likewise, mouse-2 normally is "yank at point", which resembles "toggle
>  > at point".
>
> I'm not sure what "toggle at point" means, but using mouse-2 to toggle
> a breakpoint doesn't seem intuitive to me.
>
> How about putting it on C-mouse-1?  Because:
>
> 1) It's related to setting/clearing a breakpoint (on mouse-1).
> 2) The poor souls mentioned below can still use it.

Much better, yes.

>
>  > I guess that "run until" is used more frequently that "enable/disable
>  > breakpoint", so let's make it easier to use "run until" for the poor
>  > soles with a two-button mouse (e.g. most laptop users).
>
> I think frequency of use is a more compelling reason to put it on mouse-3.

Yes.

> There's another command (not documented), gdb-mouse-jump, which allows you
> to jump *backwards* so that you can go over the same code again
> (to be used with caution).  This is currently on C-mouse-2, and I would
> move that to C-mouse-3.

That's an excellent idea!


BTW, besides the [p] button and gud-tooptips, is there some easy way to
look at the value of the expression under the mouse?


-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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