Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!ucbvax!decwrl!elroy.jpl.nasa.gov!ucla-cs!uci-ics!nagel From: nagel@paris.ics.uci.edu (Mark Nagel) Newsgroups: news.software.b Subject: Re: Gnews vs. GNUS (was: Review of NN, a Usenet news reader) Message-ID: <20270@paris.ics.uci.edu> Date: 30 Jul 89 21:32:49 GMT References: <1836@papaya.bbn.com> <1150@sequent.cs.qmc.ac.uk> Organization: University of California, Irvine - Dept of ICS Lines: 32 ambar@bloom-beacon.mit.edu (Jean Marie Diaz) writes: >GNUS would seem to set a good example for nn to follow -- it keeps a >.newsrc.el file around, which is its preferred format of the .newsrc >file, AND it keeps the .newsrc file up to date, so that I can use it >with other readers! (This was my main reason for switching from Gnews >to GNUS, BTW.) Oh yeah? :-) Try the following in Gnews... In gnews-start-hook: (if (file-newer-than-file-p "~/.newsrc" "/.gnewsrc") (delete-file "~/.gnewsrc")) In gnews-quit-hook: (if (file-exists-p (concat gnews-dot-dir ".newsrc")) (progn (rename-file (concat gnews-dot-dir ".newsrc") (concat gnews-dot-dir ".oldnewsrc") t) (news-rc-restore) ) ) So there! -- Mark Nagel UC Irvine, Department of Information and Computer Science ARPA: nagel@ics.uci.edu UUCP: ucbvax!ucivax!nagel