GNU bug report logs - #78323
Regression in case-insensitive filename completion

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Daniel Colascione <dancol@HIDDEN>; merged with #78325, #78357; dated Thu, 8 May 2025 22:41:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 78323 <at> debbugs.gnu.org:


Received: (at 78323) by debbugs.gnu.org; 14 May 2025 11:18:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 14 07:18:55 2025
Received: from localhost ([127.0.0.1]:40554 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uFA8U-0007Lg-Ou
	for submit <at> debbugs.gnu.org; Wed, 14 May 2025 07:18:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:47780)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uFA8Q-0007KR-RU
 for 78323 <at> debbugs.gnu.org; Wed, 14 May 2025 07:18:51 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1uFA8J-0001HS-S3; Wed, 14 May 2025 07:18:43 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=l9wRCP0rcqYDt3QCp6NguvVzCPKZxQZK5mEACZhQjJc=; b=DUxEILgP5e51
 Ff8GJsrUnUH/gPI2g7Nv66n0itKIdv4zO9Per4PMQnhTeoh912oaJlFJk9a0nKpMe/sTEy1OZDcra
 +OKM/ZbXoVtdVPpkozUsbtShYBkoTKVet7ICz5lkzC3YVldw3jASyLmiua3Nic9itZkHxR16IIsi3
 MLLHsRXGwYJqxT5FH7FnKbQ7yWf4A8ID9NgFOsjldJtyGxzE4PFtHXkKlMtmvGlQTQYAvU4K13+06
 gbRoecE1aeEFePFg0Bz9BHa/ldzO4iLd0Ww/QPP8goF8iCCHdN7Znid5Zbm130X+ae1Bsrvscm/7Z
 aQ77mcqo07pz5Nsvu02IKw==;
Date: Wed, 14 May 2025 14:18:41 +0300
Message-Id: <86zfffzbhq.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Spencer Baugh <sbaugh@HIDDEN>, dancol@HIDDEN,
 Dieter Deyke <dieter.deyke@HIDDEN>, Aaron Jensen <aaronjensen@HIDDEN>
In-Reply-To: <ierh61owkc7.fsf@HIDDEN> (message from Spencer Baugh on
 Tue, 13 May 2025 12:23:36 -0400)
Subject: Re: bug#78323: Regression in case-insensitive filename completion
References: <m1r00yenfz.fsf@HIDDEN> <86plgicn7l.fsf@HIDDEN>
 <m1ldr2ecjl.fsf@HIDDEN> <86sela6orh.fsf@HIDDEN>
 <jwvplgdyjui.fsf-monnier+emacs@HIDDEN> <86cycd7u7n.fsf@HIDDEN>
 <ierh61owkc7.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 78323
Cc: monnier@HIDDEN, 78323 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Spencer Baugh <sbaugh@HIDDEN>
> Cc: Stefan Monnier <monnier@HIDDEN>,  dancol@HIDDEN,
>    78323 <at> debbugs.gnu.org
> Date: Tue, 13 May 2025 12:23:36 -0400
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: Stefan Monnier <monnier@HIDDEN>
> >> Cc: Daniel Colascione <dancol@HIDDEN>,  sbaugh@HIDDEN,
> >>   78323 <at> debbugs.gnu.org
> >> Date: Mon, 12 May 2025 10:42:47 -0400
> >> 
> >> >> >> With read-file-name-completion-ignore-case true, commit
> >> >> >> 509cbe1c35b3dd005a53ac041f9c87ee53b8e115 breaks existing completion
> >> >> >> behavior.  Suppose we have file named fooBarQux.  Previously, if I'd
> >> >> >> typed "foobar" and TAB while reading a filename, then the completion
> >> >> >> would be "fooBarQux".  Now, it completes as "foobarQux", which is wrong
> >> >> >> and breaks, among other things, vc.
> >> >> > Spencer, could you please look into fixing this regression?
> >> >> What do you think of reverting this change while Spencer finds the cause
> >> >> of the problem?
> >> > I wouldn't mind, but then I don't use these features.  Let's hear
> >> > Stefan's opinion first.
> >> 
> >> I'd first like to hear Spencer's opinion on how quickly he might be able to
> >> fix it or if it indeed breaks his assumptions too hard (so we'd need
> >> a different approach, in which case we may as well revert the change first).
> >
> > So, Spencer, the eyes of all the world are upon you.
> 
> Sorry for the delay, I was away this weekend.  Thanks for your patience.
> 
> The attached patch should fix the issue; it's what I have installed at
> my site.

