GNU bug report logs -
#36911
26.1; Impossible to customise vc-ignore-dir-regexp
Previous Next
Reported by: Juliusz Chroboczek <jch <at> irif.fr>
Date: Sat, 3 Aug 2019 18:45:02 UTC
Severity: wishlist
Tags: moreinfo, wontfix
Found in version 26.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Juliusz Chroboczek <jch <at> irif.fr> writes:
> I'm trying to disable vc in a directory (an sshfs mount). The obvious
> candidate is vc-ignore-dir-regexp:
>
>> vc-ignore-dir-regexp is a variable defined in ‘vc-hooks.el’.
>> Its value is
>> "\\`\\(?:[\\/][\\/][^\\/]+[\\/]\\|/\\(?:net\\|afs\\|\\.\\.\\.\\)/\\)\\'"
>
> It is essentially impossible for a normal user to customise this variable
> without disabling the existing functionality. So for now, it's
>
> (setq vc-handled-backends nil)
I'm not sure why it's impossible to customise that variable? You can
just set it to "/my/ignored/directory" and that should work.
(You'd lose the original value, which is about AFS and SMB mounts, which
may be a sensible default, but which isn't relevant to most people
working in GNU/Linux.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 331 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.