[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weird display buglet (video)
From: |
Dmitry Gutov |
Subject: |
Re: Weird display buglet (video) |
Date: |
Tue, 02 Oct 2012 22:26:01 +0400 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
Stefan Monnier <address@hidden> writes:
>> I compiled from bzr today and I get some weird line when
>> editing commit logs. It certainly happens elsewhere, but
>> maybe this small video demonstrating the problem (1MO) is
>> explicit enough for someone to find the bug:
>
> The line is normal (it is the separator between the header and the
> body). The flickering between "a plain old empty line" and "the
> font-locked version of that line" is not normal.
I think it may be better to only display the line when the lines above
it contain legitimate mail headers. Maybe make the regexp in
`rfc822-goto-eoh' more strict?
In Bastien's example, the first line of text doesn't match neither the
regexp in log-edit-font-lock-keywords, nor any in
message-font-lock-keywords.