emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mouse-face redisplay messy on Windows XP x64 Edition


From: Stefan Monnier
Subject: Re: mouse-face redisplay messy on Windows XP x64 Edition
Date: Sat, 21 Oct 2006 20:31:18 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>     I can reproduce similar results with M-x shell on GNU/Linux following
>     your description (terminating each multi-line with C-j is crusial!!)

>     It looks like redisplay fails to "delete to end of line" when lines
>     have mouse face.

> Is it really a bug in Emacs, or is this just a matter of how to
> implement output of CR into the comint buffer?

> If it is a real bug, can you fix it?

I think it's really a bug, but it's difficult to fix: basically CR in comint
currently erases line and puts point at BOL, but it should only put point at
BOL (and then overwrite the line when subsequent output comes).
Problem is that comint's normal behavior is not to overwrite text but to
insert it, so it's not trivial to change.  Maybe we could try to special
case the situation where CR is immediately followed by LF?


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]