emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: macos: Finder's alias handling


From: Jean-Christophe Helary
Subject: Re: macos: Finder's alias handling
Date: Mon, 27 Sep 2021 22:36:59 +0900


> On Sep 27, 2021, at 21:43, Alan Third <alan@idiocy.org> wrote:
> 
> On Mon, Sep 27, 2021 at 09:27:35PM +0900, Jean-Christophe Helary wrote:
>> 
>> 
>>> On Sep 27, 2021, at 19:19, Alan Third <alan@idiocy.org> 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.

I've found references to older documentation, but I can't make sense of it:

https://indiestack.com/2017/05/resolving-modern-mac-alias-files/

https://cocoadev.github.io/FSRef/

https://github.com/nathanday/ndalias/issues/3

-- 
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]