.emacs for template files?

Author Message

Geraint Edwards

Wednesday 13 July 2005 2:44:57 am

Has anyone developed a .emacs file to enable syntax highlighting of tpl file. I tried the quanta/kate editor solution but found them slow and fiddly compared to emace.

PHP is nicely highlighted but not the tpl files.

kracker (the)

Wednesday 13 July 2005 3:03:30 pm

Bump,

I too use emacs for all my eZ publish development and have often wondered about emacs syntax formating but don't know enough about it to have implemented it myself.

I think syntax and eZ publish development syntax standards <i>http://ez.no/ez_publish/documentation/development/standards</i>

Re: indentation/spacing/code formating. It would be very nice tools to have in the toolkit.

Interesting, <i>http://66.102.7.104/search?q=cache:i4dm65NfvU0J:two-wugs.net/emacs/mode-tutorial.html+emacs,+modes&hl=en

http://howtos.linux.com/howtos/Emacs-Beginner-HOWTO-3.shtml
http://www.google.com/search?num=50&hl=en&lr=&safe=off&c2coff=1&q=emacs%2C+modes&btnG=Search
http://www.emacswiki.org/cgi-bin/wiki</i>

//kracker
<i>Sole : Every Single One Of Us</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

kracker (the)

Wednesday 13 July 2005 3:19:09 pm

There are also several different emacs modes already available for web application development in xhtml, xml, sgml, css, js, cfml, etc ...

<i>http://www.emacswiki.org/cgi-bin/wiki/ColdFusionDeluxeMode
http://www.joegrossberg.com/archives/001858.html</i>

I'll post more if I find anything more useful (which these aren't really :| )

//kracker
<i>Michael Crichton : State of Fear</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Geraint Edwards

Thursday 14 July 2005 1:24:03 am

I got my php .el file from
http://sourceforge.net/projects/php-mode/

This makes the php files readable (but could be improved to make it more ezpublish specific) - I think there is a mixed php/html version but I havn't looked into this yet.

What would be really nice is to find that someone has a .el file for eZPublish template files !

Geraint

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.