From: Nick Roberts <nick@nick.uklinux.net>
Cc: emacs-devel@gnu.org
Subject: Re: Recent changes in gdb-ui.el
Date: Fri, 5 Mar 2004 23:53:46 +0000 [thread overview]
Message-ID: <16457.4874.687630.805845@nick.uklinux.net> (raw)
In-Reply-To: <m3y8qkvxwk.fsf@kfs-l.imdomain.dk>
> 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 do so, 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.
I've committed this change which seems to work fine on a graphical display but
not on a text-only terminal. Roughly, I've taken code from gud-display-line
and put it in gdb-assembler-custom. In this manner, I've created a variable
called gdb-overlay-arrow-string (set to "=>") but this doesn't have the
meaning given to overlay-arrow-string.
On a related note, I see that the overlay arrow is only represented as a
string on a text-only terminal. It seems to me that, now fringes can be
toggled, this should be extended to graphical displays where there is no
left-hand fringe.
Nick
next parent reply other threads:[~2004-03-05 23:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <16450.6926.750772.12628@nick.uklinux.net>
[not found] ` <m3y8qkvxwk.fsf@kfs-l.imdomain.dk>
2004-03-05 23:53 ` Nick Roberts [this message]
2004-03-06 1:59 ` Recent changes in gdb-ui.el 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
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=16457.4874.687630.805845@nick.uklinux.net \
--to=nick@nick.uklinux.net \
--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.