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:55:29 +0100 Message-ID: <87h8fx2chq.fsf@igel.home> References: <20181201210450.47f17692.maandree@kth.se> <87lg592dsg.fsf@igel.home> <20181201213514.5c22626f.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 1543697700 27778 195.159.176.226 (1 Dec 2018 20:55:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Dec 2018 20:55:00 +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:54:55 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 1gTCHu-00076g-Si for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Dec 2018 21:54:55 +0100 Original-Received: from localhost ([::1]:42522 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTCK1-0004i9-GK for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Dec 2018 15:57:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTCJ4-0004L1-1s for bug-gnu-emacs@gnu.org; Sat, 01 Dec 2018 15:56:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gTCJ0-0006ua-Dw for bug-gnu-emacs@gnu.org; Sat, 01 Dec 2018 15:56:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53063) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gTCJ0-0006u6-1W for bug-gnu-emacs@gnu.org; Sat, 01 Dec 2018 15:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gTCIz-0007BV-RO for bug-gnu-emacs@gnu.org; Sat, 01 Dec 2018 15:56:01 -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:56:01 +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: notabug Original-Received: via spool by 33564-submit@debbugs.gnu.org id=B33564.154369773427581 (code B ref 33564); Sat, 01 Dec 2018 20:56:01 +0000 Original-Received: (at 33564) by debbugs.gnu.org; 1 Dec 2018 20:55:34 +0000 Original-Received: from localhost ([127.0.0.1]:57321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gTCIY-0007An-0Q for submit@debbugs.gnu.org; Sat, 01 Dec 2018 15:55:34 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:43124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gTCIW-0007Af-Cq for 33564@debbugs.gnu.org; Sat, 01 Dec 2018 15:55:32 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 436k6q4kccz1qxl0; Sat, 1 Dec 2018 21:55:31 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 436k6q4YfGz1qql4; Sat, 1 Dec 2018 21:55:31 +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 lYZFnnJHi3_m; Sat, 1 Dec 2018 21:55:30 +0100 (CET) X-Auth-Info: +0oQh1hlL2jdo8iTAfL/qppR2/LfeWTLXeHCjLGQEPNJXgfVuTkUvtl+sdOKVm9b 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:55:30 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id 4656F2C1E85; Sat, 1 Dec 2018 21:55:29 +0100 (CET) X-Yow: I guess it was all a DREAM.. or an episode of HAWAII FIVE-O... In-Reply-To: <20181201213514.5c22626f.maandree@kth.se> ("Mattias =?UTF-8?Q?Andr=C3=A9e?="'s message of "Sat, 1 Dec 2018 21:35:14 +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:152969 Archived-At: On Dez 01 2018, Mattias Andrée wrote: > On Sat, 1 Dec 2018 21:27:27 +0100 > Andreas Schwab wrote: > >> 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. > > What is the rationale for this? Canonicalizing is a pure textual operation. > No other program Bash and Emacs behave this way, including the > coreutils. This is not true, as I explained above. 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."