Skip to content

Broken filename completion in eshell with Emacs 28.1 #2504

Open
@ikappaki

Description

@ikappaki

What happened?

Completion at point (hitting <TAB>) on a subpath replaces the subpath with the last subdirectory instead of completing

How to reproduce?

in Emacs 28.1, using the helm repo installed in d:/src as an example directory layout when trying to complete the helm/images path from Eshell:

  1. M-x eshell, opens the eshell prompt
Welcome to the Emacs shell

d:/src $
  1. Typing helm/im<TAB>, replaces helm/im with images
d:/src $ helm/im<TAB>
d:/src $ images/

The expected behaviour (as in earlier Emacs versions) is to complete the path, e.g.:

d:/src $ helm/images/

Helm Version

Master branch

Emacs Version

Emacs-28/29

OS

Windows

Relevant backtrace (if possible)

No response

Minimal configuration

  • I agree using a minimal configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions