[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Visual PHP3 [emacs mode]?



"Andre E. Bar'yudin" wrote:

> To my best knowledge there's no separate mode for php.  For editing
> php-only code you can use the C++ mode - it's almost perfect for it (use
> narrowing for instance). But the real problem is that you probably want to
> mix HTML and php - two different languages. I myself generally work in
> HTML XEmacs mode - not the most ideal way...  If you manage to find
> something better - tell us.

I understand that vim 5.3 supports PHP3 and can run two syntax-highliting
modes at once (i.e. PHP3 and HTML), but I dislike using vim for major
editing.  Since there isn't a PHP3 mode foe xemacs, is there any way to make
Xemacs use both at once (c++ and HTML) in different parts of the document
based on location of "<?", "?>?

-- 
Itamar - itamars@ibm.net
-----------------------------o---------------------o
Whole Pop Magazine Online    |  DADA IS NOT DEAD   |
 http://www.wholepop.com/    | WATCH YOUR OVERCOAT |