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: `overlay-arrow-position' should be automatically buffer-local Date: Thu, 20 Oct 2005 10:02:51 +1300 Message-ID: <17238.46203.678461.245113@kahikatea.snap.net.nz> References: <87u0feb5b7.fsf@wigwam.deepwood.net> <871x2hck3a.fsf@cut.bc.hsia.telus.net> 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 1129755791 12051 80.91.229.2 (19 Oct 2005 21:03:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2005 21:03:11 +0000 (UTC) Cc: emacs-devel@gnu.org, daniel@brockman.se, "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 19 23:03:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESL57-0006Xp-QW for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2005 23:02:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESL57-0001gI-2J for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2005 17:02:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESL4Z-0001Ut-29 for emacs-devel@gnu.org; Wed, 19 Oct 2005 17:02:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESL4X-0001U3-8x for emacs-devel@gnu.org; Wed, 19 Oct 2005 17:02:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESL4X-0001Tx-4z for emacs-devel@gnu.org; Wed, 19 Oct 2005 17:02:05 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ESL4W-0004JY-JY for emacs-devel@gnu.org; Wed, 19 Oct 2005 17:02:04 -0400 Original-Received: from kahikatea.snap.net.nz (p224-tnt1.snap.net.nz [202.124.110.224]) by viper.snap.net.nz (Postfix) with ESMTP id 6FAA672F0D8; Thu, 20 Oct 2005 10:02:02 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 22AE08407; Thu, 20 Oct 2005 10:02:52 +1300 (NZDT) Original-To: Ryan Yeske In-Reply-To: <871x2hck3a.fsf@cut.bc.hsia.telus.net> X-Mailer: VM 7.19 under Emacs 22.0.50.15 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:44352 Archived-At: > In principle, there is only one overlay-arrow-position variable, > and since its value is a marker, its value includes the buffer > in which it occurs. > > This is how e.g. gdb can easily move the overlay arrow between buffers > -- just modify the global variable. > > gdb could use a *gud* buffer local variable. That way multiple > instances of gud wouldn't steal the arrow from eachother. Its not about multiple instances of GUD. The overlay arrow is displayed in the _source_ buffer, not the GUD buffer. As execution proceeds it can move from file to file and hence, buffer to buffer i.e it would have the same problem as Edebug. Incidentally, GUD does have its own overlay arrow now and it seems to work fine. Nick