From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Case Newsgroups: gmane.emacs.help Subject: Changing font-lock for combined HTML and PHP code?? Date: Mon, 16 Apr 2007 14:22:07 -0400 Message-ID: <1176747727.3057.13.camel@CASE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1176747915 29771 80.91.229.12 (16 Apr 2007 18:25:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Apr 2007 18:25:15 +0000 (UTC) To: EMACS List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 16 20:25:09 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HdVsz-00036D-GI for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Apr 2007 20:25:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HdVxc-0002by-H3 for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Apr 2007 14:29:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HdVxP-0002bt-Il for help-gnu-emacs@gnu.org; Mon, 16 Apr 2007 14:29:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HdVxN-0002bC-Vb for help-gnu-emacs@gnu.org; Mon, 16 Apr 2007 14:29:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HdVxN-0002b5-Qb for help-gnu-emacs@gnu.org; Mon, 16 Apr 2007 14:29:41 -0400 Original-Received: from smtp108.rog.mail.re2.yahoo.com ([68.142.225.206]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HdVsj-0003y0-RT for help-gnu-emacs@gnu.org; Mon, 16 Apr 2007 14:24:54 -0400 Original-Received: (qmail 19495 invoked from network); 16 Apr 2007 18:24:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:Subject:From:To:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=04gBn8hflriQJLhM2we+ZrpWVq1pZFFclkLKXmy5M8Xs8YcIzVlsT8ZX2MpwkOeatBUlUsCPhexL9HV+F6VCbxcejVgA+UTGV6ED/YzswCjJDUOCQ/ug15Ej+622gZfCrply2ufnHvsHZpi+znna7IRz5buQm+O2fIUynWp+TlQ= ; Original-Received: from unknown (HELO ?192.168.1.3?) (billlinux@rogers.com@74.104.51.86 with plain) by smtp108.rog.mail.re2.yahoo.com with SMTP; 16 Apr 2007 18:24:49 -0000 X-YMail-OSG: EYfw1fQVM1mnbjq6tgCrsrXxehwpaSqZFAVY1I_YdDHWAnl9owZDd5APBff_nyLToA-- X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) X-detected-kernel: Genre and OS details not recognized. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42730 Archived-At: Hi; I am working on web site made up of files that combine HTML and PHP. My main interest is in the PHP coding. Is there a relatively easy way to set the font-lock colors for the tags (constants) that distinguishes between a HTML tag and a PHP tag when I am in php-mode. In case I am misusing terminology, by tag I mean expressions like

...

in HTML; in PHP. -- Regards Bill