Juri Linkov <[EMAIL PROTECTED]> writes:
>> Kim Storm created a variable overlay-arrow-variable-list to allow
>> multiple overlay arrows (see info). I have used this for buffers
>> displaying assembler in gdb-ui.el (gdb-overlay-arrow-position).
>
> I tried to use overlay-arrow-variable-list, but can't display more
> than one fringe arrow in one buffer. I tried the code below:
>
> (progn
> (goto-char (point-min))
> (insert "abc\ndef\nghi\n")
> (setq overlay-arrow-position
> (copy-marker (save-excursion (forward-line -1) (point)))
> next-error-overlay-arrow
> (copy-marker (save-excursion (forward-line -2) (point)))
> compilation-overlay-arrow
> (copy-marker (save-excursion (forward-line -3) (point)))
> overlay-arrow-variable-list
> '(next-error-overlay-arrow compilation-overlay-arrow
> overlay-arrow-position)))
>
> What is wrong with this?
IIRC, the redisplay code tries to optimize overlay handling by
only looking for one arrow in each buffer...
Try removing this line in xdisp.c to see if it has the desired
effect:
overlay_arrow_seen = 1;
--
Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk
_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug