> It seems that whenever I go edit blah directly, that is, NOT by
> accessing it through the hard link, the linked "file" doesn't change--- 

Contrary to symlinks, hardlinks are symetric: after the hardlink is
created, both the original file and its new name are equally owners of
the file: they're just two (or more) names for the same file.
So saying "accessing it through the hard link" doesn't make much sense.

> a LaTeX run results in a typeset document that looks the same as it
> did *before* the changes were made. It seems that the link is broken
> in the sense that it points to an older copy of the file, not the
> new copy.

Yes, Emacs breaks links by default.  Try C-h v backup-by-copying, and
follow the links to make-backup-files and backup-by-copying-when-linked.
Of course, the Info node "(emacs)Backup Copying" is also a good read.

Depending on your use of hardlinks, you either want to be careful to not
break them, or you want to be careful to always break them, but Emacs
can't magically figure that out, sadly.  The default Emacs behavior is
to try to break hardlinks, but to preserve symlinks, so if you want
links to be preserved, you may also just use symlinks (which may or may
not be an option depending on your specific needs, of course).


        Stefan

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Emacs-app-dev- mailing list
Emacs-app-dev-@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

Reply via email to