From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Weird display buglet (video) Date: Tue, 02 Oct 2012 22:26:01 +0400 Message-ID: <506B31B9.8010002@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349202421 7163 80.91.229.3 (2 Oct 2012 18:27:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Oct 2012 18:27:01 +0000 (UTC) Cc: bzg@gnu.org, emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 02 20:27:04 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TJ7An-00032C-JV for ged-emacs-devel@m.gmane.org; Tue, 02 Oct 2012 20:26:25 +0200 Original-Received: from localhost ([::1]:56909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ7Ah-0002BO-TR for ged-emacs-devel@m.gmane.org; Tue, 02 Oct 2012 14:26:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ7Ab-0002Au-MB for emacs-devel@gnu.org; Tue, 02 Oct 2012 14:26:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJ7AV-0005Cd-TD for emacs-devel@gnu.org; Tue, 02 Oct 2012 14:26:13 -0400 Original-Received: from forward7.mail.yandex.net ([77.88.61.37]:42028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ7AQ-0005Bg-Oh; Tue, 02 Oct 2012 14:26:03 -0400 Original-Received: from smtp8.mail.yandex.net (smtp8.mail.yandex.net [77.88.61.54]) by forward7.mail.yandex.net (Yandex) with ESMTP id 6679C1C28BE; Tue, 2 Oct 2012 22:26:00 +0400 (MSK) Original-Received: from smtp8.mail.yandex.net (localhost [127.0.0.1]) by smtp8.mail.yandex.net (Yandex) with ESMTP id 311D01B60737; Tue, 2 Oct 2012 22:26:00 +0400 (MSK) Original-Received: from 37x113x84x135.dynamic.spb.ertelecom.ru (37x113x84x135.dynamic.spb.ertelecom.ru [37.113.84.135]) by smtp8.mail.yandex.net (nwsmtp/Yandex) with ESMTP id PxliXFWO-PxlidKTE; Tue, 2 Oct 2012 22:25:59 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1349202360; bh=M13MmvUg1j0pZZCANViVlGCPLwNSsp9JztaZzbcEWoI=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: Content-Type:Content-Transfer-Encoding; b=H0WDRj3EvE+cDcyq1sHgNxWoZ5drkd/uin86sQmsqZJz3D/MGHg6RTvOELweCueDN SlPPEJkYm8MjISL2iQPIckJDUvzR5NEzIVkLkdTPkWLQIC1ISuk5RDmhba2jP8Fa7A jO84K8eledlvWjCqdo7ZMgc/9zGQ9p9JevdKzOYc= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 77.88.61.37 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:153951 Archived-At: Stefan Monnier 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.