From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#36564: 27.0.50; Wrong number of errors in compilation mode-line Date: Mon, 15 Jul 2019 08:44:21 -0400 Message-ID: References: <871ryzhskw.fsf@mail.linkov.net> <87ef2xmsct.fsf@mail.linkov.net> <87d0ifm67a.fsf@mail.linkov.net> <87wogl4m66.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="171527"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 36564@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 15 14:45:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hn0M1-000iLt-SL for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jul 2019 14:45:18 +0200 Original-Received: from localhost ([::1]:38174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hn0Lt-0002V8-Ly for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jul 2019 08:45:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38942) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hn0Lq-0002Ub-6d for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 08:45:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hn0Lo-0007tk-7n for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 08:45:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38012) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hn0Lm-0007sD-MO for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 08:45:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hn0Lm-0001lv-DT for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 08:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Jul 2019 12:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36564 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed patch Original-Received: via spool by 36564-submit@debbugs.gnu.org id=B36564.15631946746750 (code B ref 36564); Mon, 15 Jul 2019 12:45:02 +0000 Original-Received: (at 36564) by debbugs.gnu.org; 15 Jul 2019 12:44:34 +0000 Original-Received: from localhost ([127.0.0.1]:46833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn0LI-0001kl-Oe for submit@debbugs.gnu.org; Mon, 15 Jul 2019 08:44:34 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:53523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn0LG-0001kW-JJ for 36564@debbugs.gnu.org; Mon, 15 Jul 2019 08:44:31 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E0E56100951; Mon, 15 Jul 2019 08:44:23 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id A7C63100393; Mon, 15 Jul 2019 08:44:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1563194662; bh=vFOuHYqrmMMYPGPrAH1AM2TkSp/IltE888EenQ19S20=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=hJ1AmFQx/3BITXLjW2TYekzED6BbAeUjVsFt4i6Y+TOraaAQo8D6LAOx0N0lkax2w De6IHP8wsU2AyTMCrp4jcwM3+YqxqFPDw6tvUoR0611cigIIm1EBTsb5SGv5tABznZ fLudUxfz9ugKBHQ/lU8D2TRH8FP9ExQz7F6sRdIOB7YNbuTjuHifvqDfH9/9SBXgu6 Z9E5dobwzKswnIr5sOg6blZQ8LQELc0xxePk6oVPJl040/lRnII8VCK1wBoOaPUMuz v10o52Fn8ARSarswWs+X3cj5SeFe6CPm8xwpJqNSn6RpZdb3tJaMmj08nyKhs+yqGZ UCeqzHwhLUDvg== Original-Received: from pastel (104-222-123-229.cpe.teksavvy.com [104.222.123.229]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7A7BD120436; Mon, 15 Jul 2019 08:44:22 -0400 (EDT) In-Reply-To: <87wogl4m66.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 14 Jul 2019 01:04:25 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163105 Archived-At: > IIUC, after adding compilation--ensure-parse there is no > performance degradation in case when the compilation buffer > is displayed during compilation, because compilation--ensure-parse > is called on the same-sized chunks as when the buffer is fontified > by font-lock. Only when the window displays the bottom of the buffer. > I noticed this when tried to debug the problem of fontifying > diff hunks, but I failed to find a solution. The problem is this: > sometimes diff-mode doesn't refine some hunks during font-lock > when the first part of the hunk emitted by diff-process-filter > (from the diff command comparing files) is fontified partly, > then after emitting the remaining part of the hunk it remains > unfontified. Yes, it's a bit tricky to handle this right while at the same time trying to avoid refontifying the same hunk N times (where N is proportional to the hunk size). Stefan