all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Recent changes in gdb-ui.el
@ 2004-03-03 14:39 Kim F. Storm
  0 siblings, 0 replies; 5+ messages in thread
From: Kim F. Storm @ 2004-03-03 14:39 UTC (permalink / raw)



[This is extracted from my response to Nick Roberts re. supporting
 GDB overlay arrows at C and assembler levels simultaneiously.
 It hit the emacs-devel bit-bucket on Mar 02. ++kfs]


I have just installed changed to properly support multiple overlay
arrows.

[Some packages attempts to do this by making overlay-arrow-position
buffer local, but that doesn't really work well with the redisplay
code, as it may fail to notice changes to an overlay arrow in some
cases.]

To create an additional overlay arrow, create a new variable similar
to overlay-arrow-position, e.g.  gdb-asm-overlay-arrow-position and
add it to the new variable overlay-arrow-variable-list; like this:

 (push 'gdb-asm-overlay-arrow-position overlay-arrow-variable-list)

Then you can use gdb-asm-overlay-arrow-position just like the
overlay-arrow-position variable.

If you want to use a different fringe bitmap for the asm bitmap,
you can set it with

 (require 'fringe)
 (put 'gdb-asm-overlay-arrow-position 'overlay-arrow-bitmap
       right-truncation-fringe-bitmap)   ; the -> arrow

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-11 23:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <16450.6926.750772.12628@nick.uklinux.net>
     [not found] ` <m3y8qkvxwk.fsf@kfs-l.imdomain.dk>
2004-03-05 23:53   ` Recent changes in gdb-ui.el Nick Roberts
2004-03-06  1:59     ` Kim F. Storm
2004-03-10  5:47       ` Eli Zaretskii
2004-03-11 23:05         ` Nick Roberts
2004-03-03 14:39 Kim F. Storm

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.