From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.bugs Subject: bug#62749: 28.2; Emacs keeps opening related file from vc-diff buffer Date: Mon, 10 Apr 2023 15:11:24 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25085"; mail-complaints-to="usenet@ciao.gmane.io" To: 62749@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 10 14:12:24 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1plqNk-0006MB-33 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Apr 2023 14:12:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1plqNb-0004da-02; Mon, 10 Apr 2023 08:12:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plqNT-0004WP-10 for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2023 08:12:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1plqNO-0005cm-Lf for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2023 08:12:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1plqNN-0007m0-U1 for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2023 08:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Oleksandr Gavenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Apr 2023 12:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62749 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.168112869229838 (code B ref -1); Mon, 10 Apr 2023 12:12:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Apr 2023 12:11:32 +0000 Original-Received: from localhost ([127.0.0.1]:34473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plqMt-0007lB-SZ for submit@debbugs.gnu.org; Mon, 10 Apr 2023 08:11:32 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plqMs-0007l4-7L for submit@debbugs.gnu.org; Mon, 10 Apr 2023 08:11:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plqMr-0004Kq-EE for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2023 08:11:29 -0400 Original-Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1plqMp-0005Xw-KA for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2023 08:11:29 -0400 Original-Received: by mail-ej1-x62f.google.com with SMTP id ud9so11825618ejc.7 for ; Mon, 10 Apr 2023 05:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1681128685; x=1683720685; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=gGyfIMz5lOfyKWazZB/HiLCTKGNB0DhbM4WImQvfbs4=; b=ffz/+/rI9ciHQoE9DrZU5KppZF9THb1nuVyHnUI/3mwtQMkCBa+nCQiV0TVnZlG72E mSqqozg1178YQcEtY3pvrdInwijdNKpv2QWQadc+n27s3enXEpGUFtbk1yf4Uir5KTSd xQayQHlH+OUDbnpqv77Xnxu7j18A4unmhciWNP2U7431J6VOPwUFgnWrpoIDU4R4zUuL XSdRrA0Tiyr+CYHv22escCSq370p6VEO8KtjMDgznOgXHSG89Xpb7jIXTbmdacKtPf+R AbC5NI+Tz9DxDF/qtNvZ7EZ0MgWfM6XN2u6V5vaE+ZMVJbgmDcnS94ZO00G6OmoRbJ15 U3RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681128685; x=1683720685; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=gGyfIMz5lOfyKWazZB/HiLCTKGNB0DhbM4WImQvfbs4=; b=IfhOQi5STihC+baxjXxqdPKo68hhVadTyP5DJBrO4tBzE+GpYbo8qtoCEBB6rh8Y/1 U3uWB2W7KPAybjnnNTEvAQKIBgAN18SIq+ECPZFTt5zyxDaPiQ7CYC/ZXPPCpETViKGO rJDwEGqk/tUa2caMXj2k6/VTaaA1KBXfM1Knr2SGWkCSNvgkQxS/KlAbqdrYRNXa6oX/ 67GLzNubL5rh42RbzfVGyLnb4enkY63HC6J2lKacWGUzW4Vfzf0dGc+bn8nU4A2pWf78 GW3fVvUAzJlAM0RE+yXZZcw0pfljKv03/VEXywDAqid9BORKMtBNtP6Go/26Na3uHi9p C/zg== X-Gm-Message-State: AAQBX9dCeNWYXvmGeTxMg3L/y8G1q05gMVoFVxsY24R9G8uolQSIGX3E YQ9zHiWggeHug9HnYygIpz0HMRD9F5c= X-Google-Smtp-Source: AKy350YF2f2wRr7xWuAzPFo+xn/VGBTAzQPdjxX6DVWZSNwRtIAS0bM3T1GJzLOjQwP28uMXEOyzJA== X-Received: by 2002:a17:907:8dc6:b0:94a:4eba:45d3 with SMTP id tg6-20020a1709078dc600b0094a4eba45d3mr5555728ejc.30.1681128685605; Mon, 10 Apr 2023 05:11:25 -0700 (PDT) Original-Received: from msi ([46.118.60.213]) by smtp.gmail.com with ESMTPSA id n14-20020a1709065dae00b009334219656dsm5017242ejv.56.2023.04.10.05.11.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Apr 2023 05:11:25 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=gavenkoa@gmail.com; helo=mail-ej1-x62f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_PDS_OTHER_BAD_TLD=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259566 Archived-At: In GNU Emacs 28.2 (build 1, x86_64-pc-cygwin) of 2022-09-16 built on fv-az140-985 Repository revision: 70134aa8264ded36d80248204b2ba43ae3d8f599 Whenever I open vc-diff buffer by "d" (log-view-diff) to read repository history from "C-x v L" (vc-print-root-log) Emacs opens all files referenced by diff. The diff might be very big so: * I end with lots of opened files that I need eventually close. * Emacs pollutes recentf history - I don't want robotically opened file mixed with human opened files. * Cygwin is slow (especially under antivirus supervision) file opening delays Emacs for many seconds. Initially I asked for help in Emacs 27.1: https://emacs.stackexchange.com/questions/61760/lags-when-navigating-vc-root-diff-buffer/ and found workaround with: (setq diff-font-lock-syntax nil) But with Emacs v28.2 it doesn't work, I asked for help once more: https://emacs.stackexchange.com/questions/76728/modern-emacs-keeps-opening-related-file-from-vc-diff-buffer -- http://defun.work/