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: Kim F. Storm
Subject: Re: mouse-face redisplay messy on Windows XP x64 Edition
Date: Sun, 22 Oct 2006 23:52:06 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>     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?

Well, I think there is a bug in the code which deletes the mouse highlight
when the highlight spans multiple lines -- that a redisplay error which has
nothing to do with comint.

I'll try to fix it, but I have very little time at the moment.

In any case, such highlighting is very uncommon, so I don't think this
problem should delay the pretest.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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