[OS X Emacs] Emacs.app doesn't do aliases...

Peter Dyballa Peter_Dyballa at Web.DE
Sun Dec 23 18:35:07 EST 2007


Am 22.12.2007 um 05:54 schrieb Joe Davison:

> Create an alias to an existing, non-empty, file and another to an  
> existing directory.


It can! Use from dired view or shell the open command.

But that's, probably, not what you want! And this other way to work  
on/with HFS+ alias files does not work yet, since such an alias file  
is a 0 byte file with a large (some 10 KB) resource fork. The  
routines to open a file only open the (obviously) useful "UNIX" part,  
the HFS+ resource fork (this AppleDouble encoded Macintosh file can  
be seen and visited on an UFS or NFS volume, could be also on FAT  
[USB stick], NTFS, CIFS, SMB) is unavailable. So even the resource is  
no link to the original file, although it contains pointers to find  
it, even from another volume. RFC1740 is describing this text file  
format (Content-Type: multipart/appledouble; boundary=mac-part),  
because it's original intention might have been to produce a file  
from a classic Mac OS HFS entity that could be transferred over  
Internet. Could be some AppleScript can do what you want to achieve?  
I.e. make AppleScript open that file using emacsclient?

Here is a document I could google: http://www.iana.org/assignments/ 
media-types/multipart/appledouble, and this one describes the RFC I  
mentioned: http://www.ietf.org/rfc/rfc1740.txt

--
Happy Christmas reading!

   Pete

The human animal differs from the lesser primates in his passion for  
lists of "Ten Best."
				– H. Allen Smith






More information about the MacOSX-Emacs mailing list