My workplace is an xemacs shop, so we use emacs lisp modes to deal with file headers. This is the generic perl header:
#!/zack/usr/bin/perl # # File: ipchains.pl # # Summary: # # Author: Jon Schatz # E-Mail: my@email.goes.here # Org: foobar.com # # Orig-Date: 17-Oct-00 at 16:33:56 # Last-Mod: 29-Nov-00 at 14:34:55 by jschatz # # Description: # # $Source: /zdevel/cvs/tools/ipchains/ipchains.pl,v $ # $Date: 2000/11/29 22:35:51 $ # $Revision: 1.7 $ # $Author: jschatz $ # $State: Exp $ # $Locker: $
The cool thing about this is that the file header is generated by emacs lisp from CVS info. So as soon as something's been commited to cvs, all the info is automagically written. There's also a disclaimer that gets added to code before it goes production ("This is unpublished proprietary code blah blah blah"), but that's nowhere near as cool as making xemacs generate these headers on the fly.

Update: I'll be happy to post up the lisp code to do this for anyone interested.

Update 2: Judgment Day: I'm actually going to write an xemacs review for the reviews section, so I'll just put all of the pertinent code there.

BlueLines

Disclaimer: This post may contain inaccurate information, be habit forming, cause atomic warfare between peaceful countries, speed up male pattern baldness, interfere with your cable reception, exile you from certain third world countries, ruin your marriage, and generally spoil your day. No batteries included, no strings attached, your mileage may vary.

In reply to Re: nice styles for code headers by BlueLines
in thread nice styles for code headers by markjugg

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.