From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: New function for gdb-ui.el? Date: Sun, 23 Oct 2005 23:53:38 +0200 Message-ID: References: <17243.21638.138477.436126@kahikatea.snap.net.nz> <17243.61878.582737.703030@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130104505 5322 80.91.229.2 (23 Oct 2005 21:55:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Oct 2005 21:55:05 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 23 23:54:56 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ETnnf-0005AY-Fl for ged-emacs-devel@m.gmane.org; Sun, 23 Oct 2005 23:54:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ETnne-0003WC-U4 for ged-emacs-devel@m.gmane.org; Sun, 23 Oct 2005 17:54:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ETnnV-0003Vv-Rk for emacs-devel@gnu.org; Sun, 23 Oct 2005 17:54:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ETnnU-0003Vj-BF for emacs-devel@gnu.org; Sun, 23 Oct 2005 17:54:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ETnnU-0003Vf-71 for emacs-devel@gnu.org; Sun, 23 Oct 2005 17:54:32 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ETnnT-0006L4-Ka; Sun, 23 Oct 2005 17:54:31 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id 271175EE045; Sun, 23 Oct 2005 23:54:29 +0200 (CEST) Original-To: Nick Roberts In-Reply-To: <17243.61878.582737.703030@kahikatea.snap.net.nz> (Nick Roberts's message of "Mon, 24 Oct 2005 09:25:26 +1300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:44646 Archived-At: Nick Roberts 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 http://www.cua.dk