From unknown Tue Aug 19 12:50:11 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#57418 <57418@debbugs.gnu.org> To: bug#57418 <57418@debbugs.gnu.org> Subject: Status: 28.1; Projects not saved when vc-handled-backends is nil Reply-To: bug#57418 <57418@debbugs.gnu.org> Date: Tue, 19 Aug 2025 19:50:11 +0000 retitle 57418 28.1; Projects not saved when vc-handled-backends is nil reassign 57418 emacs submitter 57418 Louis-Guillaume Gagnon severity 57418 normal tag 57418 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 25 16:50:18 2022 Received: (at submit) by debbugs.gnu.org; 25 Aug 2022 20:50:18 +0000 Received: from localhost ([127.0.0.1]:51435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRJnt-0003aO-Mn for submit@debbugs.gnu.org; Thu, 25 Aug 2022 16:50:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:34716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRJaG-0003CV-Gt for submit@debbugs.gnu.org; Thu, 25 Aug 2022 16:36:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRJaF-0003N0-RX for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2022 16:36:12 -0400 Received: from mail-0301.mail-europe.com ([188.165.51.139]:37278) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRJaD-0004P7-Nk for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2022 16:36:11 -0400 Date: Thu, 25 Aug 2022 20:35:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1661459762; x=1661718962; bh=3MaAKQrzGMOu3VJz3XHJfs70F5qGt/+CbA46juYozV4=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=WW3/b69oNNXghRuvI5JeLjiJIbFfvlBkFX/jJlvqOsOoCz75qTMUFVQ3aSld2Z4GE v09N2L1UG7PDewYY+5GwwKthwTFc6D5/PDwXsJe9zmrdWr37HOIRa8ClQPmpO8DKiY hk0FpPh7ClYj+sBP7cw1E29p1XFJ45kRwgAyYSTaAp0Gv+22j43AvaSdHPoPMjzHMs 0okCMIN7o6xJUlS8amz/EVVBOkDlL3rgg/C2nujbRmt1MOAJKY/Ku6Vl+qhEthlbr6 zvqx29jK6oCoTVqqWP2Ky47q7qLophOqyGSxXAztnopSEAS9bMNTUuNU3kQfbS0BcM EVVz/n0StNNIg== To: bug-gnu-emacs@gnu.org From: Louis-Guillaume Gagnon Subject: 28.1; Projects not saved when vc-handled-backends is nil Message-ID: Feedback-ID: 19925570:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=188.165.51.139; envelope-from=gagnonlg@protonmail.com; helo=mail-0301.mail-europe.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 25 Aug 2022 16:50:15 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Louis-Guillaume Gagnon Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Good day, I've recently been migrating from projectile to the built-in project.el. Since then, one major annoyance is that the projects are never saved into project-list-file, so I have to re-enter the projects' paths everytime I make a query. I have narrowed it down to vc-handled-backends being set to nil in my init-file. If it's left at its default, it works as expected. I could just leave the variable at its default but (iirc) it's part of a bunch of optimizations I made to speedup my TRAMP setup, so I'm reluctant to do that.=C2=A0 And just to be perfectly clear, the rest of project mode see= mingly works as expected if that variable is nil, it's just the projects are not saved. Steps to reproduce from emacs -Q: + (setq 'vc-handled-backends nil) + Use project.el to find a file in any project not in your project-list-file, e.g. with C-x p p + Open your project-list-file, "/.emacs.d/projects" in my case Expected result: The recently opened project is listed Actual result: The recently opened project is *not* listed Thanks in advance, L-G In GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6) =C2=A0of 2022-04-27 built on frederik Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Arch Linux Configured using: =C2=A0'configure --with-x-toolkit=3Dgtk3 --with-native-compilation =C2=A0--sysconfdir=3D/etc --prefix=3D/usr --libexecdir=3D/usr/lib =C2=A0--localstatedir=3D/var --with-cairo --with-harfbuzz --with-libsystem= d =C2=A0--with-modules 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe = -fno-plt =C2=A0-fexceptions -Wp,-D_FORTIFY_SOURCE=3D2 -Wformat -Werror=3Dformat-sec= urity =C2=A0-fstack-clash-protection -fcf-protection -g =C2=A0-ffile-prefix-map=3D/build/emacs/src=3D/usr/src/debug -flto=3Dauto' =C2=A0'LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto= =3Dauto'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: =C2=A0 value of $LANG: en_US.UTF-8 =C2=A0 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: =C2=A0 tooltip-mode: t =C2=A0 global-eldoc-mode: t =C2=A0 eldoc-mode: t =C2=A0 show-paren-mode: t =C2=A0 electric-indent-mode: t =C2=A0 mouse-wheel-mode: t =C2=A0 tool-bar-mode: t =C2=A0 menu-bar-mode: t =C2=A0 file-name-shadow-mode: t =C2=A0 global-font-lock-mode: t =C2=A0 font-lock-mode: t =C2=A0 blink-cursor-mode: t =C2=A0 auto-composition-mode: t =C2=A0 auto-encryption-mode: t =C2=A0 auto-compression-mode: t =C2=A0 line-number-mode: t =C2=A0 indent-tabs-mode: t =C2=A0 transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 68327 6828) =C2=A0(symbols 48 6640 0) =C2=A0(strings 32 19747 1364) =C2=A0(string-bytes 1 670753) =C2=A0(vectors 16 14088) =C2=A0(vector-slots 8 298948 14165) =C2=A0(floats 8 22 33) =C2=A0(intervals 56 237 1) =C2=A0(buffers 992 11)) From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 26 03:46:16 2022 Received: (at 57418) by debbugs.gnu.org; 26 Aug 2022 07:46:16 +0000 Received: from localhost ([127.0.0.1]:51949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRU2h-0005o8-TU for submit@debbugs.gnu.org; Fri, 26 Aug 2022 03:46:16 -0400 Received: from mout02.posteo.de ([185.67.36.66]:48477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRU2f-0005nt-Kz for 57418@debbugs.gnu.org; Fri, 26 Aug 2022 03:46:14 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 97F3F240106 for <57418@debbugs.gnu.org>; Fri, 26 Aug 2022 09:46:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1661499967; bh=6nB1/vg+40leO973H1ac4YffWwLQtem+p/HRglhX+Bw=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=ptf4buo3wieHkbRIWq+vNAHJA7tFgwQw7RoMSnOylgiO3WhWdESnNbJkiAh6i4g8k icgjGp464PbwaUeJSLJyG2EV9HnyUjx6tApfo0vX6nNo6MflXWv5QwxQ+IbVlNNJm3 nqbTxX0ajrslFRlfN16j/ANru0VogDc2igeklG+rtbnPnm9RPjqUV3g32p+oBqRXsU VhKLBlGbyOgqBvhz5ICzwIx8JlMgvBq3KbVsVrQW2C/1hGzwVgI1xhxbNOo8x7tt7r KmJ/APa9/HPyToM+Kp2p+7oXeL7Pyis1YA95qXotoQ8PddCp80vuh2wCClJBi3nInU X1+YqUZJUa12Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MDX2Q5d64z9rxN; Fri, 26 Aug 2022 09:46:06 +0200 (CEST) From: Philip Kaludercic To: Louis-Guillaume Gagnon Subject: Re: bug#57418: 28.1; Projects not saved when vc-handled-backends is nil In-Reply-To: (Louis-Guillaume Gagnon's message of "Thu, 25 Aug 2022 20:35:55 +0000") References: Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB Date: Fri, 26 Aug 2022 07:46:06 +0000 Message-ID: <87edx3o3b5.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57418 Cc: 57418@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Louis-Guillaume Gagnon writes: > > Good day, > > I've recently been migrating from projectile to the built-in > project.el. Since then, one major annoyance is that the projects are > never saved into project-list-file, so I have to re-enter the projects' > paths everytime I make a query. > > I have narrowed it down to vc-handled-backends being set to nil in my > init-file. If it's left at its default, it works as expected. I could > just leave the variable at its default but (iirc) it's part of a bunch > of optimizations I made to speedup my TRAMP setup, so I'm reluctant to > do that.=C2=A0 And just to be perfectly clear, the rest of project mode s= eemingly > works as expected if that variable is nil, it's just the projects are > not saved. > > Steps to reproduce from emacs -Q: > > + (setq 'vc-handled-backends nil) > > + Use project.el to find a file in any project not in your > project-list-file, e.g. with C-x p p > > + Open your project-list-file, "/.emacs.d/projects" in my case > > Expected result: The recently opened project is listed > Actual result: The recently opened project is *not* listed This is to be expected, as by default `project-find-functions' only includes one function that uses and relies on VC. If it were just this, I would therefore not consider this to be a bug. Does anything else work? `project-find-file', `project-shell', `project-compile', ...? What might be worth doing is issuing a warning if `project-try-vc' (the default project-finding-function) is invoked while VC is effectively disabled. You could try solving this by either adding your own alternative to `project-try-vc' (e.g. if you just use Git, then this --8<---------------cut here---------------start------------->8--- (defun project-try-git (dir) "Find a super-directory of DIR containing a root file." (let ((repo (locate-dominating-file dir ".git"))) (and repo (list 'git dir)))) (cl-defmethod project-root ((project (head git))) "Return the root of a explicit PROJECT." (cadr project )) (with-eval-after-load 'project (add-hook 'project-find-functions #'project-try-git)) --8<---------------cut here---------------end--------------->8--- might be enough, but still be optimised a bit more). Another idea might be to just disable VC for Tramp, or rather just some Tramp connections?=20 > Thanks in advance, > L-G From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 26 07:09:20 2022 Received: (at control) by debbugs.gnu.org; 26 Aug 2022 11:09:21 +0000 Received: from localhost ([127.0.0.1]:52351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRXDE-0007Hq-Nx for submit@debbugs.gnu.org; Fri, 26 Aug 2022 07:09:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRXDD-0007HW-7j for control@debbugs.gnu.org; Fri, 26 Aug 2022 07:09:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VEgE7nlQj4lSxzQGlwhTwPVMQTeVkIxNRX6/fu7kRzk=; b=L0MKWzFHXWsOgRXZf4Qlp9Ct75 z1UuPTs6OgYObiDBHob2E6rfqGOCp49Jrd0LRzQmQ47ivn4xm1VU0W8G9OK9zsLW+jXYaYAyTNeDn zqQ87g1z1OtvqhT+S01NgwE9fiXF24wL253QEY8A1UAgoC2PgalviAzRdZ+kFBaSL8Ss=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRXD5-0000KV-Hf for control@debbugs.gnu.org; Fri, 26 Aug 2022 13:09:13 +0200 Date: Fri, 26 Aug 2022 13:09:11 +0200 Message-Id: <87fshjdzxk.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #57418 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 57418 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 57418 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 26 10:09:49 2022 Received: (at 57418) by debbugs.gnu.org; 26 Aug 2022 14:09:49 +0000 Received: from localhost ([127.0.0.1]:54204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRa1t-0004ix-DP for submit@debbugs.gnu.org; Fri, 26 Aug 2022 10:09:49 -0400 Received: from mout.gmx.net ([212.227.15.18]:38261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRa1r-0004ih-6o for 57418@debbugs.gnu.org; Fri, 26 Aug 2022 10:09:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1661522978; bh=tD5VyQc/ZY+sVo5h8AneGewj7j9vnfQxTXsEgWQVUoI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=PjGmJqiNVF8eN4SRH3QH6LJ2ORm7mbFdBhVRhPK0xW+my+a/2lCLiAUNzBXxnFUvc ZkSyehePyuxZKG+uxHwtNdp11uq5Oy0SUQQjCtlsq/K6aB3DvsndRrj1r6O0YMtWMf k5+h0kzU+GLvAZorWUl+HX4YOP2t3ttH4BpgEiIE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.156.6]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MrQIv-1pFmTt2jKx-00oThO; Fri, 26 Aug 2022 16:09:38 +0200 From: Michael Albinus To: Philip Kaludercic Subject: Re: bug#57418: 28.1; Projects not saved when vc-handled-backends is nil In-Reply-To: <87edx3o3b5.fsf@posteo.net> (Philip Kaludercic's message of "Fri, 26 Aug 2022 07:46:06 +0000") References: <87edx3o3b5.fsf@posteo.net> Date: Fri, 26 Aug 2022 16:09:37 +0200 Message-ID: <87tu5zgkpq.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:2v0w9PzHI47mYCDOg2CGf1dAV2Dj4siuCShQrdfPCObcCDquzdh L3UGuApP40vla8sDSlSbXYXrCjtZKPKHWCPt/Y5d/PmR467Q38QRX2A6XXuNq9v/08fcW2b yuxSoCS1ewIS1Xvj2+u3KBWqyF33wEl5rnQkdTwWyHNwh9tdnn70iCeqGklFfy8t1FL9PhC Y0ds8Yt/IF6vR/yOx7ygQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:MWHmJktpH+A=:iEUxdcFV/lQQOBF0qQf8Dl Bibn5q1qv4H5TSTmEGdHBE4oq2tdDtPPG8WkHWavAc4HnRsSjQ3JJka3GdpaIYLmNaczT0civ 7UDqXb/YQEUuzBZHtl9N/ys4su5HwDTIQp1XX5UQ2QnifFKhqMUT7/rY5oVXk/eJCuIxzOrV9 GSr3JpNUTL2zT+cI+9cauq7n1iwHZ8+wxvGuM/I2z5s+rX7qpydmYjahFWD1h4l5sxZGqYGUg 5qlhhLUlc6d3ZshKtHohrHuq0I5G0LVZDFjcLMF2bmyUeSHGOTnL4JJofUo+THeRGJy3cL9BX 7hZxCbUY9Kq4erL/bH5WBY9+KKS1v+D0nbwuUgHgWwQ3D2A9+QjvYQIx3GB1Zo2UuM/aQwK7a J5ynkJeStrvAIdZCIPZYNE8mv13J30Ez5cIK2RSfN56E8KOOl7UTCKndJQarzKEoc2/EJ31I5 vM3GcZa0465O4QAnXQFr+Sl9vm3XCzHb8dBkPEOPKafhWLSDZtI8/Hkw58rLSPIp8xdvEFEZz 5kd92hH8dMcZ5eQD9P+bvPeE1/2pmpO/L5HgrctasZzDAuAnnm0R2xTtC1L9Q578UrUUdWcHL LFAIXvlAhs5IiEK939cMy9cd1NSR6Nieaa4VKFSGwH2zYz/Hn3kGFmlGrDjjzhrU4NVBPy43R P915JgLGqNPUF8jOXCpomv/FhecO+5dPp6wIUv9ZSVEVwnPGoVgwXY45xxAmz4aR743uufImb pl5WAHiLInn15Z98vQUSD5ThFkZPPWWH6Iyx/y/OkcXnsENS+W04RW9yTMpp/n52F/s1fl2Nt ew+YcB3mYS/OESA3Xdyd+vMcZ4+XqkgRQqOwacxfaRbU/ywKtU1FxX9n2ZR0wEAiWOt1APV38 0Cs+e2Y8T8oWxWvaXaOeUYX6cRUaaAMiIVIt8Oovc+Q0LAkQV0hCFdlio34gH41lQY7wkNmCk DETIAQBblVzbOqurrHZGl9hQUHF13gkkdQDDL+J6DF2aOg+f8wPFLiM7EcFfa2l0F1FHMniWa GnQZ53uM63BFCHo7sgZW5lmqYj+1oz2vQB6y0FOnOLDKxirBtg+gM+2a6eEsIl+Q2eKjMzl2Z mW7CInJcEfJhDUch9TjyeNvB5v0vsfLWok46ky5jN3tAILT3WfJnrJQrg== Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 57418 Cc: 57418@debbugs.gnu.org, Louis-Guillaume Gagnon X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Philip Kaludercic writes: Hi, > Another idea might be to just disable VC for Tramp, or rather just some > Tramp connections? Yes, this shall be possible via connection-local variables (I haven't tested, 'tho). >> Thanks in advance, >> L-G Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 26 10:21:26 2022 Received: (at 57418) by debbugs.gnu.org; 26 Aug 2022 14:21:26 +0000 Received: from localhost ([127.0.0.1]:54222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRaD8-000533-0i for submit@debbugs.gnu.org; Fri, 26 Aug 2022 10:21:26 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:40563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRaD6-00052p-Aj for 57418@debbugs.gnu.org; Fri, 26 Aug 2022 10:21:24 -0400 Received: by mail-wr1-f51.google.com with SMTP id h5so1988548wru.7 for <57418@debbugs.gnu.org>; Fri, 26 Aug 2022 07:21:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc; bh=9Mas1JjQu7t8T4mpm7Nd5ROjTGi2sjQp+B37xRVO6J0=; b=bDuNM3ywav82YWUMc+MlHjMZ/7d0Mvwa96wfrK8OnzwHt14LCCMq4sj+v9xSxSQc9m /yi4u7BBTjSOT5HMFfkySUWOn3QpJV7YkxvfU+WyLFXNlxJcMtxNz4aQl1Hr27EYYaL0 7hKNMxQMWRjW+2QWtYHOU9u2B+O3S2YoXYVB+z2L+/NZRzvR4SlhCMKk7Prs8O3sPyag gtbfvRxAbxFltPvmR9Nz6g0xYJU+JnjU+w/7SGe/Vlfnq6AKxGn+prTyZNv3Rb4rQXp4 KoY6KgoCX768xLHI6PeKYwWezc0ZXqrfhj5YUBwC8faXfWE3kWsH+sFesE1N+XB+AScm 8ucA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc; bh=9Mas1JjQu7t8T4mpm7Nd5ROjTGi2sjQp+B37xRVO6J0=; b=Cm2Y0yb/RTwi3YBHR3NPSeBW5T/kUaXrGiwBW+gtuuh6ScGBi4XpURLIyDqZmvBI8Z ZzUi/OM8UH40CJtfzXvISJUr+mrKQyfZc6AUn7LWEE2QHw9LlmCbaOX0p8oQLT/doVIe q3tCtblTuQmleuhC+NYujbqM4bmZ9QSzdmzWHJ6JT0hLdHqo8sZAhV2kXAV+1l4cfZx7 mbydxQB847KH6gtmioLwqD8nQhUATmSZ3yZBP91bjJyiPTcNgl6HH30o55MG+ae5Nslt zZn0TM3GSOdz9GTSSodIwQQrFtQibdgQWOulFHbnNP6X+QOfdT4caQ8EAB4iK9B8PMqW 41rg== X-Gm-Message-State: ACgBeo2AS9QUcnIUwyCESENdadZGGdlJMdFjL/x64o4X2EjpbyW63TZ8 1eV0jKXmGnw4c5Ss4zWuDPU= X-Google-Smtp-Source: AA6agR4zdrZOFmtAVi1KVeY8BZzwF8vpBLkJT6avqaDffM0lf6uL7r9XhWAG6s73PC8W17leO2frOQ== X-Received: by 2002:a05:6000:1f15:b0:225:3cb4:7b7 with SMTP id bv21-20020a0560001f1500b002253cb407b7mr5049877wrb.282.1661523678339; Fri, 26 Aug 2022 07:21:18 -0700 (PDT) Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id y15-20020adfdf0f000000b0022589d133f0sm1957121wrl.96.2022.08.26.07.21.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Aug 2022 07:21:17 -0700 (PDT) Message-ID: Date: Fri, 26 Aug 2022 17:21:13 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: bug#57418: 28.1; Projects not saved when vc-handled-backends is nil Content-Language: en-US To: Philip Kaludercic , Louis-Guillaume Gagnon References: <87edx3o3b5.fsf@posteo.net> From: Dmitry Gutov In-Reply-To: <87edx3o3b5.fsf@posteo.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 57418 Cc: 57418@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 26.08.2022 10:46, Philip Kaludercic wrote: > Louis-Guillaume Gagnon writes: > >> Good day, >> >> I've recently been migrating from projectile to the built-in >> project.el. Since then, one major annoyance is that the projects are >> never saved into project-list-file, so I have to re-enter the projects' >> paths everytime I make a query. >> >> I have narrowed it down to vc-handled-backends being set to nil in my >> init-file. If it's left at its default, it works as expected. I could >> just leave the variable at its default but (iirc) it's part of a bunch >> of optimizations I made to speedup my TRAMP setup, so I'm reluctant to >> do that.  And just to be perfectly clear, the rest of project mode seemingly >> works as expected if that variable is nil, it's just the projects are >> not saved. >> >> Steps to reproduce from emacs -Q: >> >> + (setq 'vc-handled-backends nil) >> >> + Use project.el to find a file in any project not in your >> project-list-file, e.g. with C-x p p >> >> + Open your project-list-file, "/.emacs.d/projects" in my case >> >> Expected result: The recently opened project is listed >> Actual result: The recently opened project is*not* listed > This is to be expected, as by default `project-find-functions' only > includes one function that uses and relies on VC. If it were just this, > I would therefore not consider this to be a bug. Does anything else > work? `project-find-file', `project-shell', `project-compile', ...? I'm honestly surprised that things work with vc-handled-backends disabled. Louis-Guillaume, does (project-current) ever evaluate to non-nil on your system? I'm guessing you end up picking the project directory manually every time. > What might be worth doing is issuing a warning if `project-try-vc' (the > default project-finding-function) is invoked while VC is effectively > disabled. Probably not: after all, the user can have some next backend configured. And we allow setting vc-handled-backends to nil. > You could try solving this by either adding your own alternative to > `project-try-vc' (e.g. if you just use Git, then this > > --8<---------------cut here---------------start------------->8--- > (defun project-try-git (dir) > "Find a super-directory of DIR containing a root file." > (let ((repo (locate-dominating-file dir ".git"))) > (and repo (list 'git dir)))) > > (cl-defmethod project-root ((project (head git))) > "Return the root of a explicit PROJECT." > (cadr project )) > > (with-eval-after-load 'project > (add-hook 'project-find-functions #'project-try-git)) > --8<---------------cut here---------------end--------------->8--- > > might be enough, but still be optimised a bit more). This should work, yes. We could also add a variable which would substitute vc-handled-backends for the purposes of project.el (we'd temporarily use its value). Not sure it's worth the added complexity, though. > Another idea might be to just disable VC for Tramp, or rather just some > Tramp connections? (setq-local vc-handled-backends) inside find-file-hook behind a file-remote-p check could do the trick. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 26 10:35:06 2022 Received: (at 57418) by debbugs.gnu.org; 26 Aug 2022 14:35:06 +0000 Received: from localhost ([127.0.0.1]:54272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRaQM-0005TG-Eh for submit@debbugs.gnu.org; Fri, 26 Aug 2022 10:35:06 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:31003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRaQJ-0005SY-NB for 57418@debbugs.gnu.org; Fri, 26 Aug 2022 10:35:04 -0400 Date: Fri, 26 Aug 2022 14:34:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1661524497; x=1661783697; bh=w25FaRy9GgbCfA4b2wiTPqipDYW3HXU10RJZ6Y6nyEM=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=YVC1+imLVXfsgLsPErwuPQjurob2kopVyGuyx4axY6sN8WY5Jb1nw8F0p1YnUddXp hNOFYR+3w19kK8P3mkskXPywoFbSxwTCFQU+FuTMwzQ7IiljDDucCpNO+OjTCyDaAC RZWs1CRqvQmIBOVt2VBEHja/qnuHn+jyU4X5DwKB7BCGNW69WLjC/LZM1ox2SJ6MaW URygHDxZxVFP+DdeDTvM4BLr4fsritWp636c40YoZKDV7Ix85GQYmrM+WjycXGBRPh sFmSgZKTWBW00cuXysy1peKDQqDSou/aC81wjDMsptALTmklvf1Ze2z/sa+CHttcRF TbUPjUjvHH6hw== To: Dmitry Gutov , Philip Kaludercic From: Louis-Guillaume Gagnon Subject: Re: bug#57418: 28.1; Projects not saved when vc-handled-backends is nil Message-ID: In-Reply-To: References: <87edx3o3b5.fsf@posteo.net> Feedback-ID: 19925570:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57418 Cc: 57418@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Louis-Guillaume Gagnon Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Dmitry & all, Le 8/26/22 =C3=A0 07:21, Dmitry Gutov a =C3=A9crit=C2=A0: >> This is to be expected, as by default `project-find-functions' only >> includes one function that uses and relies on VC. If it were just this, >> I would therefore not consider this to be a bug. Does anything else >> work? `project-find-file', `project-shell', `project-compile', ...? > I'm honestly surprised that things work with vc-handled-backends disabled= . > > Louis-Guillaume, does (project-current) ever evaluate to non-nil on your > system? I'm guessing you end up picking the project directory manually > every time. Indeed, it's always nil if vc-handled-backends is also nil. I think the situation now makes more sense to me now; I thought the only problem is that the projects are not saved but the reason why I have to reenter the project every=C2=A0 time is deeper and related to project-root, I guess. I will explore the various proposed ways to get the equivalent setup without wholesale disabling vc. Thanks to everyone who chimed in! L-G From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 26 12:11:19 2022 Received: (at 57418) by debbugs.gnu.org; 26 Aug 2022 16:11:19 +0000 Received: from localhost ([127.0.0.1]:54380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRbvT-00020B-8s for submit@debbugs.gnu.org; Fri, 26 Aug 2022 12:11:19 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:56717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRbvR-0001zy-OV for 57418@debbugs.gnu.org; Fri, 26 Aug 2022 12:11:18 -0400 Date: Fri, 26 Aug 2022 16:11:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1661530271; x=1661789471; bh=s3okmKaFWAPuWly3cWpRWU5CSGSFpEThV0PgnAhDB+c=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=Nd749YKpchMVbDekX+DH5k4aHy3goQoAHE9SVB7yXSLHfBsGCwH08r0O4hTrfTvdY PlxJlqIiTypo9c8F2n3qXE/A0kKjSUrMJ6/p+XH6vZmqTIPp14bw43mAa4EB9xRQ0o GcMKC9Y2/5rT9g5KauuDtTuG6MSQhvpMdBS9xAsfUNugXNcootCtbfzThHYHKRp6Co tmKckI+SYE+bLJBhBlecu7sK17b83OUsA8e9u/rGwIsxX43rnfM3EQgMBKAi+ohlAq sCS5DlzC/BFwawLGeSwWSGRZ25ykr43pWAC4ggzt0dX834VCi5jx7MtzMGy/yM5GQG PBxMAR2tUGOeA== To: Dmitry Gutov , Philip Kaludercic From: Louis-Guillaume Gagnon Subject: Re: bug#57418: 28.1; Projects not saved when vc-handled-backends is nil Message-ID: In-Reply-To: References: <87edx3o3b5.fsf@posteo.net> Feedback-ID: 19925570:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57418 Cc: 57418@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Louis-Guillaume Gagnon Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dear all, This appears to do what I want: =C2=A0 (setq vc-follow-symlinks nil) =C2=A0 (defun my-vc-off-if-remote () =C2=A0=C2=A0=C2=A0 (if (file-remote-p (buffer-file-name)) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (setq-local vc-handled-backends= nil))) =C2=A0 (add-hook 'find-file-hook 'my-vc-off-if-remote) I guess this can be closed as "notabug". Thanks! L-G From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 26 18:36:35 2022 Received: (at 57418-done) by debbugs.gnu.org; 26 Aug 2022 22:36:35 +0000 Received: from localhost ([127.0.0.1]:54766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRhwJ-00064S-6S for submit@debbugs.gnu.org; Fri, 26 Aug 2022 18:36:35 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:42716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRhwH-00064F-51 for 57418-done@debbugs.gnu.org; Fri, 26 Aug 2022 18:36:33 -0400 Received: by mail-wr1-f47.google.com with SMTP id m16so3327285wru.9 for <57418-done@debbugs.gnu.org>; Fri, 26 Aug 2022 15:36:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc; bh=vQ7+mCMyunjAgszvZxiVBbhX5mUKvV9Ij5hqAHqjz2c=; b=mB39rc5MIvnU9rKp/pePXBLFEqrtMgS6ksDbkO6iGbWdGUnz75FFPz7llzfy27obsR Tp7BlAg3x9iqppymAEFUB+2luAnDS1DmJBQOzVfWu4t4tRo2DlhxYnmeueAAZdlhmSwp OMGkj5QcmudTM1Kbqhi0K0BQrqSnhR2Q32jwt3XdT9oKzqrcFXg7q+PtdnMzuvPWQVIP wSssHJspaeJHZwcYtTihhvb5TLjRLVEJO4QiJpVsMaa4SoNWEWkPRmhQJHzioV76AWz7 09oxtO0rUDiTZCN3ZDCrQVOlgqf+UealOriaHIp51bxcVwkMUafi7OK3XiOvzoNIisEh Q3Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc; bh=vQ7+mCMyunjAgszvZxiVBbhX5mUKvV9Ij5hqAHqjz2c=; b=LJtuuwBkwAfMcfDXasc1wRBUGZJ8wPvJeTHtCYJNM7+me6TvyFz/FU1/zt/HUgdW1h muGwOh7RLDZqpu4HYJZZbHpPkxr+jmAHPCS4+CeAQos/DqV35zDLhur+Ye4yrpqH0eRh Ukk16SLlSYxefPDdmdJh4GLyQDg9ix33/hNuK1DL7JFIu09tY+MHOn9M1cqKh8tg2fuF K8cnO9/3AkdQQqor3yK5J9tlIERR/6vZO9NqBqu71dxt4n3nsYduQZoqP5Oe9pZKmg4X p6AvdpkBzZo9DRWHZD82v9KKXZddv5DXotE/ugtZW13MyB0+3HtXUbsPrwgWTf6UeNwE dA0A== X-Gm-Message-State: ACgBeo3WuntQXrjauNg+11WWVT397eCRE/zt5SlT3fWbhVh+DAx4/A2I gE2azISlFLBV0v5OTMf6ySQ= X-Google-Smtp-Source: AA6agR5fJypaL2hKv96qBMcReonCvgUL6OMGQhQ6lOwFLyYXNZ49ysPtdVrbKIUyNFSwo2zYlqZ6ig== X-Received: by 2002:adf:d23c:0:b0:226:af6f:2df5 with SMTP id k28-20020adfd23c000000b00226af6f2df5mr855339wrh.595.1661553387196; Fri, 26 Aug 2022 15:36:27 -0700 (PDT) Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id l26-20020a05600c1d1a00b003a62052053csm1045712wms.18.2022.08.26.15.36.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Aug 2022 15:36:26 -0700 (PDT) Message-ID: <2581243b-ee47-08a5-0e24-1ae28a6d0b93@yandex.ru> Date: Sat, 27 Aug 2022 01:36:25 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: bug#57418: 28.1; Projects not saved when vc-handled-backends is nil Content-Language: en-US To: Louis-Guillaume Gagnon , Philip Kaludercic References: <87edx3o3b5.fsf@posteo.net> From: Dmitry Gutov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 57418-done Cc: 57418-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 26.08.2022 19:11, Louis-Guillaume Gagnon wrote: > Dear all, > > This appears to do what I want: > >   (setq vc-follow-symlinks nil) >   (defun my-vc-off-if-remote () >     (if (file-remote-p (buffer-file-name)) >         (setq-local vc-handled-backends nil))) >   (add-hook 'find-file-hook 'my-vc-off-if-remote) > > I guess this can be closed as "notabug". Very good, closing. From unknown Tue Aug 19 12:50:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 24 Sep 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator