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

2006-10-21 Thread Richard Stallman
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?


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


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

2006-10-21 Thread Stefan Monnier
 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


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


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

2006-10-19 Thread Kim F. Storm
Michael Mauger [EMAIL PROTECTED] writes:

 John Paul Wallington writes:

 
 I've noticed a weird redisplay bug on Emacs built and run with mingw
 on Windows XP x64 Edition for development versions of Emacs built on
 2006-09-30 through 2006-10-14.
 
 In a Gnus Summary buffer, mouse-wheel scrolling up and down over
 Author's names causes fragments of the highlight mouse-face to remain
 after the mouse cursor has left them.
 
 Here's an example screenshot:
 http://www.shootybangbang.com/redisplay-mouse-face-bug.png
 

 I've seen the same thing on W32 on recent CVS checkout over the last month or 
 so (current version: GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600) of 
 2006-09-30, 
 but I had seen it on a 2006-09-04 checkout as well).  

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.


I've never seen the original small artifacts problem on GNU/Linux though.
But I usually have mouse-highlight set to 1, which may easily hide this
problem.

I don't have time to dig into it right now, but this is a corner case which
should not delay the release.

-- 
Kim F. Storm [EMAIL PROTECTED] http://www.cua.dk



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug