unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Louis-Guillaume Gagnon via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>, Philip Kaludercic <philipk@posteo.net>
Cc: 57418@debbugs.gnu.org
Subject: bug#57418: 28.1; Projects not saved when vc-handled-backends is nil
Date: Fri, 26 Aug 2022 16:11:04 +0000	[thread overview]
Message-ID: <e313eb6f-0bd0-5592-599e-6bbde2ef7278@protonmail.com> (raw)
In-Reply-To: <f55660f5-39c0-eace-fe37-8432aa251a68@yandex.ru>

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".

Thanks!

L-G








  parent reply	other threads:[~2022-08-26 16:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-25 20:35 bug#57418: 28.1; Projects not saved when vc-handled-backends is nil Louis-Guillaume Gagnon via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-26  7:46 ` Philip Kaludercic
2022-08-26 14:09   ` Michael Albinus
2022-08-26 14:21   ` Dmitry Gutov
2022-08-26 14:34     ` Louis-Guillaume Gagnon via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-26 16:11     ` Louis-Guillaume Gagnon via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-08-26 22:36       ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e313eb6f-0bd0-5592-599e-6bbde2ef7278@protonmail.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=57418@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=gagnonlg@protonmail.com \
    --cc=philipk@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).