Thanks.

Daniel, Dieter, and Aaron, could you please see whether this fixes
your problems as well?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#78323; Package emacs. Full text available.

Message received at 78323 <at> debbugs.gnu.org:


Received: (at 78323) by debbugs.gnu.org; 13 May 2025 16:23:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 13 12:23:45 2025
Received: from localhost ([127.0.0.1]:32867 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uEsPx-0001MR-6e
	for submit <at> debbugs.gnu.org; Tue, 13 May 2025 12:23:45 -0400
Received: from mxout5.mail.janestreet.com ([64.215.233.18]:33143)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <sbaugh@HIDDEN>)
 id 1uEsPt-0001MC-Od
 for 78323 <at> debbugs.gnu.org; Tue, 13 May 2025 12:23:42 -0400
From: Spencer Baugh <sbaugh@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#78323: Regression in case-insensitive filename completion
In-Reply-To: <86cycd7u7n.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 12 May
 2025 17:57:16 +0300")
References: <m1r00yenfz.fsf@HIDDEN> <86plgicn7l.fsf@HIDDEN>
 <m1ldr2ecjl.fsf@HIDDEN> <86sela6orh.fsf@HIDDEN>
 <jwvplgdyjui.fsf-monnier+emacs@HIDDEN> <86cycd7u7n.fsf@HIDDEN>
Date: Tue, 13 May 2025 12:23:36 -0400
Message-ID: <ierh61owkc7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com;
 s=waixah; t=1747153416;
 bh=+5rWeTZfhjKuPwQLySv0RHAxa56PvgmWeGk6w6aX69M=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=fzJggpLAMH3Wf2snM8r3mRKWQPbDRWPTYK1YndVoVvR2TQiwPko9aoINQAx0ElxC1
 EvmY4e8sv5jiSkHDaYqL8GrG7rNdeZQrDUR0Jvzso4P9O/IfWBcdsnr4AqCeIej+Ul
 W0js2VzmbkhtAZ8xgz96oP7e9BJUgnTYFgeZbzr67DXyJkWNn6eAbtIB9HwkHGmF+f
 w0xv6WVSyjrPxvr67yhTx8wtvfA3o7zy9/CurTz0nXZEkV5gxSDBMq/0EVmlAMKsk7
 n7McYb4wIvbKag3waSqu4oyTUV1nQWrt1H6B/jIE3o2GSKrDbPfuWcoNoZ7NwPlHkB
 4rJonygCJHcRA==
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 78323
Cc: dancol@HIDDEN, Stefan Monnier <monnier@HIDDEN>,
 78323 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Stefan Monnier <monnier@HIDDEN>
>> Cc: Daniel Colascione <dancol@HIDDEN>,  sbaugh@HIDDEN,
>>   78323 <at> debbugs.gnu.org
>> Date: Mon, 12 May 2025 10:42:47 -0400
>> 
>> >> >> With read-file-name-completion-ignore-case true, commit
>> >> >> 509cbe1c35b3dd005a53ac041f9c87ee53b8e115 breaks existing completion
>> >> >> behavior.  Suppose we have file named fooBarQux.  Previously, if I'd
>> >> >> typed "foobar" and TAB while reading a filename, then the completion
>> >> >> would be "fooBarQux".  Now, it completes as "foobarQux", which is wrong
>> >> >> and breaks, among other things, vc.
>> >> > Spencer, could you please look into fixing this regression?
>> >> What do you think of reverting this change while Spencer finds the cause
>> >> of the problem?
>> > I wouldn't mind, but then I don't use these features.  Let's hear
>> > Stefan's opinion first.
>> 
>> I'd first like to hear Spencer's opinion on how quickly he might be able to
>> fix it or if it indeed breaks his assumptions too hard (so we'd need
>> a different approach, in which case we may as well revert the change first).
>
> So, Spencer, the eyes of all the world are upon you.

