From: "." <a.b@c.de>
Subject: Re: PHP, HTML...?
Date: Sat, 08 Jan 2005 09:10:13 GMT [thread overview]
Message-ID: <VrNDd.13650$d5.115069@newsb.telia.net> (raw)
In-Reply-To: <ftLDd.109636$K7.38404@news-server.bigpond.net.au>
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
prev parent reply other threads:[~2005-01-08 9:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-08 6:55 PHP, HTML...? jasonb
2005-01-08 9:10 ` . [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='VrNDd.13650$d5.115069@newsb.telia.net' \
--to=a.b@c.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).