From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: charles@aurox.ch (Charles A. Roelli) Newsgroups: gmane.emacs.devel Subject: Re: Recent diff-mode changes feel slow with TRAMP Date: Sun, 13 Jan 2019 15:40:34 +0100 Message-ID: References: <87r2di5x4r.fsf@secretsauce.net> Reply-To: charles@aurox.ch NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1547389943 9783 195.159.176.226 (13 Jan 2019 14:32:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 13 Jan 2019 14:32:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dima Kogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 13 15:32:18 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gigoE-0002P3-Dr for ged-emacs-devel@m.gmane.org; Sun, 13 Jan 2019 15:32:18 +0100 Original-Received: from localhost ([127.0.0.1]:49917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gigqL-0002Nn-3r for ged-emacs-devel@m.gmane.org; Sun, 13 Jan 2019 09:34:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gigpM-0002N5-LS for emacs-devel@gnu.org; Sun, 13 Jan 2019 09:33:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gigpL-0006rg-3G for emacs-devel@gnu.org; Sun, 13 Jan 2019 09:33:27 -0500 Original-Received: from sinyavsky.aurox.ch ([2a03:2040:2:1b::1]:50412) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gigpK-0006e8-NH for emacs-devel@gnu.org; Sun, 13 Jan 2019 09:33:26 -0500 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 3448B22A1D for ; Sun, 13 Jan 2019 14:38:56 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= references:reply-to:subject:subject:in-reply-to:to:from:from :message-id:date:date; s=dkim; t=1547390335; x=1548254336; bh=qP lEko9lJ3Ss/GZ5JxAGe5w+rYH4jy+LjNxA0nQ+Ejw=; b=IGAd0QQB66sf5yWFE8 /7uYh7NJ7IEtBpsvoOsjt2Bvydka8lalDAPkAu64FpAa9dIf8JUE1P8Zfym4v7Dq RN7x+1Xa7xzrOEaXF5BUn09nbSoGPxb/+u6fWMviHXdl2Bj9OON2imb+GWT+IUE6 sN50tMSBq7FcS8QC+QK3uNN4c= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Original-Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id KdgSi8oI5xl4 for ; Sun, 13 Jan 2019 14:38:55 +0000 (UTC) Original-Received: from gray (unknown [IPv6:2a02:1206:4519:d090:c62c:3ff:fe30:b864]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id A96EC229E9; Sun, 13 Jan 2019 14:38:54 +0000 (UTC) In-reply-to: <87r2di5x4r.fsf@secretsauce.net> (message from Dima Kogan on Fri, 11 Jan 2019 20:16:04 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a03:2040:2:1b::1 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:232327 Archived-At: > From: Dima Kogan > Date: Fri, 11 Jan 2019 20:16:04 -0800 > > I THINK what's happening now is that in > addition, each file mentioned in the patch is loaded by emacs. I don't > know what emacs is doing with those files, but file loading is > potentially very slow with TRAMP, and we shouldn't be doing this by > default. Did you try turning off "diff-font-lock-syntax"? This new feature will find each file in the diff to provide correct font-locking. Maybe it should be disabled by default in remote buffers.