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: Fri, 30 Jul 2021 01:49:18 +0300	[thread overview]
Message-ID: <87v94su45t.fsf@mail.linkov.net> (raw)
In-Reply-To: <CAJ3u-GmicycGEFedr5se5Rvdj2tD_rVK215+FYTp2EaW4RTfWw@mail.gmail.com> (Aaron Cohen's message of "Thu, 29 Jul 2021 14:37:41 -0700")

> The `-Q` option wasn't working for me, so I stripped everything out of my
> `init.el` except a few `global-set-key` forms and the initialization of the
> file cache, presented below.
>
> Both the new cursor behavior and the failure to cycle through duplicate
> file names still reproduce.
>
> Here's the start of how I load `filecache`: the same procedure is followed
> for 4 other projects:
> [...]
>      (file-cache-add-directory "~/git/clarity_early_warning")
>      (file-cache-add-directory-using-find "~/git/clarity_early_warning/app")
> ;; ... etc ...

Thanks, now I tried to add two separate emacs/lisp trees
with file-cache-add-directory-using-find that gives such results:

1. 'filec C-TAB' cycles between 2 filecache.el files from both Emacs repos;

2. 'README C-TAB' cycles between 4 README files, two files from each tree,
   that shows that it can cycle between duplicate files without extensions;

3. 'TAGS C-TAB' gets stuck with the message [File Cache: complete but not unique]
   Do you see the same message?

4. 'make C-TAB' then the completions buffer is displayed and the cursor
   jumps to the beginning because there are completions that don't begin
   with the same prefix "make" such as flymake.el, pmake.el, ob-makefile.el.

   But the cursor doesn't jump to the beginning when all completions share
   the same prefix, e.g. 'fly C-TAB' that displays flymake.el and flyspell.el.





  reply	other threads:[~2021-07-29 22:49 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
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 [this message]
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=87v94su45t.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).