Skip site navigation (1)Skip section navigation (2)
Date:      13 Dec 1997 08:41:21 -0600
From:      Dave Marquardt <marquard@zilker.net>
To:        freebsd-questions@freebsd.org, cao@bus.net
Subject:   Re: editing linked files w/emacs
Message-ID:  <85lnxp5mr2.fsf@localhost.zilker.net>
In-Reply-To: "Chuck O'Donnell"'s message of "Fri, 12 Dec 1997 12:47:21 -0500 (EST)"
References:  <Pine.BSF.3.96.971212122451.3544A-100000@milf18.bus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"Chuck O'Donnell" <cao@bus.net> writes:
> While using emacs to edit to a file with more than one hard link, and
> saving with save-buffer (C-x C-s), emacs saves the newly edited buffer to
> a new disk file, leaving the remaining links to refer to the original file
> which is now out of date.
> 
> To keep all link references current, I have to delete other links and
> relink the file each time I make an edit.  I must be doing something wrong
> here. 
> 
> Has anyone seen this before?

You might have better luck asking on one of the Emacs newsgroups
(comp.emacs, gnu.emacs, etc.).  I *believe* there is some sort of
Emacs Lisp variable you can set to cause Emacs to not move the old
version of the file `foo' to `foo~' and then write the modified file
to `foo'.  It's probably in the Emacs INFO stuff somewhere.

-Dave



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85lnxp5mr2.fsf>