Sorry for the delay, I was away this weekend.  Thanks for your patience.

The attached patch should fix the issue; it's what I have installed at
my site.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline;
 filename=0001-Fix-completion-ignore-case-with-completion-file-name.patch

From 2418e67a71494396e8dbfd7fd5eabfb52a87198b Mon Sep 17 00:00:00 2001
From: Spencer Baugh <sbaugh@HIDDEN>
Date: Thu, 1 May 2025 13:56:37 -0400
Subject: [PATCH] Fix completion-ignore-case with completion--file-name-table

509cbe1c35b3d "Improve env var handling in read-file-name"
caused try-completion and all-completion operations with
completion--file-name-table to no longer update the case of text
which was already present in the input string.  That is,
completions would be returned ignoring case, but the completions
would have letter-casing which matched the input string rather
than matching the actual file names.

Fix this by always using text from the file name completions
whenever it might have changed case.  Also, fix a related bug
where mixing completion-ignore-case and expanding environment
variables would cause `read-file-name' to return the wrong
result; do this by suppressing completion-ignore-case in the
problematic case.

* lisp/minibuffer.el (completion--file-name-table): Use text
from the completions, not the input string.  (bug#78323)
* test/lisp/minibuffer-tests.el (completion-table-test-quoting):
Test with completion-ignore-case as well.
---
 lisp/minibuffer.el            | 28 +++++++++++++++++++---------
 test/lisp/minibuffer-tests.el | 16 +++++++++++++++-
 2 files changed, 34 insertions(+), 10 deletions(-)

diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 7b2b986aa1d..6f9e6c67541 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -3597,6 +3597,16 @@ completion--file-name-table
     (if (eq (car-safe action) 'boundaries)
         (cons 'boundaries (completion--sifn-boundaries orig table pred (cdr action)))
       (let* ((sifned (substitute-in-file-name orig))
+             (orig-start (car (completion--sifn-boundaries orig table pred "")))
+             (sifned-start (car (completion-boundaries sifned table pred "")))
+             (orig-in-bounds (substring orig orig-start))
+             (sifned-in-bounds (substring sifned sifned-start))
+             (only-need-double-dollars
+              ;; If true, sifn only un-doubled $s in ORIG, so we can fix a
+              ;; completion to match ORIG by just doubling $s again.  This
+              ;; preserves more text from the completion, behaving better with
+              ;; non-nil `completion-ignore-case'.
+              (string-equal orig-in-bounds (minibuffer--double-dollars sifned-in-bounds)))
              (result
               (let ((completion-regexp-list
                      ;; Regexps are matched against the real file names after
@@ -3611,21 +3621,21 @@ completion--file-name-table
           (if (stringp result)
               ;; Extract the newly added text, quote any dollar signs, and
               ;; append it to ORIG.
-              (let ((new-text (substring result (length sifned))))
-                (concat orig (minibuffer--double-dollars new-text)))
+              (if only-need-double-dollars
+                  (concat (substring orig nil orig-start)
+                          (minibuffer--double-dollars (substring result sifned-start)))
+                (let ((new-text (substring result (length sifned))))
+                  (concat orig (minibuffer--double-dollars new-text))))
             result))
          ((eq action t)                 ; all-completions
           (mapcar
-           (let ((orig-prefix
-                  (substring orig (car (completion--sifn-boundaries orig table pred ""))))
-                 (sifned-prefix-length
-                  (- (length sifned)
-                     (car (completion-boundaries sifned table pred "")))))
+           (if only-need-double-dollars
+               #'minibuffer--double-dollars
              ;; Extract the newly added text, quote any dollar signs, and append
              ;; it to the part of ORIG inside the completion boundaries.
              (lambda (compl)
-               (let ((new-text (substring compl sifned-prefix-length)))
-                 (concat orig-prefix (minibuffer--double-dollars new-text)))))
+               (let ((new-text (substring compl (length sifned-in-bounds))))
+                 (concat orig-in-bounds (minibuffer--double-dollars new-text)))))
            result))
          (t result))))))
 
