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

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? No other program Bash and Emacs
behave this way, including the coreutils.

It seems odd that the Bash suggest file from the wrong directory
so that even the coreutils cannot find them, only Emacs.

> 
> Andreas.
> 






  reply	other threads:[~2018-12-01 20:35 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 [this message]
2018-12-01 20:55     ` Andreas Schwab
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=20181201213514.5c22626f.maandree@kth.se \
    --to=maandree@kth.se \
    --cc=33564@debbugs.gnu.org \
    --cc=schwab@linux-m68k.org \
    /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.