Stefan Monnier <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> http://www.cua.dk _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
