From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: The display margin Date: 24 Nov 2003 01:09:19 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <16080.60869.212521.952911@nick.uklinux.net> <200305251636.h4PGa1ll021935@rum.cs.yale.edu> <16082.42589.935105.932019@nick.uklinux.net> <16321.14941.117864.117597@nick.uklinux.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069629040 8950 80.91.224.253 (23 Nov 2003 23:10:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Nov 2003 23:10:40 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Nov 24 00:10:38 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AO3NG-00057Q-00 for ; Mon, 24 Nov 2003 00:10:38 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AO3NF-0006Zw-00 for ; Mon, 24 Nov 2003 00:10:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AO4Kd-00020Y-B8 for emacs-devel@quimby.gnus.org; Sun, 23 Nov 2003 19:11:59 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AO4KK-0001zr-2q for emacs-devel@gnu.org; Sun, 23 Nov 2003 19:11:40 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AO4Jm-0001tV-Lh for emacs-devel@gnu.org; Sun, 23 Nov 2003 19:11:37 -0500 Original-Received: from [193.162.153.2] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AO4Jl-0001tE-Rn for emacs-devel@gnu.org; Sun, 23 Nov 2003 19:11:05 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id 4424F47FFAA; Mon, 24 Nov 2003 00:09:40 +0100 (CET) Original-To: Nick Roberts In-Reply-To: <16321.14941.117864.117597@nick.uklinux.net> Original-Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18062 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18062 Nick Roberts writes: > I like this very much. This means that at some stage the unintuitive tool bar > buttons for gud-break and gud-remove could go. Well for M-x gdba, at least. > Other debuggers in GUD would still need them. I will try to arrange for the > source buffer to always display the margin so that this feature can be used > when there are no prior breakpoints. Also the GDB command 'info line' says > which lines contain code. When I have time, I will try to work this in so > that breakpoints can only be set on those lines. It's not necessary to have a display margin -- as clicking on the left fringe will also generate an event to toggle the breakpoint ... provided that the buffer's local-map is setup to the gud-minor-mode-map. So once you click in the fringe to set a breakpoint, you can open the margin. -- Kim F. Storm http://www.cua.dk