From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Display feature request: gud-overlay-arrow Date: Tue, 21 Mar 2006 00:42:37 +0100 Message-ID: References: <17439.13250.269939.241145@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142898279 26264 80.91.229.2 (20 Mar 2006 23:44:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Mar 2006 23:44:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 21 00:44:38 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FLU37-0006rz-DI for ged-emacs-devel@m.gmane.org; Tue, 21 Mar 2006 00:44:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FLU39-0005GP-8Z for ged-emacs-devel@m.gmane.org; Mon, 20 Mar 2006 18:44:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FLU2y-0005GK-59 for emacs-devel@gnu.org; Mon, 20 Mar 2006 18:44:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FLU2v-0005G8-KW for emacs-devel@gnu.org; Mon, 20 Mar 2006 18:44:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FLU2v-0005G5-IV for emacs-devel@gnu.org; Mon, 20 Mar 2006 18:44:21 -0500 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FLU2u-0001ku-9C for emacs-devel@gnu.org; Mon, 20 Mar 2006 18:44:20 -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 DBBEEFAC018; Tue, 21 Mar 2006 00:44:09 +0100 (CET) Original-To: Nick Roberts In-Reply-To: <17439.13250.269939.241145@kahikatea.snap.net.nz> (Nick Roberts's message of "Tue, 21 Mar 2006 10:59:14 +1200") 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: news.gmane.org gmane.emacs.devel:51918 Archived-At: Nick Roberts writes: > GUD currently points to the current line of the "selected frame" with the > gud-overlay-arrow. This might be the innermost frame, where execution stops > which is called the "current frame", or it might be on higher in the stack > for example after the GDB command "up" or "frame N" where N > 0. > > I would like to distinguish between the current frame and any other frame > by making keeping the gud-overlay-arrow solid when the selected frame is > the current frame and making it hollow (or different in some other way) > otherwise i.e make its appearance depend on a variable's value. > > Is this possible? Could it be a TODO item for the next release? Can't you do that via the fringe-indicator-alist variable ? I guess it would be easier to do if we had a "post-switch-buffer-hook" that is called (after post-command-hook) whenever a new buffer is selected in the command loop. -- Kim F. Storm http://www.cua.dk