From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: New function for gdb-ui.el? Date: Mon, 24 Oct 2005 09:25:26 +1300 Message-ID: <17243.61878.582737.703030@kahikatea.snap.net.nz> References: <17243.21638.138477.436126@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1130099248 24359 80.91.229.2 (23 Oct 2005 20:27:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Oct 2005 20:27:28 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 23 22:27:19 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ETmQf-0007zv-KH for ged-emacs-devel@m.gmane.org; Sun, 23 Oct 2005 22:26:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ETmQe-0006U4-Sy for ged-emacs-devel@m.gmane.org; Sun, 23 Oct 2005 16:26:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ETmQN-0006R4-O0 for emacs-devel@gnu.org; Sun, 23 Oct 2005 16:26:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ETmQM-0006PI-7i for emacs-devel@gnu.org; Sun, 23 Oct 2005 16:26:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ETmQM-0006PB-1I for emacs-devel@gnu.org; Sun, 23 Oct 2005 16:26:34 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ETmQL-0001j1-5Z; Sun, 23 Oct 2005 16:26:33 -0400 Original-Received: from kahikatea.snap.net.nz (p44-tnt2.snap.net.nz [202.124.108.44]) by viper.snap.net.nz (Postfix) with ESMTP id 5F705731238; Mon, 24 Oct 2005 09:26:30 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 4C8E18402; Mon, 24 Oct 2005 09:25:27 +1300 (NZDT) Original-To: Eli Zaretskii In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.19 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:44642 Archived-At: > > 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). 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. Nick