all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: Display feature request: gud-overlay-arrow
Date: Thu, 23 Mar 2006 11:23:25 +0100	[thread overview]
Message-ID: <m38xr1h336.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <17442.25451.927114.415243@kahikatea.snap.net.nz> (Nick Roberts's message of "Thu, 23 Mar 2006 20:59:23 +1200")

Nick Roberts <nickrob@snap.net.nz> 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 <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2006-03-23 10:23 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-20 22:59 Display feature request: gud-overlay-arrow Nick Roberts
2006-03-20 23:42 ` Kim F. Storm
2006-03-21  3:55   ` Nick Roberts
2006-03-21  9:27     ` Kim F. Storm
2006-03-21 10:35       ` Nick Roberts
2006-03-21 13:43         ` Kim F. Storm
2006-03-22  3:20           ` Nick Roberts
2006-03-22 20:43             ` Kim F. Storm
2006-03-23  5:15               ` John S. Yates, Jr.
2006-03-23  5:04                 ` Miles Bader
2006-03-23  5:51                   ` Nick Roberts
2006-03-23  6:26                     ` Miles Bader
2006-03-23 21:28                 ` Nick Roberts
2006-03-23  8:59           ` Nick Roberts
2006-03-23 10:23             ` Kim F. Storm [this message]
2006-03-23 21:59               ` Nick Roberts
2006-03-21 19:26   ` Richard Stallman
2006-03-21 19:40     ` Masatake YAMATO
2006-03-21 22:01       ` Stefan Monnier
2006-03-21 21:58     ` Kim F. Storm
2006-03-22 13:44       ` Richard Stallman
2006-03-22 17:50         ` Kim F. Storm
2006-03-23 19:47           ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m38xr1h336.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.