emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New function for gdb-ui.el?


From: Kim F. Storm
Subject: Re: New function for gdb-ui.el?
Date: Sun, 23 Oct 2005 23:53:38 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Nick Roberts <address@hidden> writes:

>  > > Is it a good idea to add the function below to gdb-ui.el now/ever?
>  > 
>  > FWIW, I think it's a good idea.
>  > 
>  > Perhaps it would also be a good idea to run `until' by simply clicking
>  > in the fringe.
>
> At the moment gud-until is on the tool-bar (execution continues to point) but
> clicking with mouse-1 in the fringe sets/clears a breakpoint.  In the display
> margin, mouse-3 toggles an existing breakpoint.  I would like to do that in
> the fringe too, but currently I dont think you can give bitmaps properties
> in Emacs (I use text properties for the breakpoint icons in the margin).

Can't you put the property on the "invisible" character that you add
to show the bitmap?

> In the implementation that I gave, I required the drag to start from the
> overlay because I thought it was a potentially dangerous feature but I could
> relax that I guess and just look at where the drag finishes.

I think it is a good design to require that you start the drag with the
current overlay arrow -- of course, you can refine it by also defining
a drag-mouse-1 event which does mouse tracking and moves the overlay arrow
as you drag the mouse...

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





reply via email to

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