unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Aaron Cohen <aaron@brightbytes.net>
To: 49761@debbugs.gnu.org
Subject: bug#49761: file-cache-minibuffer-complete has become unusable for duplicate file names in MacOSX 27.x emacs
Date: Wed, 28 Jul 2021 12:22:12 -0700	[thread overview]
Message-ID: <CAJ3u-GmD41gWT1DGE-BYieCxJW6a1N4YCh2iLquy2-2E_ouChQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1503 bytes --]

In previous versions of emacs for the last decade, `
file-cache-minibuffer-complete` (C-Tab) worked well for me.

But in the MacOSX 27.x emacs series, it ceased to be able to handle
duplicate file names with extensions.  (It could never handle duplicate
file names with no extension, but that never bothered me much, as the only
files without extensions I need to visit are the Procfile and Gemfile in
the root of the project trees, which are easy to find manually.)

For example, I usually have around 5 projects in my file cache, and
currently across those 5 projects there are 8 files named `dashboard.rb`.

Previously, as soon as I'd gotten C-Tab to complete the file name to
`dashboard.rb`, continuing to hit C-Tab would cycle through the 8 files in
their various directories.

But starting in the 27.x series, C-Tab gets "stuck" on the first file
named `dashboard.rb`, and refuses to cycle through the remaining files with
that name.  (And again, this is always the behavior it has exhibited for
files without extensions: it gets stuck on the first instance, refusing to
cycle through additional instances.)

Also, perhaps relevantly, the behavior of the point while hitting C-Tab
repeatedly on an incomplete file name changed in version 27: it now jumps
to the beginning of the file name while the name is partially complete.
 (In previous versions, it would remain at the end of incomplete file
names, or wherever I'd moved it to in the minibuffer.)

Thanks for any assistance you can provide!!

[-- Attachment #2: Type: text/html, Size: 2818 bytes --]

             reply	other threads:[~2021-07-28 19:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-28 19:22 Aaron Cohen [this message]
2021-07-29 17:55 ` bug#49761: file-cache-minibuffer-complete has become unusable for duplicate file names in MacOSX 27.x emacs 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
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=CAJ3u-GmD41gWT1DGE-BYieCxJW6a1N4YCh2iLquy2-2E_ouChQ@mail.gmail.com \
    --to=aaron@brightbytes.net \
    --cc=49761@debbugs.gnu.org \
    /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).