Editing Hard Linked Files in Emacs

Jerry Feldman gaf-mNDKBlG2WHs at public.gmane.org
Sat Dec 27 08:11:00 EST 2008


On 12/27/2008 07:50 AM, jbk wrote:
> Yes, I want to change one to change them all.
>
> In emacs the default is to save the original as
> <original.~>. So the original remains hard linked to the
> others. I've looked at all the save options in the emacs
> info files and tried a number without getting a solution
> that worked. There are a number of network scripts in etc
> that are hard linked. I didn't realize this until I tried to
> correct a problem and discovered that my edits were not
> being recognized because the other remaining hard linked
> files were not changed also.
> In VI you can do it. My work around is sufficient for now.
>  =20
Jim,
I think our emals crossed. Look at my solution. What you want to do is=20
to set the "backup-by-copying" variable. I used to do this back at=20
Digital, but I had forgotten.

--=20
Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846







More information about the Discuss mailing list