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: [PATCH] find-file-noselect-1 Date: Fri, 11 Feb 2005 11:29:32 +0100 Message-ID: References: <16907.50624.707323.36975@farnswood.snap.net.nz> <87oeeru6nw.fsf-monnier+emacs@gnu.org> <16908.26618.789580.363225@farnswood.snap.net.nz> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1108121621 1586 80.91.229.6 (11 Feb 2005 11:33:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2005 11:33:41 +0000 (UTC) Cc: Nick Roberts , emacs-devel@gnu.org, Stefan Monnier , miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 11 12:33:29 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CzZ3B-0006hq-00 for ; Fri, 11 Feb 2005 12:33:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CzZI6-000794-GW for ged-emacs-devel@m.gmane.org; Fri, 11 Feb 2005 06:48:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CzYVT-0008Ki-9s for emacs-devel@gnu.org; Fri, 11 Feb 2005 05:58:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CzYVE-000896-U7 for emacs-devel@gnu.org; Fri, 11 Feb 2005 05:58:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CzYU9-0007Px-FR for emacs-devel@gnu.org; Fri, 11 Feb 2005 05:57:18 -0500 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1CzY3G-00020T-3m for emacs-devel@gnu.org; Fri, 11 Feb 2005 05:29:30 -0500 Original-Received: (qmail 55472 invoked from network); 11 Feb 2005 10:29:28 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 11 Feb 2005 10:29:28 -0000 Original-To: snogglethorpe@gmail.com In-Reply-To: (Miles Bader's message of "Fri, 11 Feb 2005 19:05:18 +0900") 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: main.gmane.org gmane.emacs.devel:33248 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33248 Miles Bader writes: > On Fri, 11 Feb 2005 09:51:59 +0100, Kim F. Storm wrote: >> But can't gdb-ui just bind [left-fringe mouse-1] to a gdb-ui specific >> command in global-map? That command could check if the buffer is >> a source file and set breakpoints accordingly (if gdb is running >> and in a state that allows it to set a breakpoint), and just >> do mouse-set-point otherwise. > > Nick's method -- as I understand it -- seems cleaner: when a new file > is opened, see if gdb wants to deal with it (and if so, do > ...whatever... magic). But what if I have N files opened already and then load/start gdb -- are those files already opened "gdb enabled" using Nick's method? -- Kim F. Storm http://www.cua.dk