From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs 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 Organization: LINKOV.NET Message-ID: <87v94su45t.fsf@mail.linkov.net> References: <87o8alvwby.fsf@mail.linkov.net> <83bl6lrnrh.fsf@gnu.org> <878s1pvunb.fsf@mail.linkov.net> <838s1osyv1.fsf@gnu.org> <87y29ovrgj.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6702"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 49761@debbugs.gnu.org To: Aaron Cohen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 30 00:52:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m9Esr-0001Wy-Ll for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Jul 2021 00:52:09 +0200 Original-Received: from localhost ([::1]:50452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m9Esq-0004Gw-CJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Jul 2021 18:52:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9Esk-0004GV-Hy for bug-gnu-emacs@gnu.org; Thu, 29 Jul 2021 18:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m9Esk-0007MM-9s for bug-gnu-emacs@gnu.org; Thu, 29 Jul 2021 18:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m9Esk-0005Ht-7Y for bug-gnu-emacs@gnu.org; Thu, 29 Jul 2021 18:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Jul 2021 22:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49761 X-GNU-PR-Package: emacs Original-Received: via spool by 49761-submit@debbugs.gnu.org id=B49761.162759906920266 (code B ref 49761); Thu, 29 Jul 2021 22:52:02 +0000 Original-Received: (at 49761) by debbugs.gnu.org; 29 Jul 2021 22:51:09 +0000 Original-Received: from localhost ([127.0.0.1]:58444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9Ert-0005Go-7Z for submit@debbugs.gnu.org; Thu, 29 Jul 2021 18:51:09 -0400 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]:57983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9Ers-0005GZ-65 for 49761@debbugs.gnu.org; Thu, 29 Jul 2021 18:51:08 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 3E9A2FF802; Thu, 29 Jul 2021 22:51:00 +0000 (UTC) In-Reply-To: (Aaron Cohen's message of "Thu, 29 Jul 2021 14:37:41 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:210869 Archived-At: > 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.