* PHP, HTML...?
@ 2005-01-08 6:55 jasonb
2005-01-08 9:10 ` .
0 siblings, 1 reply; 2+ messages in thread
From: jasonb @ 2005-01-08 6:55 UTC (permalink / raw)
Hi
I'm just beginning to start out with emacs. I was hoping to make it my
preferred editor (going from what I've read about it).
But I'm frustrated by how difficult it is to get HTML and PHP syntax
highlighting to work. HTML is straight forward, but embedding PHP and
(while retaining tab functionality) is something nobody is able to do
(from reading up on google).
This was going to be a request for help. But somehow I don't think
anyone has an easy answer (and I dont think there's anything wrong with
expecting an easy answer for getting basic text editing to work)
Jason
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PHP, HTML...?
2005-01-08 6:55 PHP, HTML...? jasonb
@ 2005-01-08 9:10 ` .
0 siblings, 0 replies; 2+ messages in thread
From: . @ 2005-01-08 9:10 UTC (permalink / raw)
two-mode-mode is what you want:
(require 'php-mode)
(require 'two-mode-mode)
(setq auto-mode-alist
(append '(("\\.php$" . two-mode-mode)
("\\.php3$" . two-mode-mode)
("\\.php4$" . two-mode-mode))
auto-mode-alist))
jasonb wrote:
> Hi
>
> I'm just beginning to start out with emacs. I was hoping to make it my
> preferred editor (going from what I've read about it).
>
> But I'm frustrated by how difficult it is to get HTML and PHP syntax
> highlighting to work. HTML is straight forward, but embedding PHP and
> (while retaining tab functionality) is something nobody is able to do
> (from reading up on google).
>
> This was going to be a request for help. But somehow I don't think
> anyone has an easy answer (and I dont think there's anything wrong with
> expecting an easy answer for getting basic text editing to work)
>
> Jason
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-08 9:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-08 6:55 PHP, HTML...? jasonb
2005-01-08 9:10 ` .
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).