diff --git a/test/lisp/minibuffer-tests.el b/test/lisp/minibuffer-tests.el
index bed797bdb14..111335a2b5e 100644
--- a/test/lisp/minibuffer-tests.el
+++ b/test/lisp/minibuffer-tests.el
@@ -108,7 +108,21 @@ completion-table-test-quoting
       (should (equal (completion-try-completion input
                                                 #'completion--file-name-table
                                                 nil (length input))
-                     (cons output (length output)))))))
+                     (cons output (length output)))))
+    ;; Everything also works with `completion-ignore-case'.
+    (let ((completion-ignore-case t))
+      (pcase-dolist (`(,input ,output)
+                     '(
+                       ("data/M-CTTQ" "data/minibuffer-test-cttq$$tion")
+                       ("data/M-CTTQ$$t" "data/minibuffer-test-cttq$$tion")
+                       ("lisp/c${CTTQ1}et/SE-U" "lisp/c${CTTQ1}et/semantic-utest")
+                       ("lisp/ced${CTTQ2}SE-U" "lisp/ced${CTTQ2}SEmantic-utest")
+                       ("lis/c${CTTQ1}/SE-U" "lisp/c${CTTQ1}et/semantic-utest")
+                       ))
+        (should (equal (car (completion-try-completion input
+                                                       #'completion--file-name-table
+                                                       nil (length input)))
+                       output))))))
 
 (ert-deftest completion--insert-strings-faces ()
   (with-temp-buffer
-- 
2.39.3


--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#78323; Package emacs. Full text available.

Message received at 78323 <at> debbugs.gnu.org:


Received: (at 78323) by debbugs.gnu.org; 12 May 2025 14:57:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 12 10:57:30 2025
Received: from localhost ([127.0.0.1]:53996 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uEUav-0005Ha-Oo
	for submit <at> debbugs.gnu.org; Mon, 12 May 2025 10:57:30 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49508)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uEUas-0005HK-Na
 for 78323 <at> debbugs.gnu.org; Mon, 12 May 2025 10:57:27 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1uEUal-0002C2-Q3; Mon, 12 May 2025 10:57:19 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=2ZHN7ZGWwe7i75pp/m5gu4MGV8+pj/hybJ+7y12210E=; b=CTYtXiOnkISo
 LvCiiF02W93gRCAFMME4lvME7deL4jeuMDcoJSEQuIDSermVg0idX+EKUSIPnUABamdKUFYvgD9Mf
 erRlh7P3thuGZ9KewE/Cq6CAuVU77o5hnkgGvHpam4pd/KXqJgJkZI4NYyR9NoQTNb29AzavdxgW2
 jEz+kzGIOG9GWmT7sdfNncQ1v4qa9XRECmQu0JMUA9cULLzCjbUVE5Mg0K0SCZzguY9WOxjfRbWjv
 AjI80FjU9LikBbJeXAt3CMu3N3PCGGdonPMf5sBM/9T9g1Wa/tdyO61mtHhoFBqgwcQk5RJ8mRjUv
 6rsuxwXjIKJa8TmHjup7Yw==;
Date: Mon, 12 May 2025 17:57:16 +0300
Message-Id: <86cycd7u7n.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
In-Reply-To: <jwvplgdyjui.fsf-monnier+emacs@HIDDEN> (message from Stefan
 Monnier on Mon, 12 May 2025 10:42:47 -0400)
Subject: Re: bug#78323: Regression in case-insensitive filename completion
References: <m1r00yenfz.fsf@HIDDEN> <86plgicn7l.fsf@HIDDEN>
 <m1ldr2ecjl.fsf@HIDDEN> <86sela6orh.fsf@HIDDEN>
 <jwvplgdyjui.fsf-monnier+emacs@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 78323
Cc: sbaugh@HIDDEN, dancol@HIDDEN, 78323 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Stefan Monnier <monnier@HIDDEN>
> Cc: Daniel Colascione <dancol@HIDDEN>,  sbaugh@HIDDEN,
>   78323 <at> debbugs.gnu.org
> Date: Mon, 12 May 2025 10:42:47 -0400
> 
> >> >> With read-file-name-completion-ignore-case true, commit
> >> >> 509cbe1c35b3dd005a53ac041f9c87ee53b8e115 breaks existing completion
> >> >> behavior.  Suppose we have file named fooBarQux.  Previously, if I'd
> >> >> typed "foobar" and TAB while reading a filename, then the completion
> >> >> would be "fooBarQux".  Now, it completes as "foobarQux", which is wrong
> >> >> and breaks, among other things, vc.
> >> > Spencer, could you please look into fixing this regression?
> >> What do you think of reverting this change while Spencer finds the cause
> >> of the problem?
> > I wouldn't mind, but then I don't use these features.  Let's hear
> > Stefan's opinion first.
> 
> I'd first like to hear Spencer's opinion on how quickly he might be able to
> fix it or if it indeed breaks his assumptions too hard (so we'd need
> a different approach, in which case we may as well revert the change first).

So, Spencer, the eyes of all the world are upon you.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#78323; Package emacs. Full text available.

Message received at 78323 <at> debbugs.gnu.org:


Received: (at 78323) by debbugs.gnu.org; 12 May 2025 14:42:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 12 10:42:58 2025
Received: from localhost ([127.0.0.1]:53904 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uEUMr-0004O9-T0
	for submit <at> debbugs.gnu.org; Mon, 12 May 2025 10:42:58 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:61244)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <monnier@HIDDEN>)
 id 1uEUMo-0004Nh-UU
 for 78323 <at> debbugs.gnu.org; Mon, 12 May 2025 10:42:56 -0400
Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1])
 by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 41678440F2A;
 Mon, 12 May 2025 10:42:49 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1747060968;
 bh=nsKxfydjRU8Q2IB3JYcv5KX6zVKHLL3zV9/l8dO/MXQ=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=c4mkL1ars2ZUTTsFJeKcTmLd/YRlDWdjFzZY+tWCyscs7xkfpNf1F3+cBhkeHdmkG
 BE/8HqvDKovbOUSIA9taRTSK0Rus4HjIVOzTU9HYCSqD9cmevNoxf4IZcX4jmSTPp9
 /CaqBWXBzATN/F9PgLW6pKPp3ineSGgJmz4d/QL4Z44tT2DRZewENKDX//U2SBLGqC
 RKn2Fvwsa3PrJc8rvZGHPR0cRiUxfF1zEoCkoTjVORrjOQ/z7OIn5/2+jufG6D4O9n
 Qpl4tpfAgCMULyoXCqsmwwJ2h+4ODbsY/nlt9NriNLkNAOB+Ru5LgwqhFyY7rPa/yr
 LcjWGR4ImEqNw==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 12B9A440F0F;
 Mon, 12 May 2025 10:42:48 -0400 (EDT)
