[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fringe arrow conflict between compile and gud?
From: |
Kim F. Storm |
Subject: |
Re: fringe arrow conflict between compile and gud? |
Date: |
Tue, 29 Mar 2005 09:36:52 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Juri Linkov <address@hidden> 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 <address@hidden> http://www.cua.dk
- fringe arrow conflict between compile and gud?, JUAN-LEON Lahoz Garcia, 2005/03/23
- Re: fringe arrow conflict between compile and gud?, Nick Roberts, 2005/03/29
- Re: fringe arrow conflict between compile and gud?, JUAN-LEON Lahoz Garcia, 2005/03/29
- Re: fringe arrow conflict between compile and gud?, Kim F. Storm, 2005/03/29
- Re: fringe arrow conflict between compile and gud?, Nick Roberts, 2005/03/29
- Re: fringe arrow conflict between compile and gud?, Kim F. Storm, 2005/03/29
- Re: fringe arrow conflict between compile and gud?, Nick Roberts, 2005/03/30
- Re: fringe arrow conflict between compile and gud?, Kim F. Storm, 2005/03/30