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: Thu, 23 Mar 2006 11:23:25 +0100 Message-ID: References: <17439.13250.269939.241145@kahikatea.snap.net.nz> <17439.31049.393782.938907@kahikatea.snap.net.nz> <17439.55042.159116.120699@kahikatea.snap.net.nz> <17442.25451.927114.415243@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 1143109528 10261 80.91.229.2 (23 Mar 2006 10:25:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Mar 2006 10:25:28 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 23 11:25:26 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 1FMN0I-0001Cs-OR for ged-emacs-devel@m.gmane.org; Thu, 23 Mar 2006 11:25:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FMN0I-0007B3-BJ for ged-emacs-devel@m.gmane.org; Thu, 23 Mar 2006 05:25:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FMN04-0007Al-Uw for emacs-devel@gnu.org; Thu, 23 Mar 2006 05:25:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FMN03-0007AR-Pc for emacs-devel@gnu.org; Thu, 23 Mar 2006 05:25:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FMN03-0007AO-NH for emacs-devel@gnu.org; Thu, 23 Mar 2006 05:25:03 -0500 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FMN0d-0006L9-0B for emacs-devel@gnu.org; Thu, 23 Mar 2006 05:25:39 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepc.post.tele.dk (Postfix) with SMTP id D650F262841; Thu, 23 Mar 2006 11:24:56 +0100 (CET) Original-To: Nick Roberts In-Reply-To: <17442.25451.927114.415243@kahikatea.snap.net.nz> (Nick Roberts's message of "Thu, 23 Mar 2006 20:59:23 +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:51990 Archived-At: Nick Roberts writes: > > > I don't really know how to put a face on a bitmap but I don't mind if > > > someone more familiar with faces wants to play around with it. > > > > set-fringe-bitmap-face > > I can't get this to work e.g > > (set-fringe-bitmap-face 'breakpoint 'shadow) > > returns nil and does nothing to existing or further breakpoint icons. That's because the code which puts the breakpoint bitmap in the left fringe explicitly specifies the face (breakpoint-enabled or breakpoint-disabled) for the bitmap: (gdb-put-string nil (1+ start) `(left-fringe breakpoint ,(if enabled 'breakpoint-enabled 'breakpoint-disabled)) > > Can it be made to work for standard bitmaps? e.g to make the overlay arrow > (right-triangle) white (as Miles described). Did you try it? However, if you really want to do this, you should define a new white-overlay-arrow bitmap and give it a white face -- then, when you know overlay is above a breakpoint bitmap, you could explicitly map overlay-arrow to white-overlay-arrow in fringe-indicator-alist. -- Kim F. Storm http://www.cua.dk