From owner-freebsd-questions Fri Dec 12 10:37:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA12720 for questions-outgoing; Fri, 12 Dec 1997 10:37:45 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA12713 for ; Fri, 12 Dec 1997 10:37:41 -0800 (PST) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.7/8.8.7) id MAA04984; Fri, 12 Dec 1997 12:36:30 -0600 (CST) From: "Paul T. Root" Message-Id: <199712121836.MAA04984@horton.iaces.com> Subject: Re: editing linked files w/emacs To: cao@bus.net (Chuck O'Donnell) Date: Fri, 12 Dec 1997 12:36:30 -0600 (CST) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: from Chuck O'Donnell at "Dec 12, 97 12:47:21 pm" X-Organization: !nterprise Networking Services - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In a previous message, Chuck O'Donnell said: > > 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? Sure. What emacs does is mv the original to file~ and rewrites the new file. I've learned to live with it. And use sym-links instead. > The version info is emacs 19.34.1 (i386--freebsd, X toolkit) installed as > a package from the 2.2.2-RELEASE cdrom running under 2.2.2-RELEASE. > > Please reply directly as I am not on the mailing list. > > Thank you. > > Chuck O'Donnell > -- All in the golden afternoon While little hands make vain pretence Full leisurely we glide; Our wanderings to guide. For both our oars, with little skill, By little arms are plied, --Lewis Caroll