GNU bug report logs -
#49761
file-cache-minibuffer-complete has become unusable for duplicate file names in MacOSX 27.x emacs
Previous Next
Reported by: Aaron Cohen <aaron <at> brightbytes.net>
Date: Wed, 28 Jul 2021 19:39:01 UTC
Severity: normal
Tags: fixed
Fixed in version 28.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 49761 <at> debbugs.gnu.org (full text, mbox):
> Thanks for any assistance you can provide!!
It would be nice to have a minimal reproducible test case.
What I've tried is to create a minimal set of files with:
mkdir -p /tmp/a/ ; touch /tmp/a/Procfile /tmp/a/dashboard.rb
mkdir -p /tmp/b/ ; touch /tmp/b/Procfile /tmp/b/dashboard.rb
mkdir -p /tmp/c/ ; touch /tmp/c/Procfile /tmp/c/dashboard.rb
Then after adding them to the cache with:
(file-cache-add-directory-list '("/tmp/a" "/tmp/b" "/tmp/c"))
typing 'C-x C-f d C-TAB' cycles them correctly:
Find file: /tmp/c/dashboard.rb [1 of 3]
Find file: /tmp/b/dashboard.rb [2 of 3]
Find file: /tmp/a/dashboard.rb [3 of 3]
The same for 'C-x C-f P C-TAB' that cycles the files
without file extensions correctly as well:
Find file: /tmp/c/Procfile [1 of 3]
Find file: /tmp/b/Procfile [2 of 3]
Find file: /tmp/a/Procfile [3 of 3]
This works in the development version 28.0.50 without
any significant changes in filecache.el for a long time.
Do you see the same problems when running emacs with -Q
without customization?
This bug report was last modified 3 years and 291 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.