Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 1997 12:36:30 -0600 (CST)
From:      "Paul T. Root" <proot@horton.iaces.com>
To:        cao@bus.net (Chuck O'Donnell)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: editing linked files w/emacs
Message-ID:  <199712121836.MAA04984@horton.iaces.com>
In-Reply-To: <Pine.BSF.3.96.971212122451.3544A-100000@milf18.bus.net> from Chuck O'Donnell at "Dec 12, 97 12:47:21 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



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