From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#33564: Incorrect path canonicalisation Date: Sat, 01 Dec 2018 21:27:27 +0100 Message-ID: <87lg592dsg.fsf@igel.home> References: <20181201210450.47f17692.maandree@kth.se> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1543696014 17722 195.159.176.226 (1 Dec 2018 20:26:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Dec 2018 20:26:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.90 (gnu/linux) Cc: 33564@debbugs.gnu.org To: Mattias =?UTF-8?Q?Andr=C3=A9e?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 01 21:26:49 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gTBqj-0004U6-FE for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Dec 2018 21:26:49 +0100 Original-Received: from localhost ([::1]:42456 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTBsq-0000km-1j for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Dec 2018 15:29:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTBs3-0000Mz-Jm for bug-gnu-emacs@gnu.org; Sat, 01 Dec 2018 15:28:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gTBry-0006Cj-Rp for bug-gnu-emacs@gnu.org; Sat, 01 Dec 2018 15:28:11 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53036) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gTBrv-00069r-4f for bug-gnu-emacs@gnu.org; Sat, 01 Dec 2018 15:28:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gTBru-0004WV-G0 for bug-gnu-emacs@gnu.org; Sat, 01 Dec 2018 15:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Dec 2018 20:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33564 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33564-submit@debbugs.gnu.org id=B33564.154369605317348 (code B ref 33564); Sat, 01 Dec 2018 20:28:02 +0000 Original-Received: (at 33564) by debbugs.gnu.org; 1 Dec 2018 20:27:33 +0000 Original-Received: from localhost ([127.0.0.1]:57294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gTBrR-0004Vk-0i for submit@debbugs.gnu.org; Sat, 01 Dec 2018 15:27:33 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:56425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gTBrO-0004Vb-HX for 33564@debbugs.gnu.org; Sat, 01 Dec 2018 15:27:31 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 436jVT4HyHz1qymV; Sat, 1 Dec 2018 21:27:29 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 436jVT3mZQz1qtdq; Sat, 1 Dec 2018 21:27:29 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id AQUK1F0fFCuM; Sat, 1 Dec 2018 21:27:28 +0100 (CET) X-Auth-Info: h8pBr621byJ6NlKtrgZr6TDzncufBbs7XTzRVNAouC+HGuRZXtikDtA6KbcyIX6U Original-Received: from igel.home (ppp-188-174-144-54.dynamic.mnet-online.de [188.174.144.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 1 Dec 2018 21:27:28 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id 814C92C1E85; Sat, 1 Dec 2018 21:27:27 +0100 (CET) X-Yow: Oh, I get it!! ``The BEACH goes on,'' huh, SONNY?? In-Reply-To: <20181201210450.47f17692.maandree@kth.se> ("Mattias =?UTF-8?Q?Andr=C3=A9e?="'s message of "Sat, 1 Dec 2018 21:04:50 +0100") 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: 208.118.235.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:152965 Archived-At: On Dez 01 2018, Mattias Andrée wrote: > Emacs 26.1 removes ..'s incorrectly from file names. > Emacs removes the directory in front the .. rather than > getting its parent directory. This is deliberate. Emacs never consults the filesystem when canonicalizing filenames, as documented in expand-file-name. This is consistent with the logical view of the filesystem, and how the shell builtin cd handles it. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."