also sprach Stefano Zacchiroli <[EMAIL PROTECTED]> [2005.08.01.2311 +0200]: > This could easily be added. > > > .cpy --> python (Zope form controller python script) > > This is a bit more troublesome because .cpy is an extension already used > in filetype.vim for cobol files. Are there any additional heuristics we > can use for distinguishing your .cpy? Don't know, the first line must > have a fixed form or something similar?
.cpy files almost always start out with ## Controller Python Script "myname" in the first line (no leading spaces). Thus, /^##/ may be a good mark. Anyway, such a line is not required. -- .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : proud Debian developer and author: http://debiansystem.info `. `'` `- Debian - when you have better things to do than fixing a system Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver! "information superhighway" is just an anagram for "i'm on a huge wispy rhino fart".
signature.asc
Description: Digital signature