Received: from pastel (104-195-232-56.cpe.teksavvy.com [104.195.232.56])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D46D01203B5;
 Mon, 12 May 2025 10:42:47 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#78323: Regression in case-insensitive filename completion
In-Reply-To: <86sela6orh.fsf@HIDDEN>
Message-ID: <jwvplgdyjui.fsf-monnier+emacs@HIDDEN>
References: <m1r00yenfz.fsf@HIDDEN> <86plgicn7l.fsf@HIDDEN>
 <m1ldr2ecjl.fsf@HIDDEN> <86sela6orh.fsf@HIDDEN>
Date: Mon, 12 May 2025 10:42:47 -0400
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.047 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 78323
Cc: sbaugh@HIDDEN, Daniel Colascione <dancol@HIDDEN>,
 78323 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>> >> With read-file-name-completion-ignore-case true, commit
>> >> 509cbe1c35b3dd005a53ac041f9c87ee53b8e115 breaks existing completion
>> >> behavior.  Suppose we have file named fooBarQux.  Previously, if I'd
>> >> typed "foobar" and TAB while reading a filename, then the completion
>> >> would be "fooBarQux".  Now, it completes as "foobarQux", which is wrong
>> >> and breaks, among other things, vc.
>> > Spencer, could you please look into fixing this regression?
>> What do you think of reverting this change while Spencer finds the cause
>> of the problem?
> I wouldn't mind, but then I don't use these features.  Let's hear
> Stefan's opinion first.

