From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Cohen Newsgroups: gmane.emacs.bugs 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 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005b884b05c833e9e9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27204"; mail-complaints-to="usenet@ciao.gmane.io" To: 49761@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 28 21:39:46 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 1m8pP8-0006rx-Ly for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Jul 2021 21:39:46 +0200 Original-Received: from localhost ([::1]:36468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8pP7-0000XK-O8 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Jul 2021 15:39:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8pOQ-0008LH-5t for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2021 15:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44348) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m8pOP-00015a-TR for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2021 15:39:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m8pOP-0000I3-S2 for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2021 15:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Cohen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Jul 2021 19:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49761 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16275011101076 (code B ref -1); Wed, 28 Jul 2021 19:39:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Jul 2021 19:38:30 +0000 Original-Received: from localhost ([127.0.0.1]:55894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8pNt-0000HH-F2 for submit@debbugs.gnu.org; Wed, 28 Jul 2021 15:38:29 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:44976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8p8l-0008J7-Qq for submit@debbugs.gnu.org; Wed, 28 Jul 2021 15:22:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8p8l-00039i-KF for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2021 15:22:51 -0400 Original-Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]:42821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m8p8j-0006y2-Pb for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2021 15:22:51 -0400 Original-Received: by mail-ot1-x334.google.com with SMTP id 68-20020a9d0f4a0000b02904b1f1d7c5f4so3215019ott.9 for ; Wed, 28 Jul 2021 12:22:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brightbytes.net; s=google; h=mime-version:from:date:message-id:subject:to; bh=TbUvkSjv3o1ykcNyFCPEVR5nD6hGOXacqx74NfvMkgA=; b=BDsiRqUH/B9hqjdJIcI8geyvwDqAhYeROoSP43tP4TiyvhnUh1P/znvjAuReL8o87f ie1AmGSMph76u+xFiIBKG/EitX45zUZ6cU0N29msdhNVwzxEr8l193X8RHzcc+/hfa5Q yEkwIk7QhZ+JIRyDz8jqcj5Noz8TcjzB1Cq1g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=TbUvkSjv3o1ykcNyFCPEVR5nD6hGOXacqx74NfvMkgA=; b=Xi331yJKWjWPIlGW0e6nYih9gBYIONlId939n8zyhXSxLWpr63H+uT/hUzlrjQfOT2 qFsT/DaJ82jm+tI9hpwfj3uXZqxWSwcHRspdzRuXRoCuyrAUcMEsmggYuCik+ugXhedK lNhhH8lIrDnXSUYj8uI1jNUlgrSa5exqkWazt2kyePNZRlLHLh/Q4X3PiaxN4Ulj6fBv NMaw4oK2aFgrHJHzmYr0fXUMwmIFJtlxM8cVeaD+z/Xl56NDCs5fr6u9WoVPXTAmn7zh 5uQ2wo8g7c6eL1x3snIQH9tSIMwdc3YTbnBQDMXPTYNF/Ea+TIzp1TmYvzWnrmVV4oi3 5AQA== X-Gm-Message-State: AOAM533Aw9S49EOrgb1AAFtuYGRjYGTcXcNNh12HtqPawPNVGutJYhBa qp+DGYayl1VrTD8IfEpv0rfJ+v0qgRn2bJgg+F8kIj/I9aeB6a54 X-Google-Smtp-Source: ABdhPJx176kYnahUQe/EGHeckBdJmKI4EwVDoEhNNhyV1g9ulLFz3MeSgPKWktC/f0pNVsEtnhQLMTRCrJ4AZ5vPczE= X-Received: by 2002:a9d:74c1:: with SMTP id a1mr1079657otl.129.1627500167523; Wed, 28 Jul 2021 12:22:47 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::334; envelope-from=aaron@brightbytes.net; helo=mail-ot1-x334.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 28 Jul 2021 15:38:28 -0400 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:210841 Archived-At: --0000000000005b884b05c833e9e9 Content-Type: text/plain; charset="UTF-8" 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!! --0000000000005b884b05c833e9e9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In previous versions of emacs for the last d= ecade, `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. =C2=A0= (It could never handle duplicate file names with no extension, but that nev= er bothered me much,=C2=A0as the only files without extensions I need to vi= sit are the Procfile and Gemfile in the root of the project trees, which ar= e easy to find manually.)

For ex= ample, I usually have around 5 projects in my file cache, and currently acr= oss those 5 projects there are 8 files named=C2=A0`dashboard.rb`.

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

But starting in the 27.x series, C-Tab gets &qu= ot;stuck" on the first file named=C2=A0`dashboard.rb`, and refuses to = cycle through the remaining files with that name. =C2=A0(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 instance= s.)

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

Thanks f= or any assistance you can provide!!
--0000000000005b884b05c833e9e9--