From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation Date: Wed, 30 Nov 2016 10:07:32 -0500 Message-ID: References: <874m2q1oca.fsf@gmail.com> <4707af57-53ae-9b10-686a-1ca0864b9abb@yandex.ru> <537f1c4f-5157-9cae-b565-63b58b704503@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1480518623 16505 195.159.176.226 (30 Nov 2016 15:10:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 Nov 2016 15:10:23 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 30 16:10:20 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cC6WY-0003jn-4x for ged-emacs-devel@m.gmane.org; Wed, 30 Nov 2016 16:10:18 +0100 Original-Received: from localhost ([::1]:44579 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cC6Wb-0000kF-Uj for ged-emacs-devel@m.gmane.org; Wed, 30 Nov 2016 10:10:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cC6Ut-0007zH-Iw for emacs-devel@gnu.org; Wed, 30 Nov 2016 10:08:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cC6Uo-00067F-I0 for emacs-devel@gnu.org; Wed, 30 Nov 2016 10:08:35 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:58910) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cC6Uo-00066v-C6 for emacs-devel@gnu.org; Wed, 30 Nov 2016 10:08:30 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DgBQALW9BX/9qixEVdGwEBAQMBAQGDLQEBAQEBHoRNhVCxeYYWBAICgWk9EAECAQEBAQEBAV4nhGIBAQMBViMQCw4mEhQYDSSIVQi8VQEBAQcCJYp9ihwFjx2KPJEVAYd3hguPDYE+NR+Ebh6GCgEBAQ X-IPAS-Result: A0DgBQALW9BX/9qixEVdGwEBAQMBAQGDLQEBAQEBHoRNhVCxeYYWBAICgWk9EAECAQEBAQEBAV4nhGIBAQMBViMQCw4mEhQYDSSIVQi8VQEBAQcCJYp9ihwFjx2KPJEVAYd3hguPDYE+NR+Ebh6GCgEBAQ X-IronPort-AV: E=Sophos;i="5.30,296,1470715200"; d="scan'208";a="281072515" Original-Received: from 69-196-162-218.dsl.teksavvy.com (HELO pastel.home) ([69.196.162.218]) by smtp.teksavvy.com with ESMTP; 30 Nov 2016 10:08:29 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id F2FFE654B9; Wed, 30 Nov 2016 10:07:32 -0500 (EST) In-Reply-To: <537f1c4f-5157-9cae-b565-63b58b704503@yandex.ru> (Dmitry Gutov's message of "Wed, 30 Nov 2016 16:34:58 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:209800 Archived-At: >> BTW, diff-mode would really benefit from having diff-refine hooked into >> font-lock since the hunks are just always refined without having to do >> anything at all. > Couldn't a slow font-lock rule make normal navigation worse? Oh yes, which is why it shouldn't be slow: it should be asynchronous, instead (which is also why I haven't written it yet: doing it synchronous and slow would be easy). Stefan