🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #1065

Re: Catch Source Code Errors - Tricks Wanted

#1065
From: Paul Chamberlain
Date: Thu, 18 Oct 1990 20:12
17 lines
1517 bytes
In article <1990Oct17.183455.12233@xavax.com> jat@xavax.com (John Tamplin) writes:
>A tool I have always wanted to build, but have never had (made) time for is
>this:  a version of RCS which canonicalizes (is that a word?) the source as
>it is checked in.  When a user checks out a ocpy of the file, the program
>checks an environment variable or some ~/.xxx file to discover the user's style
>preferences.

It seems like you could build this with the normal RCS and "indent".
As long as the programmer's style can be represented by indent options
you're in luck.  "indent" it in one style and stuff it in RCS.  When
it is checked out, "indent" it in the programmers style.  The only real
work necessary might be a few changes to indent to fit your exact desires.

Anybody done this?  I'm tempted because people around here indent w/spaces.

Paul Chamberlain | I do NOT represent IBM.     tif@doorstop, sc30661 at ausvm6
512/838-7008     | ...!cs.utexas.edu!ibmaus!auschs!doorstop.austin.ibm.com!tif
Technical Details
Message-ID: <3934@awdprime.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!awdprime!doorstop.austin.ibm.com!tif
References: <1990Oct17.183455.12233@xavax.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!awdprime!doorstop.austin.ibm.com!tif
From: tif@doorstop.austin.ibm.com (Paul Chamberlain)
Newsgroups: comp.unix.programmer
Subject: Re: Catch Source Code Errors - Tricks Wanted
Message-ID: <3934@awdprime.UUCP>
Date: 18 Oct 90 20:12:09 GMT
References: <1990Oct17.183455.12233@xavax.com>
Sender: news@awdprime.UUCP
Reply-To: tif@doorstop.austin.ibm.com (Paul Chamberlain)
Organization: IBM AWD, Austin, TX
Lines: 17