Bug#311007: filetypes for zope filesystem types

martin f krafft madduck at debian.org
Mon Aug 8 10:01:53 UTC 2005


also sprach Stefano Zacchiroli <zack at debian.org> [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 <madduck at debian.org>
: :'  :    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".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20050808/4b5e05cd/attachment.pgp


More information about the pkg-vim-maintainers mailing list