Re: eshell completion: what on earth is /davs and why is it back?

Colin Baxter <[email protected]> Fri, 31 Jul 2026 10:00:19 +0100
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
>>>>> Manuel Giraud <[email protected]> writes:

    > Colin Baxter <[email protected]> writes:
    >>>>>>> Ethan Azariah <[email protected]> writes:
    >> 
    >> > i started using emacs a few months ago after a very long break.
    >> i > use eshell heavily.  i'm having a strange issue with
    >> directory > completion.  i keep all my junk mounted on /data.
    >> probably over > 50% of my cd commands begin with /data, which i
    >> type as /da<tab>.  > this is muscle memory i've had since 2004.
    >> when i started using > emacs a few months ago, eshell would
    >> suggest nonexistent > directories /dav and /davs in addition to
    >> /data.  before i could > complain, (it's hard for me to write
    >> emails like this,) it > stopped.  just now, it started doing it
    >> again.
    >> 
    >> > so, i have to ask, *why,* *for the love of free software,* is >
    >> eshell interrupting my typing to offer spurious dirnames which >
    >> have never existed on any computer i've ever owned?
    >> 
    >> > copypaste, showing the dirs are really not there:
    >> 
    >> > Welcome to the Emacs shell
    >> 
    >> > /data/games/transport-tycoon $ ls / bin data etc initrd.img lib
    >> > lost+found mnt proc run srv tmp var vmlinuz.old boot dev home >
    >> initrd.img.old lib64 media opt root sbin sys usr vmlinuz >
    >> /data/games/transport-tycoon $ cd /davs No such directory: /davs
    >> > /data/games/transport-tycoon [1] $ cd /dav No such directory:
    >> /dav > /data/games/transport-tycoon [1] $ cd /data /data $
    >> 
    >> Would customising the variable `eshell-cmpl-dir-ignore' help?

    > I was not able to customize `eshell-cmpl-dir-ignore' to avoid
    > this.  But there is also `eshell-cmpl-remote-file-ignore'.

    > OP, you could customize it to t and it should fix your issue.
    > FTR, dav and davs are remote access methods supported by TRAMP.

Set it to `t' it and see if it works. I'd be interested to hear the
result.

Colin Baxter.