[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Separate obj tree (really emacs and hard links)
From: |
Gary Oberbrunner |
Subject: |
Re: Separate obj tree (really emacs and hard links) |
Date: |
Mon, 2 Oct 2000 14:17:21 -0400 (EDT) |
>>>>> "DA" == Doug Alcorn <address@hidden> writes:
> In this manner (as per your quote from buffer.c), I think XEmacs
> and Emacs handle hard links differently. Does
> find-file-existing-other-name really work in GNU Emacs for hard
> links? If so, I would expect XEmacs should at least have an
> option for providing the same functionality.
then, quoting from the xemacs doc:
| ...This works if any component of the pathname (including a non-
| terminal component) is a symbolic link as well, but doesn't work
| with hard links (nothing does).
That last stmt is not true. You *can* check if two files are the
same; just check the inode numbers with stat. And sure enough, when I
try it on GNU Emacs, it does work. Here's the message emacs gives me:
~/src/build/irix/final/spark-interface.c and ~/src/spark-interface.c are the
same file
Looks like I won't be switching to xemacs any time soon!
--
. . . . . . . . . . . . . . . . . . . . . . . . .
Gary Oberbrunner address@hidden
GenArts, Inc. Tel: 617-492-2888
8 Clinton Street Fax: 617-492-2852
Cambridge, MA 02139 USA http://web.genarts.com