unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Aaron Cohen <aaron@brightbytes.net>
To: Juri Linkov <juri@linkov.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 14:37:41 -0700	[thread overview]
Message-ID: <CAJ3u-GmicycGEFedr5se5Rvdj2tD_rVK215+FYTp2EaW4RTfWw@mail.gmail.com> (raw)
In-Reply-To: <87y29ovrgj.fsf@mail.linkov.net>

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

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:

```
;; NOTE - WHEN THE FILECACHE GOES BAD, NUKE ALL FILES MATCHING THE PATTERN
.#* IN THESE DIRECTORY TREES
(require 'filecache)
;; Add all files under dir to file
(eval-after-load
    "filecache"
  '(progn

     (file-cache-add-directory "~/git/clarity_early_warning")
     (file-cache-add-directory-using-find "~/git/clarity_early_warning/app")
     (file-cache-add-directory-using-find "~/git/clarity_early_warning/bin")
     (file-cache-add-directory-using-find
"~/git/clarity_early_warning/config")
     (file-cache-add-directory-using-find "~/git/clarity_early_warning/db")
     (file-cache-add-directory-using-find "~/git/clarity_early_warning/lib")
     (file-cache-add-directory-using-find
"~/git/clarity_early_warning/spec")

;; ... etc ...
```


On Thu, Jul 29, 2021 at 12:41 PM Juri Linkov <juri@linkov.net> wrote:

> >> > What about the second part of the report, with cursor positioning
> >> > after typing an incomplete file name followed by C-TAB: do you see
> >> > that problem in your testing?
> >>
> >> No problem with cursor positioning.
> >
> > Strange, that's not what I see.  If I type "C-x C-f", type a few
> > characters that should match several file names, then press C-TAB, the
> > cursor is placed on the first character I typed, making more typing
> > cumbersome, because I need first type C-e or somesuch to get to the
> > end of what I typed.  Isn't that what you see?
>
> In my testing the cursor is placed at the end of the minibuffer.
>

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

  reply	other threads:[~2021-07-29 21:37 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 [this message]
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-GmicycGEFedr5se5Rvdj2tD_rVK215+FYTp2EaW4RTfWw@mail.gmail.com \
    --to=aaron@brightbytes.net \
    --cc=49761@debbugs.gnu.org \
    --cc=juri@linkov.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).