I'd first like to hear Spencer's opinion on how quickly he might be able to
fix it or if it indeed breaks his assumptions too hard (so we'd need
a different approach, in which case we may as well revert the change first).


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#78323; Package emacs. Full text available.

Message received at 78323 <at> debbugs.gnu.org:


Received: (at 78323) by debbugs.gnu.org; 12 May 2025 11:40:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 12 07:40:32 2025
Received: from localhost ([127.0.0.1]:50854 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uERWK-0007V0-2b
	for submit <at> debbugs.gnu.org; Mon, 12 May 2025 07:40:32 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42462)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uERWG-0007Uf-Lh
 for 78323 <at> debbugs.gnu.org; Mon, 12 May 2025 07:40:30 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1uERWA-00066t-A8; Mon, 12 May 2025 07:40:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=HD2rblAxbp5J5cE6ph/rHCnHgllJGW26yLRcqas8pPA=; b=l4u2orD3xOVM
 aNRA3fxr5xZznVFkj1yTpdRafLt6bPrnbiXY8/QQnT3qBYZKNLA68+GSg9X3uTtPUWUktxw87wESN
 Rf9ic1mMphzB+ScVUoX4xuYZBQ7G/PCjeY4qF/tCtUDGWC+PEWHYBtCmMeW8OXW7vGArbWXgk2Ih/
 injcJOeo6+tO+XPwYFx6DxQOCqmpGa4N5mclCgj4p6Bi3E1v49rHvIE8tbz5/iRw1Z5tikzuF3s+4
 oftAKPLOzzOh+luxH2FvvP8MTHh4C7Pb1AMSOGItR59l+JB4Vz6Y2+5u8QTebGpdIylyp3+5zoxuc
 QRsgKVbJ6UVyexVFTveNEQ==;
Date: Mon, 12 May 2025 14:40:18 +0300
Message-Id: <86sela6orh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Daniel Colascione <dancol@HIDDEN>, monnier@HIDDEN
In-Reply-To: <m1ldr2ecjl.fsf@HIDDEN> (message from Daniel Colascione on
 Sun, 11 May 2025 20:24:46 -0700)
Subject: Re: bug#78323: Regression in case-insensitive filename completion
References: <m1r00yenfz.fsf@HIDDEN> <86plgicn7l.fsf@HIDDEN>
 <m1ldr2ecjl.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 78323
Cc: sbaugh@HIDDEN, 78323 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Daniel Colascione <dancol@HIDDEN>
> Cc: Spencer Baugh <sbaugh@HIDDEN>,  Stefan Monnier
>  <monnier@HIDDEN>,  78323 <at> debbugs.gnu.org
> Date: Sun, 11 May 2025 20:24:46 -0700
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: Daniel Colascione <dancol@HIDDEN>
> >> Date: Thu, 08 May 2025 15:40:16 -0700
> >> 
> >> With read-file-name-completion-ignore-case true, commit
> >> 509cbe1c35b3dd005a53ac041f9c87ee53b8e115 breaks existing completion
> >> behavior.  Suppose we have file named fooBarQux.  Previously, if I'd
> >> typed "foobar" and TAB while reading a filename, then the completion
> >> would be "fooBarQux".  Now, it completes as "foobarQux", which is wrong
> >> and breaks, among other things, vc.
> >
> > Spencer, could you please look into fixing this regression?
> 
> What do you think of reverting this change while Spencer finds the cause
> of the problem?

I wouldn't mind, but then I don't use these features.  Let's hear
Stefan's opinion first.

Stefan?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#78323; Package emacs. Full text available.

Message received at 78323 <at> debbugs.gnu.org:


