From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: macos: Finder's alias handling Date: Mon, 27 Sep 2021 13:43:59 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6493"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers , Daniel =?iso-8859-1?Q?Mart=EDn?= To: Jean-Christophe Helary Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 27 14:47:28 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mUq2Z-0001QK-AV for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Sep 2021 14:47:27 +0200 Original-Received: from localhost ([::1]:50020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUq2X-00038W-8n for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Sep 2021 08:47:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUpzL-0000UF-Ip for emacs-devel@gnu.org; Mon, 27 Sep 2021 08:44:07 -0400 Original-Received: from outbound.soverin.net ([116.202.126.228]:47913) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUpzI-0004k8-Gd for emacs-devel@gnu.org; Mon, 27 Sep 2021 08:44:06 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id D37B951; Mon, 27 Sep 2021 12:44:02 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1632746642; bh=sggHWWKROZoRBWkNZiT/0Kkp2PYWn6sbWrVL77vfygk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p+manTMrBD9+gzjVsnome0lN8tS8jHNGkrMpc1P0VjFCvJZVsQmgliC7TXAg/gUKb Hl111j66+Be5OcG+A2T6n+EnrkULlZ21W0sHCht8ketsqD0D0JBqgXVtC4CjTWvW61 T47RrbtHXj3JjM4HI1i6iMmQu55WwtRlYQDB53ElItxTUeN8JIOodxgYJMQIzzYFyw mDJ0tycLudSR2AeIcsSgRqqjGBW9YsaTQ63EQYCXnpnMisspAOPBkX5HrFwV/sFE3R MOPMhZMq8elca3y/2rrdwv/nyiUEBHqStxkDJ/V9KHjb56GWgImjF4cIlImXFEZcUA YVpVJz8ecnMFQ== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1mUpzD-000M3F-3g; Mon, 27 Sep 2021 13:43:59 +0100 Mail-Followup-To: Alan Third , Jean-Christophe Helary , Daniel =?iso-8859-1?Q?Mart=EDn?= , Emacs developers Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=116.202.126.228; envelope-from=alan@idiocy.org; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:275580 Archived-At: On Mon, Sep 27, 2021 at 09:27:35PM +0900, Jean-Christophe Helary wrote: > > > > On Sep 27, 2021, at 19:19, Alan Third wrote: > > > > (It's also unclear to me whether NSUrl resolves the final path or > > not... I think it must but the documentation doesn't mention it > > afaics.) > > I'm seeing this: > > https://developer.apple.com/documentation/foundation/nsurl/1416404-urlbyresolvingaliasfileaturl > > URLByResolvingAliasFileAtURL:options:error: > Returns a new URL made by resolving the alias file at url. > > Is it relevant ? Yes, it is. I must have missed that. Unfortunately it's only available on macOS 10.10 and above and I have no idea how many people are still using old versions. -- Alan Third