all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: "Mattias Andrée" <maandree@kth.se>
Cc: 33564@debbugs.gnu.org
Subject: bug#33564: Incorrect path canonicalisation
Date: Sat, 01 Dec 2018 21:55:29 +0100	[thread overview]
Message-ID: <87h8fx2chq.fsf@igel.home> (raw)
In-Reply-To: <20181201213514.5c22626f.maandree@kth.se> ("Mattias Andrée"'s message of "Sat, 1 Dec 2018 21:35:14 +0100")

On Dez 01 2018, Mattias Andrée <maandree@kth.se> wrote:

> On Sat, 1 Dec 2018 21:27:27 +0100
> Andreas Schwab <schwab@linux-m68k.org> wrote:
>
>> On Dez 01 2018, Mattias Andrée <maandree@kth.se> 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."





  reply	other threads:[~2018-12-01 20:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-01 20:04 bug#33564: Incorrect path canonicalisation Mattias Andrée
2018-12-01 20:27 ` Andreas Schwab
2018-12-01 20:35   ` Mattias Andrée
2018-12-01 20:55     ` Andreas Schwab [this message]
2018-12-01 21:14       ` Mattias Andrée
2018-12-02  6:27         ` Eli Zaretskii
2018-12-01 20:30 ` Eli Zaretskii
2019-08-21  2:26 ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h8fx2chq.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=33564@debbugs.gnu.org \
    --cc=maandree@kth.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.