all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Subject: Re: Recent changes in gdb-ui.el
Date: 03 Mar 2004 15:39:09 +0100	[thread overview]
Message-ID: <m3y8qit2pe.fsf@kfs-l.imdomain.dk> (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

             reply	other threads:[~2004-03-03 14:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-03 14:39 Kim F. Storm [this message]
     [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

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=m3y8qit2pe.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    /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.