tags 394595 + moreinfo unreproducible
thanks

On 2006-10-22 03:49 +0200, Jay Berkenbilt wrote:

> Package: emacs-snapshot
> Version: 1:20061015-1
> Severity: normal

I'm trying to reproduce this issue with emacs22 to which the bug has
been reassigned.

> start emacs -q and eval this defun:
>
> (defun highlight-stars ()
>   (interactive)
>   (font-lock-mode 0) ; turn off
>   (unhighlight-regexp "\\*")
>   (highlight-regexp "\\*" 'highlight)
> )
>
> Now switch to buffer *a* and enter
>
>  * * * *
>
> Type M-x highlight-stars
>
> The asterisks turn green (or whatever color the highlight face is).

So far, so good.

> Type additional asterisks.  Notice that they do not show up in green.
> Move the pointer to one of the green asterisks and hit space.  Notice
> that the space shows up green.

I cannot reproduce this in Emacs 22.2.  The asterisks are always green,
the spaces white (or whatever the background color is).

> Now run M-x highlight-stars again.  The green space turns back to the
> normal color and the new asterisks turn green.  Now type some more
> asterisks and observe that they turn green immediately as typed.  Hit
> space over an asterisk and observe that the space does not turn green.
> It is this second behavior that seems correct, or at least, it is the
> second behavior that I'm trying to achieve.

I'm always seeing the second behavior, so the bug can probably be
closed.  Can you please retry with Emacs 22.2?

Regards,
        Sven



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to