Well... emacs does not recognize .pmc files as any kind of known type. I suggest to add a -*- c -*- comment on the generated files. For that, a simple line can be added on genclass.pl: Index: genclass.pl =================================================================== RCS file: /cvs/public/parrot/classes/genclass.pl,v retrieving revision 1.11 diff -r1.11 genclass.pl 16a17,18 > /* Emacs flags: -*- c -*- */ > Hugs, Alberto -- Alberto Manuel B. Simoes Departamento de Informática - Universidade do Minho http://alfarrabio.di.uminho.pt/~albie - http://numexp.sf.net