From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: Fwd: Mac OS Alias file links Date: Mon, 14 Apr 2014 14:36:14 -0400 Message-ID: References: <87ioqcfepi.fsf@bzg.ath.cx> <8738hfswq4.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZlk2-0007yx-Lr for emacs-orgmode@gnu.org; Mon, 14 Apr 2014 14:36:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WZljt-0001ZU-GJ for emacs-orgmode@gnu.org; Mon, 14 Apr 2014 14:36:26 -0400 Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]:51696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZljt-0001ZQ-AN for emacs-orgmode@gnu.org; Mon, 14 Apr 2014 14:36:17 -0400 Received: by mail-qg0-f47.google.com with SMTP id i50so1194077qgf.6 for ; Mon, 14 Apr 2014 11:36:16 -0700 (PDT) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Charles Berry Cc: emacs-orgmode@gnu.org On 2014-04-14 at 13:42, Charles Berry wrote: > The point of using an alias rather than a filename or the name of a > symbolic link that points to the file is that it inherits the property > of Mac OS X aliases that moving the file does not break the alias --- > it still points to file. Exactly! > For this to work as you fantasize, you would need to enable the Finder > application to modify the part of the *.org file that encodes the > alias when you change the location of the aliased file just as the > Finder does to the alias when the location of the aliased file is > modified in the Finder. I don't think so. I'm not sure how BibDesk handles it, but my BibTeX file is not modified when I move the PDF that is linked to an entry via that 1200 character field that encodes the alias. Clearly BibDesk does something neat to encode and decode that field, but once created, the OS nor Finder know anything about that line or the file containing it. I don't think Finder would need to know about a string in an Org file either. > OTOH, writing an AppleScript to make an alias in a folder that is > never moved, writing elisp to call that script and then make an > org-mode link to the alias just created might work for you. Yes this would work too as a hack. -k.