Re: eshell completion: what on earth is /davs and why is it back?
[email protected] Sun, 02 Aug 2026 13:49:43 -0400
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
Michael Albinus <[email protected]> writes: > "Ethan Azariah" <[email protected]> writes: > >> i could turn tramp off, but i think i'm going to want it for my android = devices. i'll see if i can turn only dav[s] off in tramp. > > --8<---------------cut here---------------start------------->8--- > (with-eval-after-load 'tramp > (setq tramp-methods (seq-remove (lambda (x) (string-match-p "davs?" (ca= r x))) tramp-methods))) > --8<---------------cut here---------------end--------------->8--- > According to: (info "(tramp) GVFS-based methods") "The =E2=80=98tramp-gvfs-enabled=E2=80=99 variable, being non-=E2=80=98n= il=E2=80=99, signals that TRAMP can use GVFS-based methods." So, to turn off GVFS-based methods (which includes =E2=80=98dav=E2=80=99 and =E2=80=98davs=E2=80=99, among others), set the variable =E2=80=98tramp-gvfs= -enabled=E2=80=99 to nil: M-: (setq tramp-gvfs-enabled nil) Then eshell will no longer attempt to use these two methods (or any of the GVFS-based methods described in the TRAMP user manual), and so completion on /da will no longer list /dav or /davs. --=20 The lyf so short, the craft so long to lerne. - Geoffrey Chaucer, The Parliament of Birds.