• Jim Porter's avatar
    Support expanding Eshell globs for remote file names · e42f14f0
    Jim Porter authored
    * lisp/eshell/em-glob.el (eshell-glob-chars-regexp): New function...
    (eshell-glob-regexp): ... use it.
    (eshell-glob-p): New function...
    (eshell-glob-convert): ... use it, and return the deepest start
    directory possible.
    
    * lisp/eshell/esh-util.el (eshell-split-path): Rename to...
    (eshell-split-path): ... this, and account for remote file names.
    
    * test/lisp/eshell/em-glob-tests.el
    (em-glob-test/convert/current-start-directory)
    (em-glob-test/convert/relative-start-directory)
    (em-glob-test/convert/absolute-start-directory)
    (em-glob-test/convert/remote-start-directory): New tests (bug#69592).
    e42f14f0