From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] find-file-noselect-1 Date: Fri, 11 Feb 2005 19:05:18 +0900 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> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1108117691 20678 80.91.229.6 (11 Feb 2005 10:28:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2005 10:28:11 +0000 (UTC) Cc: Nick Roberts , Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 11 11:28:03 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 1CzY1q-0001z7-00 for ; Fri, 11 Feb 2005 11:28:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CzYGi-0006NU-Rh for ged-emacs-devel@m.gmane.org; Fri, 11 Feb 2005 05:43:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CzY06-00035i-9g for emacs-devel@gnu.org; Fri, 11 Feb 2005 05:26:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CzXzu-00032a-Bu for emacs-devel@gnu.org; Fri, 11 Feb 2005 05:26:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CzXzs-00031p-Md for emacs-devel@gnu.org; Fri, 11 Feb 2005 05:26:01 -0500 Original-Received: from [64.233.184.205] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CzXfq-0008CD-LB for emacs-devel@gnu.org; Fri, 11 Feb 2005 05:05:18 -0500 Original-Received: by wproxy.gmail.com with SMTP id 40so339641wri for ; Fri, 11 Feb 2005 02:05:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=gIHstbJOt3cox6ce3jvVKQVuHdF/qLge9e4VlPPZg3zpKUz11jdBKw/J01qGVL8ojaknanq9A2OsyhbP2sEg6khi1voyLqVBLKG7KductAOFBPmuUeTMJtwqyFC8Y2QCplaekG2WpQNM7bsvHECkNTljQTnBACwBc7xMyKOFIGw= Original-Received: by 10.54.17.42 with SMTP id 42mr67844wrq; Fri, 11 Feb 2005 02:05:18 -0800 (PST) Original-Received: by 10.54.19.70 with HTTP; Fri, 11 Feb 2005 02:05:18 -0800 (PST) Original-To: "Kim F. Storm" In-Reply-To: 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:33246 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33246 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). -Miles -- Do not taunt Happy Fun Ball.