Hm, I have tried the following:

Index: pygments-0.10/pygments/lexers/web.py
===================================================================
--- pygments-0.10.orig/pygments/lexers/web.py   2009-08-14
15:36:48.000000000 +0200
+++ pygments-0.10/pygments/lexers/web.py        2009-08-14 15:36:56.000000000 
+0200
@@ -34,8 +34,8 @@

     name = 'JavaScript'
     aliases = ['js', 'javascript']
-    filenames = ['*.js']
-    mimetypes = ['application/x-javascript', 'text/x-javascript',
'text/javascript']
+    filenames = ['*.js', '*.hx']
+    mimetypes = ['application/x-javascript', 'text/x-javascript',
'text/javascript', 'text/x-haxe']

     flags = re.DOTALL
     tokens = {
Index: pygments-0.10/pygments/lexers/_mapping.py
===================================================================
--- pygments-0.10.orig/pygments/lexers/_mapping.py      2009-08-14
15:37:30.000000000 +0200
+++ pygments-0.10/pygments/lexers/_mapping.py   2009-08-14
15:39:17.000000000 +0200
@@ -64,7 +64,7 @@
     'JavascriptDjangoLexer': ('pygments.lexers.templates',
'JavaScript+Django/Jinja', ('js+django', 'javascript+django',
'js+jinja', 'javascript+jinja'), (),
('application/x-javascript+django', 'application/x-javascript+jinja',
'text/x-javascript+django', 'text/x-javascript+jinja',
'text/javascript+django', 'text/javascript+jinja')),
     'JavascriptErbLexer': ('pygments.lexers.templates',
'JavaScript+Ruby', ('js+erb', 'javascript+erb', 'js+ruby',
'javascript+ruby'), (), ('application/x-javascript+ruby',
'text/x-javascript+ruby', 'text/javascript+ruby')),
     'JavascriptGenshiLexer': ('pygments.lexers.templates',
'JavaScript+Genshi Text', ('js+genshitext', 'js+genshi',
'javascript+genshitext', 'javascript+genshi'), (),
('application/x-javascript+genshi', 'text/x-javascript+genshi',
'text/javascript+genshi')),
-    'JavascriptLexer': ('pygments.lexers.web', 'JavaScript', ('js',
'javascript'), ('*.js',), ('application/x-javascript',
'text/x-javascript', 'text/javascript')),
+    'JavascriptLexer': ('pygments.lexers.web', 'JavaScript', ('js',
'javascript'), ('*.js','*.hx',), ('application/x-javascript',
'text/x-javascript', 'text/javascript', 'text/haxe')),
     'JavascriptPhpLexer': ('pygments.lexers.templates',
'JavaScript+PHP', ('js+php', 'javascript+php'), (),
('application/x-javascript+php', 'text/x-javascript+php',
'text/javascript+php')),
     'JavascriptSmartyLexer': ('pygments.lexers.templates',
'JavaScript+Smarty', ('js+smarty', 'javascript+smarty'), (),
('application/x-javascript+smarty', 'text/x-javascript+smarty',
'text/javascript+smarty')),
     'JspLexer': ('pygments.lexers.templates', 'Java Server Page',
('jsp',), ('*.jsp',), ('application/x-jsp',)),

and rebuild the Debian (Lenny) package, installed it, and restarted
Apache.  But no dice.

Cheers,
-- 
                                                    Jens Peter Secher.
_DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1 jpsecher gmail com_.
A. Because it breaks the logical sequence of discussion.
Q. Why is top posting bad?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to