Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!wuarchive!wugate!uunet!mcsun!mcvax!sunic!tut!kannel!kannel.lut.fi!kim From: kim@kannel.lut.fi (Kimmo Suominen) Newsgroups: gnu.emacs Subject: Re: written-file-hooks (??) Message-ID: Date: 23 Aug 89 19:45:06 GMT References: Sender: news@kannel.lut.fi Distribution: gnu Organization: Lappeenranta University of Technology, Finland Lines: 26 In-reply-to: msb@ho5cad.att.com's message of 22 Aug 89 14:01:10 GMT In article msb@ho5cad.att.com (Mike Balenger) writes: From: msb@ho5cad.att.com (Mike Balenger) Date: 22 Aug 89 14:01:10 GMT Organization: AT&T Bell Laboratories I am looking for a way to do stuff AFTER a file is written. write-file-hooks does stuff BEFORE the file is written. Specifically, I want to have a written-file-hook attached to my .profile, .emacs, and $ENV files so that I can modify them on one machine and have them rcp'd to another machine immediately. ... How about using ftp-write-file in write-file-hook? Sounds good to me (haven't tried, though). Kim -- ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ( Kimmo Suominen Electronic Mail on Internet: kim@kannel.lut.fi ) ( "That's what I think!" on Funet: KUULA::KIM ) ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''