Xref: utzoo gnu.emacs.help:1434 comp.software-eng:5032 Path: utzoo!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!know!tegra!vail From: vail@tegra.COM (Johnathan Vail) Newsgroups: gnu.emacs.help,comp.software-eng Subject: Re: Source control Message-ID: <2151@atlas.tegra.COM> Date: 12 Mar 91 16:34:14 GMT References: <5407@ntmtv.UUCP> Distribution: usa Organization: Tegra-Varityper, Inc., Billerica, MA Lines: 50 In-reply-to: atang@ntmtv.UUCP's message of 1 Mar 91 00:32:10 GMT In article <5407@ntmtv.UUCP> atang@ntmtv.UUCP (Adrian Tang) writes: Our development group composed of 6 engineers would like to integrate EMACS with the SCCS utility. We are developing on Sun Common LISP and our platform will be SPARC's. We would like the interface to the SCCS utility to be as transparent as possible. For instance, it would be nice if checking in/out files would be as easy as invoking find-file/write-file. I am catching up on this group so maybe an answer has already been published. Anyway, I wrote a package for SCCS that is very simple and transparent to use. I posted it about a year ago and other have hacked it for use with RCS. It preserves the current location in the file (as much as possible) and works properly with parse-error. I can email it or post it again if there is enough interest. jv ________________ Here are the relevent functions and variables: sccs-buffer Variable: Buffer name used for sccs command output sccs-create C-c N Function: Put the current file into SCCS sccs-delget C-c E Function: sccs delget command on current file, replacing this version in SCCS sccs-do Function: Exec sccs COMMAND on FNAME, with optional REVISION and COMMENTS sccs-edit C-c e Function: If the buffer is read only then do a `sccs edit' and re-read the buffer sccs-get C-c g Function: Get the file from sccs, asking for a REVISION sccs-info C-c i Function: Show SCCS info sccs-prt C-c p Function: Show history for current file ________________ "Gravitation cannot be held responsible for people falling in love." Albert Einstein _____ | | Johnathan Vail | n1dxg@tegra.com |Tegra| (508) 663-7435 | N1DXG@448.625-(WorldNet) ----- jv@n1dxg.ampr.org {...sun!sunne ..uunet}!tegra!vail