Received: (at 78323) by debbugs.gnu.org; 12 May 2025 03:24:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 11 23:24:59 2025
Received: from localhost ([127.0.0.1]:48803 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uEJml-00037Q-0c
	for submit <at> debbugs.gnu.org; Sun, 11 May 2025 23:24:59 -0400
Received: from dancol.org ([2600:3c01:e000:3d8::1]:58684)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dancol@HIDDEN>) id 1uEJmg-00037G-9U
 for 78323 <at> debbugs.gnu.org; Sun, 11 May 2025 23:24:57 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; 
 s=x;
 h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:
 Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=U84/AA8fxCmloNow9TK8qJT9wnD8Gfk9Sk4dpYatxmc=; b=NzVp92Q0XmVIt52A2FrSes5axZ
 beV3n+Qv5hj478nq2vHERwGxknGEGH8tplwXLcrKmCGL1h3KvQNrsGAKuo7DCeKYXYBV0Jze3l6c2
 hXjMnj5cu2AY8bH3lwQgZl0rJdi5cSw7rGlDFsZ2aclFXhboY0ylwHaGzoQrlEHlQXL5aMUrgoXlv
 8l8ua4m6YShX5326s84RN/kb+ARJWVT5dD/9pB9rdUklTqabUtY6RhqcUjVRglgfsGHfEaehVOd2W
 1ZDWwxwZbKKXlMS1U62QFG1rEqT6B94eijxZWEw59cReg6DsyumnQTooTmV/bgOoUNCyZg3epr2Bc
 HJQI1jwQ==;
Received: from dancol by dancol.org with local (Exim 4.96)
 (envelope-from <dancol@HIDDEN>) id 1uEJld-009U6X-05;
 Sun, 11 May 2025 23:23:49 -0400
From: Daniel Colascione <dancol@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#78323: Regression in case-insensitive filename completion
In-Reply-To: <86plgicn7l.fsf@HIDDEN>
References: <m1r00yenfz.fsf@HIDDEN> <86plgicn7l.fsf@HIDDEN>
User-Agent: mu4e 1.12.10; emacs 31.0.50
Date: Sun, 11 May 2025 20:24:46 -0700
Message-ID: <m1ldr2ecjl.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 78323
Cc: Spencer Baugh <sbaugh@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>, 78323 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Daniel Colascione <dancol@HIDDEN>
>> Date: Thu, 08 May 2025 15:40:16 -0700
>> 
>> With read-file-name-completion-ignore-case true, commit
>> 509cbe1c35b3dd005a53ac041f9c87ee53b8e115 breaks existing completion
>> behavior.  Suppose we have file named fooBarQux.  Previously, if I'd
>> typed "foobar" and TAB while reading a filename, then the completion
>> would be "fooBarQux".  Now, it completes as "foobarQux", which is wrong
>> and breaks, among other things, vc.
>
> Spencer, could you please look into fixing this regression?

What do you think of reverting this change while Spencer finds the cause
of the problem?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#78323; Package emacs. Full text available.
Merged 78323 78325 78357. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 78323 78325. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 78323 <at> debbugs.gnu.org:


Received: (at 78323) by debbugs.gnu.org; 9 May 2025 06:28:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 09 02:28:28 2025
Received: from localhost ([127.0.0.1]:34715 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uDHDg-0003y9-5o
	for submit <at> debbugs.gnu.org; Fri, 09 May 2025 02:28:28 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57316)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uDHDd-0003xi-9F
 for 78323 <at> debbugs.gnu.org; Fri, 09 May 2025 02:28:26 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1uDHDW-0005pk-PK; Fri, 09 May 2025 02:28:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=3GfE2X3dbXboMzgaBDCl5Y9qUF24+2q5AR+QneKgz+o=; b=ECHQ4AnNcMJs
 XzvrRmtfaQmeQPk6KOrfohiyM2IfLg55n5astP6nUIJEpL/x//FZt6pT9UHP9cQIJVeBfMRymqXo6
 0PiAoq7r0cy7wRyfpR+ms+ex3ZnAm8UtOuHVUzIreYDN7jiAzhBkh0Ao6h022T6ta84kjtvKWCgvQ
 Ukl8pYxN950/VPTv730NbzWhm74ObmiDPpGM0W1J6FswGILOUucnPQDcBRCxAs+Q98otd45CYx6j+
 Bp5Fl2t1P2KkGYUBiFHXYhR1BoMu3dcsHcZTAxZRKvu9/OsaqvVX+yvWOD1+HwcTVIDY9BBFAvpXo
 lWurGreyrnmH3McSGnAOpA==;
