Skip to content

In-buffer filename completion broken #1244

@basil-conto

Description

@basil-conto

Commit 55e34e8 introduced the following two behaviours:

Completion gets stuck
  1. make plain
  2. M-x ielm RET
  3. (find-file "t TAB TAB
    • Expected result: In-buffer completion of files under targets directory
    • Actual result: Unselectable minibuffer with prompt (targets/):
Completion overwrites filename prefixes

This recipe assumes a typical Unix-like installation of Emacs, where package-user-dir is at ~/.emacs.d/elpa.

  1. make plain
  2. M-x ielm RET
  3. (cd "~") RET
  4. (find-file "~/.emacs.d TAB
    • Expected result: (find-file "~/.emacs.d/
    • Actual result: (find-file ".emacs.d/
  5. elpa TAB
    • Expected result: (find-file "~/.emacs.d/elpa/
    • Actual result: (find-file "elpa/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions