Re: eshell completion: what on earth is /davs and why is it back?
Michael Albinus <[email protected]> Sun, 02 Aug 2026 21:30:24 +0200
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
[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?" (c= ar 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= =98nil=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-gv= fs-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. Of course, but this disables more than just dav and davs. The OP wants to "turn only dav[s] off". Best regards, Michael.