unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Aaron Cohen <aaron@brightbytes.net>
Cc: 49761@debbugs.gnu.org
Subject: bug#49761: file-cache-minibuffer-complete has become unusable for duplicate file names in MacOSX 27.x emacs
Date: Thu, 29 Jul 2021 20:55:29 +0300	[thread overview]
Message-ID: <87o8alvwby.fsf@mail.linkov.net> (raw)
In-Reply-To: <CAJ3u-GmD41gWT1DGE-BYieCxJW6a1N4YCh2iLquy2-2E_ouChQ@mail.gmail.com> (Aaron Cohen's message of "Wed, 28 Jul 2021 12:22:12 -0700")

> 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?





  reply	other threads:[~2021-07-29 17:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-28 19:22 bug#49761: file-cache-minibuffer-complete has become unusable for duplicate file names in MacOSX 27.x emacs Aaron Cohen
2021-07-29 17:55 ` Juri Linkov [this message]
2021-07-29 18:14   ` Eli Zaretskii
2021-07-29 18:31     ` Juri Linkov
2021-07-29 19:29       ` Eli Zaretskii
2021-07-29 19:40         ` Juri Linkov
2021-07-29 21:37           ` Aaron Cohen
2021-07-29 22:49             ` Juri Linkov
2021-07-30  5:50               ` Eli Zaretskii
2021-07-30  6:41                 ` Aaron Cohen
2021-07-30  7:01                   ` Eli Zaretskii
2021-07-30 17:58                 ` Juri Linkov
2021-07-30 18:20                   ` Aaron Cohen
2021-07-30 18:47                     ` Eli Zaretskii
2021-07-30 19:12                       ` Aaron Cohen
2021-08-01  8:40                     ` Juri Linkov
2021-08-02 20:02                       ` Aaron Cohen
2021-08-02 20:12                         ` Aaron Cohen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o8alvwby.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=49761@debbugs.gnu.org \
    --cc=aaron@brightbytes.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).