From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#36502: Fwd: bug#36502: 27.0.50; infinite loop in file-name-case-insensitive-p Date: Fri, 26 Jul 2019 12:04:25 +0100 Message-ID: References: <2ffa1b04-e667-f708-1047-d5fc38e72787@cornell.edu> <83v9wd7vwi.fsf@gnu.org> <14115c87-c1e7-6f3d-2694-106a9d4c8706@cornell.edu> <83bly47lxk.fsf@gnu.org> <837e8s7hk4.fsf@gnu.org> <2f71c7a3-423c-4a36-a0c2-5c1833905a28@cornell.edu> <2f15cf80-feba-3e71-4cbf-a7fa25b43797@cornell.edu> <83zhlo5tkm.fsf@gnu.org> <41c1033e-bd1c-d244-7293-00dfba900e8f@cornell.edu> <83v9w73gb5.fsf@gnu.org> <07659a69-b89e-51da-8bb3-adc32e1f39ae@cornell.edu> <09ed9fa5-efd8-93df-e4f1-dbd73cb1b823@cornell.edu> <83lfwtt650.fsf@gnu.org> <0a542a8e-67b8-b355-8fdf-f87d5b0cd1c5@cornell.edu> <715cb1de-9815-4229-993c-ecbf16da662a@cs.ucla.edu> <834l3fsc2c.fsf@gnu.org> <22127ce6-182a-38ac-acc1-dfd09d727f18@cornell.edu> <90f841a9-4ec2-14f2-846c-fbfc31b9ad42@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="227769"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) To: 36502@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 26 13:05:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hqy2D-000x62-Pv for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jul 2019 13:05:13 +0200 Original-Received: from localhost ([::1]:38454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqy2B-00008c-Mc for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jul 2019 07:05:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50669) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqy28-00008K-39 for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2019 07:05:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqy24-0007Hq-6t for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2019 07:05:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60373) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hqy22-0007Es-6a for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2019 07:05:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hqy21-0007Yt-Uf for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2019 07:05:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2019 11:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36502 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.156413908629041 (code B ref -1); Fri, 26 Jul 2019 11:05:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jul 2019 11:04:46 +0000 Original-Received: from localhost ([127.0.0.1]:40961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqy1l-0007YK-ND for submit@debbugs.gnu.org; Fri, 26 Jul 2019 07:04:45 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:52529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqy1g-0007YA-51 for submit@debbugs.gnu.org; Fri, 26 Jul 2019 07:04:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49695) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqy1e-0008TU-3m for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2019 07:04:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqy1b-0005fL-1i for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2019 07:04:35 -0400 Original-Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:34802 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hqy1a-0005Pe-4n for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2019 07:04:34 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hqy1W-000wHA-BL for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2019 13:04:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:mkBO/JO/tfQtzStgEa6XMHmtu2Q= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163764 Archived-At: On Wed 24 Jul 2019, Paul Eggert wrote: > Thanks for the patch. I improved it, wrote a NEWS entry and a test case for > it, and installed the attached. I think this finishes off the issues in > Bug#36502 and so am closing the bug report. This patch causes a regression in UI behaviour, tested with 64bit MSYS2 build on Windows. Bisection shows this patch to be the cause. Before this patch, from emacs -Q: C-x C-f ~/foo RET => opens existing directory "c:/home/ajm/foo/" in dired C-x C-f ~/bar RET => default path offered is "~/foo" entered path is appended to give "~/foo/~/bar" opens existing directory "c:/home/ajm/bar/" in dired After this patch the second find-file fails and opens an empty buffer. The echo area shows: Use M-x make-directory RET RET to create the directory and its parents `buffer-file-name' in that buffer is invalid: "c:/home/ajm/foo/~/bar". Please fix this. AndyM