Date: Fri, 09 May 2025 09:28:14 +0300
Message-Id: <86plgicn7l.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Daniel Colascione <dancol@HIDDEN>,
 Spencer Baugh <sbaugh@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>
In-Reply-To: <m1r00yenfz.fsf@HIDDEN> (message from Daniel Colascione on
 Thu, 08 May 2025 15:40:16 -0700)
Subject: Re: bug#78323: Regression in case-insensitive filename completion
References: <m1r00yenfz.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 78323
Cc: 78323 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Daniel Colascione <dancol@HIDDEN>
> Date: Thu, 08 May 2025 15:40:16 -0700
> 
> With read-file-name-completion-ignore-case true, commit
> 509cbe1c35b3dd005a53ac041f9c87ee53b8e115 breaks existing completion
> behavior.  Suppose we have file named fooBarQux.  Previously, if I'd
> typed "foobar" and TAB while reading a filename, then the completion
> would be "fooBarQux".  Now, it completes as "foobarQux", which is wrong
> and breaks, among other things, vc.

Spencer, could you please look into fixing this regression?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#78323; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 May 2025 22:40:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 08 18:40:35 2025
Received: from localhost ([127.0.0.1]:33223 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uD9ut-0000Lr-0S
	for submit <at> debbugs.gnu.org; Thu, 08 May 2025 18:40:35 -0400
Received: from lists.gnu.org ([2001:470:142::17]:38666)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dancol@HIDDEN>) id 1uD9up-0000LJ-4m
 for submit <at> debbugs.gnu.org; Thu, 08 May 2025 18:40:32 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dancol@HIDDEN>) id 1uD9ui-0000Db-8Y
 for bug-gnu-emacs@HIDDEN; Thu, 08 May 2025 18:40:24 -0400
Received: from dancol.org ([2600:3c01:e000:3d8::1])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dancol@HIDDEN>) id 1uD9uf-0005NQ-OQ
 for bug-gnu-emacs@HIDDEN; Thu, 08 May 2025 18:40:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; 
 s=x;
 h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From:Sender:
 Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=F89W+YyWnFZGGRXBhRHOHsWCCPDtMMXzEcFZbb+PFK0=; b=n8YiGIlqBbRQQAm3BVBzfFzn69
 9h83Fcs3hOUBwEbdA0FGsOEbL3SGXZwmAf7F0D898f3k9TH/0VNJ+2aLQ6TBQoOjvGFLnR+r82NeF
 JhvQvUS/1Kr2Xxeh1VYmlioXglzhvhfG2NakbwSTO0IFSa+bL0pNWjyQ84W3cOR0eyAbbdvQ/H0dV
 WZ8bGgFtE3MSPpSHT/dFyzL/Vq9WhnMKrvCaQQ+JBzUoJtN+PmMGcd9acBbcICwlnd1g1dQdOt2OB
 difQla4hqvCqLajD6ho+J69B9CM//2C+TCMrtQZ7m9bQsb8MZBKwVte2FL3N1Fq7qwD8puGR6wzr6
 tfacLrKw==;
Received: from dancol by dancol.org with local (Exim 4.96)
 (envelope-from <dancol@HIDDEN>) id 1uD9th-00958O-2C
 for bug-gnu-emacs@HIDDEN; Thu, 08 May 2025 18:39:21 -0400
From: Daniel Colascione <dancol@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: Regression in case-insensitive filename completion
User-Agent: mu4e 1.12.10; emacs 31.0.50
Date: Thu, 08 May 2025 15:40:16 -0700
Message-ID: <m1r00yenfz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2600:3c01:e000:3d8::1;
 envelope-from=dancol@HIDDEN; helo=dancol.org
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, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

With read-file-name-completion-ignore-case true, commit
509cbe1c35b3dd005a53ac041f9c87ee53b8e115 breaks existing completion
behavior.  Suppose we have file named fooBarQux.  Previously, if I'd
typed "foobar" and TAB while reading a filename, then the completion
would be "fooBarQux".  Now, it completes as "foobarQux", which is wrong
and breaks, among other things, vc.




Acknowledgement sent to Daniel Colascione <dancol@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#78323; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 14 May 2025 11:30:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.