On 2 March 2012 14:09, viva <[email protected]> wrote:

> Hello all,
>
> I work in emacs and have just begun using web2py. Unfortunately I can't
> get proper highlighting for the templates (ie. web2py's own flavour of
> mixed python and HTML).
>
>
For work with html-files I use the nxhtml-mode.  However I don't think you
can expect to have any editor to respect python syntax in a html-file.

I prefer to do my work on html-files in bluefish and the python stuff in
emacs.

If I remember correctly I used guidelines by
http://hide1713.wordpress.com/2009/01/30/setup-perfect-python-environment-in-emacs/to
set up my emacs for python.

If you google for 'python setup for emacs'  you will get well documented
advice.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

Reply via email to