X-Loop: help-debbugs@HIDDEN Subject: bug#78323: Regression in case-insensitive filename completion Resent-From: Daniel Colascione <dancol@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 08 May 2025 22:41:01 +0000 Resent-Message-ID: <handler.78323.B.17467440351359 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 78323 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 78323 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.17467440351359 (code B ref -1); Thu, 08 May 2025 22:41:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 May 2025 22:40:35 +0000 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> 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-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.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Daniel Colascione <dancol@HIDDEN> Subject: bug#78323: Acknowledgement (Regression in case-insensitive filename completion) Message-ID: <handler.78323.B.17467440351359.ack <at> debbugs.gnu.org> References: <m1r00yenfz.fsf@HIDDEN> X-Gnu-PR-Message: ack 78323 X-Gnu-PR-Package: emacs Reply-To: 78323 <at> debbugs.gnu.org Date: Thu, 08 May 2025 22:41:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 78323 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 78323: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78323 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#78323: Regression in case-insensitive filename completion Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 09 May 2025 06:29:02 +0000 Resent-Message-ID: <handler.78323.B78323.174677210815265 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78323 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel Colascione <dancol@HIDDEN>, Spencer Baugh <sbaugh@HIDDEN>, Stefan Monnier <monnier@HIDDEN> Cc: 78323 <at> debbugs.gnu.org Received: via spool by 78323-submit <at> debbugs.gnu.org id=B78323.174677210815265 (code B ref 78323); Fri, 09 May 2025 06:29:02 +0000 Received: (at 78323) by debbugs.gnu.org; 9 May 2025 06:28:28 +0000 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> In-Reply-To: <m1r00yenfz.fsf@HIDDEN> (message from Daniel Colascione on Thu, 08 May 2025 15:40:16 -0700) References: <m1r00yenfz.fsf@HIDDEN> X-Spam-Score: -2.3 (--) 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?
Received: (at control) by debbugs.gnu.org; 9 May 2025 06:40:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 09 02:40:24 2025 Received: from localhost ([127.0.0.1]:34775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uDHPE-0004h3-5p for submit <at> debbugs.gnu.org; Fri, 09 May 2025 02:40:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36704) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uDHPA-0004eW-NF; Fri, 09 May 2025 02:40:21 -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 1uDHP4-0007aH-EL; Fri, 09 May 2025 02:40:14 -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=h90GGtRjTKDY+83jo3Mh+kPUyDYPbh2zMP1cnsg/yz8=; b=PLfHBtmBfNvN WRl0op/25M1/zfF6iRZq8vLlbhQLldiam+NlAPT+F+8o+HgizO1zkDcm7AfWNCSfIm9G1q6DCEQCs WrG5t/s6GyDVS5fVLd4+w0wny6Vzau5zuOTmdOr5ZCOGGLOlowYXboVH8UF4/XV/F17GoGlsN6Ve1 XMVTdUOcKdj6YrG8EDqotBuqgJsaEQtEd0NgPBcXmB6/aSHFQkSdiAzU38x4xptcoH8wSSpgB0fSh 0Kln8XPdHOmwYTX6ldNgzVA9PghimVoShwauHyH2xAWmYqx9E0OhUao0amPHkrfuv/R5jQtdiDfj4 IiVh6oRaz+INPSF2PAv6QA==; Date: Fri, 09 May 2025 09:40:11 +0300 Message-Id: <86ldr6cmno.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> In-Reply-To: <CAHyO48z=9rrPku4DbMkdSUrY5DUmZXexhKwx3t6LRkCF7aXedQ@HIDDEN> (message from Aaron Jensen on Thu, 8 May 2025 21:14:23 -0700) Subject: Re: bug#78325: 31.0.50; Regression in completion casing resulting from improving env var handling in read-file-name References: <m2plgiiiyq.fsf@HIDDEN> <CAHyO48z=9rrPku4DbMkdSUrY5DUmZXexhKwx3t6LRkCF7aXedQ@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 78325 <at> debbugs.gnu.org, sbaugh@HIDDEN, monnier@HIDDEN 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 (---) merge 78325 78323 thanks > Cc: Spencer Baugh <sbaugh@HIDDEN>, > Stefan Monnier <monnier@HIDDEN> > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Thu, 8 May 2025 21:14:23 -0700 > > (resending because there was an issue sending the first time, > apologies if this is received more than once) > > Run `emacs -Q` in the emacs source directory then: > > C-x C-f > in<tab> > > Expected completions: > > INSTALL > INSTALL.repo > info/ > > Actual completions: > > inSTALL > inSTALL.repo > info/ > > This worked prior to 509cbe1c35b3dd005a53ac041f9c87ee53b8e115 (Improve > env var handling in read-file-name) > > It does not seem like an intended consequence. Thanks. This seems to be a duplicate of bug#78323, so I'm merging them.
Received: (at control) by debbugs.gnu.org; 10 May 2025 19:06:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 10 15:06:15 2025 Received: from localhost ([127.0.0.1]:50627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uDpWZ-0000sY-9d for submit <at> debbugs.gnu.org; Sat, 10 May 2025 15:06:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53906) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uDpWO-0000qn-8m; Sat, 10 May 2025 15:06:06 -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 1uDpWI-0003d3-Pi; Sat, 10 May 2025 15:05:58 -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=9nEGFldfbq0FrQeOKko5pxEaeMTl8XYibI378nTXqho=; b=rqxa++tJDsm7 9Wqo0xdZXOMLPY53d5qDd7R2IdlYXJKYNttqHsKW2bN8+0XiRVfJlfNcXtuCeZ44wSLNt4XyR4CRr yjYIwK+PQM0bM+SGQGqQhZp5mpKSi7KU7BW2C4EZ+2W9DJczTaTijDS46zm3btGihQ7I34yG8NRjI gqpA4hzKYfFVklIeEtTZrm608jfU0ECrS7AcACs85yYCvp/P/pku2hoUXmH9YHaEY/YmWjBeHxfi5 S2vL5PlOjyH3sUbzzC0GUgALIvkb03hNwdkQTxkqGJbnvvt4PhpeOakFC9JeTt8g/v8I1KBKUMID9 1/YOmJ9WoGcls4F+OtBo3w==; Date: Sat, 10 May 2025 22:05:54 +0300 Message-Id: <86plgg8ewd.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Dieter Deyke <dieter.deyke@HIDDEN> In-Reply-To: <CAK9Z8HSQf3gX3Nv4pQkc5HCj0qm1W-=Na3mjnRf-n=6LMNFW5g@HIDDEN> (message from Dieter Deyke on Sat, 10 May 2025 19:55:43 +0200) Subject: Re: bug#78357: 31.0.50; read file name completion generates wrong file name References: <CAK9Z8HSQf3gX3Nv4pQkc5HCj0qm1W-=Na3mjnRf-n=6LMNFW5g@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 78357 <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 (---) merge 78357 78323 thanks > From: Dieter Deyke <dieter.deyke@HIDDEN> > Date: Sat, 10 May 2025 19:55:43 +0200 > > I am on Debian with a case sensitve file system. I have a directory > named "~/media/SANSA CLIPP". After starting emacs -Q and setting the > option Read File Name Completion Ignore Case to t, > I type C-x d ~/media/sa then press the Tab key. Emacs completes the > file name to ~/media/saNSA CLIPP/ which does not exist. In previous > versions of emacs the "sa" would have been corrected to "SA". This is a duplicate of bug#78323, so I'm merging them.
X-Loop: help-debbugs@HIDDEN Subject: bug#78323: Regression in case-insensitive filename completion Resent-From: Daniel Colascione <dancol@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 12 May 2025 03:25:01 +0000 Resent-Message-ID: <handler.78323.B78323.174702029911997 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78323 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: Spencer Baugh <sbaugh@HIDDEN>, Stefan Monnier <monnier@HIDDEN>, 78323 <at> debbugs.gnu.org Received: via spool by 78323-submit <at> debbugs.gnu.org id=B78323.174702029911997 (code B ref 78323); Mon, 12 May 2025 03:25:01 +0000 Received: (at 78323) by debbugs.gnu.org; 12 May 2025 03:24:59 +0000 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> 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-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?
X-Loop: help-debbugs@HIDDEN Subject: bug#78323: Regression in case-insensitive filename completion Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 12 May 2025 11:41:01 +0000 Resent-Message-ID: <handler.78323.B78323.174705003228835 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78323 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel Colascione <dancol@HIDDEN>, monnier@HIDDEN Cc: sbaugh@HIDDEN, 78323 <at> debbugs.gnu.org Received: via spool by 78323-submit <at> debbugs.gnu.org id=B78323.174705003228835 (code B ref 78323); Mon, 12 May 2025 11:41:01 +0000 Received: (at 78323) by debbugs.gnu.org; 12 May 2025 11:40:32 +0000 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> In-Reply-To: <m1ldr2ecjl.fsf@HIDDEN> (message from Daniel Colascione on Sun, 11 May 2025 20:24:46 -0700) References: <m1r00yenfz.fsf@HIDDEN> <86plgicn7l.fsf@HIDDEN> <m1ldr2ecjl.fsf@HIDDEN> X-Spam-Score: -2.3 (--) 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?
X-Loop: help-debbugs@HIDDEN Subject: bug#78323: Regression in case-insensitive filename completion Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 12 May 2025 14:43:01 +0000 Resent-Message-ID: <handler.78323.B78323.174706097816877 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78323 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: sbaugh@HIDDEN, Daniel Colascione <dancol@HIDDEN>, 78323 <at> debbugs.gnu.org Received: via spool by 78323-submit <at> debbugs.gnu.org id=B78323.174706097816877 (code B ref 78323); Mon, 12 May 2025 14:43:01 +0000 Received: (at 78323) by debbugs.gnu.org; 12 May 2025 14:42:58 +0000 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> 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-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
X-Loop: help-debbugs@HIDDEN Subject: bug#78323: Regression in case-insensitive filename completion Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 12 May 2025 14:58:01 +0000 Resent-Message-ID: <handler.78323.B78323.174706185020315 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78323 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN> Cc: sbaugh@HIDDEN, dancol@HIDDEN, 78323 <at> debbugs.gnu.org Received: via spool by 78323-submit <at> debbugs.gnu.org id=B78323.174706185020315 (code B ref 78323); Mon, 12 May 2025 14:58:01 +0000 Received: (at 78323) by debbugs.gnu.org; 12 May 2025 14:57:30 +0000 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> In-Reply-To: <jwvplgdyjui.fsf-monnier+emacs@HIDDEN> (message from Stefan Monnier on Mon, 12 May 2025 10:42:47 -0400) References: <m1r00yenfz.fsf@HIDDEN> <86plgicn7l.fsf@HIDDEN> <m1ldr2ecjl.fsf@HIDDEN> <86sela6orh.fsf@HIDDEN> <jwvplgdyjui.fsf-monnier+emacs@HIDDEN> X-Spam-Score: -2.3 (--) 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.
X-Loop: help-debbugs@HIDDEN Subject: bug#78323: Regression in case-insensitive filename completion Resent-From: Spencer Baugh <sbaugh@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 13 May 2025 16:24:02 +0000 Resent-Message-ID: <handler.78323.B78323.17471534255240 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78323 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: dancol@HIDDEN, Stefan Monnier <monnier@HIDDEN>, 78323 <at> debbugs.gnu.org Received: via spool by 78323-submit <at> debbugs.gnu.org id=B78323.17471534255240 (code B ref 78323); Tue, 13 May 2025 16:24:02 +0000 Received: (at 78323) by debbugs.gnu.org; 13 May 2025 16:23:45 +0000 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> 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-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 --=-=-=--
X-Loop: help-debbugs@HIDDEN Subject: bug#78323: Regression in case-insensitive filename completion Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 14 May 2025 11:19:02 +0000 Resent-Message-ID: <handler.78323.B78323.174722153528258 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78323 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Spencer Baugh <sbaugh@HIDDEN>, dancol@HIDDEN, Dieter Deyke <dieter.deyke@HIDDEN>, Aaron Jensen <aaronjensen@HIDDEN> Cc: monnier@HIDDEN, 78323 <at> debbugs.gnu.org Received: via spool by 78323-submit <at> debbugs.gnu.org id=B78323.174722153528258 (code B ref 78323); Wed, 14 May 2025 11:19:02 +0000 Received: (at 78323) by debbugs.gnu.org; 14 May 2025 11:18:55 +0000 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> In-Reply-To: <ierh61owkc7.fsf@HIDDEN> (message from Spencer Baugh on Tue, 13 May 2025 12:23:36 -0400) 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-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?
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.