From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#36502: Fwd: bug#36502: 27.0.50; infinite loop in file-name-case-insensitive-p Date: Thu, 11 Jul 2019 19:36:38 -0400 Message-ID: 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> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="229125"; mail-complaints-to="usenet@blaine.gmane.org" Cc: dan@dpsutton.com, npostavs@gmail.com, 36502@debbugs.gnu.org, monnier@iro.umontreal.ca, schwab@suse.de To: Ken Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 12 01:37:07 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 1hlicd-000xRY-Lf for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jul 2019 01:37:07 +0200 Original-Received: from localhost ([::1]:45882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlicc-0000kf-0F for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2019 19:37:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56767) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlicZ-0000kN-Bu for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 19:37:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlicY-0006I0-5P for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 19:37:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58465) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlicY-0006HZ-1A for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 19:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hlicX-0001Ra-S5 for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 19:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jul 2019 23:37: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.15628882085529 (code B ref 36502); Thu, 11 Jul 2019 23:37:01 +0000 Original-Received: (at 36502) by debbugs.gnu.org; 11 Jul 2019 23:36:48 +0000 Original-Received: from localhost ([127.0.0.1]:39053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlicK-0001R7-5z for submit@debbugs.gnu.org; Thu, 11 Jul 2019 19:36:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlicI-0001Qv-Uk for 36502@debbugs.gnu.org; Thu, 11 Jul 2019 19:36:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hlicB-0005qr-J9; Thu, 11 Jul 2019 19:36:39 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1hlicA-0001Tf-Ex; Thu, 11 Jul 2019 19:36:38 -0400 In-Reply-To: <41c1033e-bd1c-d244-7293-00dfba900e8f@cornell.edu> (message from Ken Brown on Wed, 10 Jul 2019 21:57:51 +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:162745 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > (let ((default-directory "~foo")) > (expand-file-name "bar")) > => "~foo/~foo/bar" That is not right, but I think "~foo/bar" would be right. > Part of what's confusing here is that file-name-absolute-p returns > t on file names starting with "~", even though its doc string > explicitly states that such a file name is not absolute. This contradiction is not good. But I would like to point out that, in a certain sesne, a name starting with ~ is absolute. It is not relative to the current directory. We may have a problem with two different meanings of "absolute", each being pertinent to some situations. > My inclination is that if default-directory starts with "~", then we should try > to convert it to a (truly) absolute file name. There may be some circumstances where that is better, but not always. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)