From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#28865: 26.0.90; broken symlink behaviour in read-file-name on OS X (High Sierra) Date: Mon, 16 Oct 2017 22:33:27 +0100 Message-ID: <20171016213327.GB44072@breton.holly.idiocy.org> References: <880f5f86-3cbd-4b47-9c08-b36e9f2087b1@Spark> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1508189654 1387 195.159.176.226 (16 Oct 2017 21:34:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Oct 2017 21:34:14 +0000 (UTC) User-Agent: Mutt/1.9.0 (2017-09-02) Cc: 28865@debbugs.gnu.org To: detlevvandaele Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 16 23:34:11 2017 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 1e4D1Q-0007er-S1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Oct 2017 23:34:04 +0200 Original-Received: from localhost ([::1]:35340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4D1Y-0007pl-CT for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Oct 2017 17:34:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4D1R-0007pO-Rq for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 17:34:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4D1O-0008N4-O7 for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 17:34:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35666) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4D1O-0008Mx-Jf for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 17:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4D1O-0006cP-DX for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 17:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Oct 2017 21:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28865 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28865-submit@debbugs.gnu.org id=B28865.150818961825409 (code B ref 28865); Mon, 16 Oct 2017 21:34:02 +0000 Original-Received: (at 28865) by debbugs.gnu.org; 16 Oct 2017 21:33:38 +0000 Original-Received: from localhost ([127.0.0.1]:44347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4D0z-0006bl-Rz for submit@debbugs.gnu.org; Mon, 16 Oct 2017 17:33:38 -0400 Original-Received: from mail-wr0-f175.google.com ([209.85.128.175]:55585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4D0y-0006bY-Bq for 28865@debbugs.gnu.org; Mon, 16 Oct 2017 17:33:36 -0400 Original-Received: by mail-wr0-f175.google.com with SMTP id 22so4303300wrb.12 for <28865@debbugs.gnu.org>; Mon, 16 Oct 2017 14:33:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=lEVIytcnFtAAbTKbgfXHY2+R2qfx9Mll5igSMcLC1xA=; b=bKm9apEJJgiDfWvozZK/SOFVtOe8wnYOVcerYfDVS4i/gskVyIfrpD0ing/DCOxqHU GlFNB3AJVX9qS7l05rdXvr9zSYt0G5b9NjAbVpXBe/XMUDedmkS+WeFCBj516mrdLUkM CSQ9uCPc+U+AyfrjokXT8KqdvTrZbaF2RdH3//ZsCO3juMpUHoPvwuybSs0hTOtTjHLq u7LMc/SPt7dVDVNlfSr6aG1IJScxB7kPLobKoW9sy4YbuGw0GHn8IxRUBTMDbbovgJQ/ CA9+Xw9jbBmGP0wC0qPGOgRi7scuwHMlN2rgZsQfMuJPTPnkgvQMPK4psK//62R9/8No x4+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=lEVIytcnFtAAbTKbgfXHY2+R2qfx9Mll5igSMcLC1xA=; b=mwnIBN791cwLpsIej90tvaS/uPt+htTLqXzjacSnOQwh6nu/246dyauFqWIiRr4wRT vzAf5VuioBlGvqTgU2hV9twUkgiLCqS4uoopmiuDqvzlEhWnFu6+3KeKoXSwSe90csI2 g/lbc4x9Dpc8GlaqTp4j8EcZ1HNL9jIrs40BCMrSEnB3RxbZp5jKeAlUOK5uZdy1YV+5 hTE1s7A1pIoO4s6yJVq5qMzITbtZjPP2aLErpjnfNvfgMOHyFsa43WpD1uOVqfP6eQwz g5vRZMAhVW54teLL9Zgdaod/28oW4/Q4BVwguDSWIo+v592N2ogQazhS/nEzcrtWo67T QOyw== X-Gm-Message-State: AMCzsaVMMLrb5gM7bxFhmYAiEo0FIBtw8Xz5xCKcUBJbybuEfALrwwNd mXRfvS6EOvxJ2sQbBsVoE0M= X-Google-Smtp-Source: ABhQp+Sxiutt6PWstBxWa5PNMqDMkrRH1VPNKKOKyl3sdpUweLbiFyKMk98f47FxIbvHNA8PrVvSBw== X-Received: by 10.223.196.164 with SMTP id m33mr1681708wrf.258.1508189610449; Mon, 16 Oct 2017 14:33:30 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-dcdc-51e0-14de-5471.holly.idiocy.org. [2001:8b0:3f8:8129:dcdc:51e0:14de:5471]) by smtp.gmail.com with ESMTPSA id p77sm10774536wmd.28.2017.10.16.14.33.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Oct 2017 14:33:29 -0700 (PDT) Content-Disposition: inline In-Reply-To: <880f5f86-3cbd-4b47-9c08-b36e9f2087b1@Spark> 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:138554 Archived-At: On Mon, Oct 16, 2017 at 03:34:55PM +0200, detlevvandaele wrote: > Steps to reproduce in emacs 26, on macOS High Sierra (version 10.13): > > 1. Setup a symbolic link in the following way: > cd ~ > mkdir temp > touch temp/foo > ln -s ~/temp/foo ~/temp/bar > > 2. Open emacs 26 with `emacs -Q` > > 3. Evaluate the following elisp snippet > (let ((default-directory "~/temp")) >   (all-completions "" 'read-file-name-internal)) > > The (incorrect) output should read ("bar/" "foo" "../" "./") > The correct, expected output is ("bar" "foo" "../" "./") Confirmed on macOS 10.12 with Emacs 26 and the standard macOS ln. -- Alan Third