From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#36502: Fwd: bug#36502: 27.0.50; infinite loop in file-name-case-insensitive-p Date: Sat, 20 Jul 2019 12:19:39 +0300 Message-ID: <83lfwtt650.fsf@gnu.org> References: <7fa570d6-74a7-56d0-af9e-48ade20551b8@cornell.edu> <87muhr47k5.fsf@gmail.com> <837e8v87jf.fsf@gnu.org> <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> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="56716"; mail-complaints-to="usenet@blaine.gmane.org" Cc: rms@gnu.org, schwab@suse.de, 36502@debbugs.gnu.org, npostavs@gmail.com, monnier@iro.umontreal.ca, dan@dpsutton.com To: Ken Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 20 11:21:06 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 1holYA-000EbO-Jr for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Jul 2019 11:21:06 +0200 Original-Received: from localhost ([::1]:50220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1holY9-0003RU-Lq for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Jul 2019 05:21:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57740) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1holY7-0003RO-1p for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2019 05:21:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1holY6-0000Y0-4a for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2019 05:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48009) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1holY6-0000Xu-0b for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2019 05:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1holY5-0001RF-RG for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2019 05:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Jul 2019 09:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36502 X-GNU-PR-Package: emacs Original-Received: via spool by 36502-submit@debbugs.gnu.org id=B36502.15636144055432 (code B ref 36502); Sat, 20 Jul 2019 09:21:01 +0000 Original-Received: (at 36502) by debbugs.gnu.org; 20 Jul 2019 09:20:05 +0000 Original-Received: from localhost ([127.0.0.1]:56830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1holX6-0001P5-IQ for submit@debbugs.gnu.org; Sat, 20 Jul 2019 05:20:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1holX4-0001Os-HU for 36502@debbugs.gnu.org; Sat, 20 Jul 2019 05:19:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1holWy-0008K4-SV; Sat, 20 Jul 2019 05:19:52 -0400 Original-Received: from [176.228.60.248] (port=1463 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1holWr-00011x-I8; Sat, 20 Jul 2019 05:19:46 -0400 In-reply-to: <09ed9fa5-efd8-93df-e4f1-dbd73cb1b823@cornell.edu> (message from Ken Brown on Mon, 15 Jul 2019 13:39:24 +0000) 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:163451 Archived-At: > From: Ken Brown > CC: "dan@dpsutton.com" , "36502@debbugs.gnu.org" > <36502@debbugs.gnu.org>, "npostavs@gmail.com" , > "monnier@iro.umontreal.ca" , "schwab@suse.de" > > Date: Mon, 15 Jul 2019 13:39:24 +0000 > > On 7/12/2019 4:18 PM, Ken Brown wrote: > > On 7/12/2019 2:41 AM, Eli Zaretskii wrote: > >> It is only absolute if what follows ~ is a slash or a name of an > >> existing user. I think we should fix the inconsistency in that > >> direction. > > > > Patch attached. > > Is the patch OK, Eli? Here it is again, fleshed out with a commit message and test. Thanks. The patch looks OK to me, but shouldn't we also make file-name-absolute-p recognize "~foo" as non-absolute when there's no user named "foo"? I thought we agreed this is a discrepancy we don't want.