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: Re: nXhtml-mode font-lock customizations ?? Date: Thu, 10 May 2007 13:34:15 -0400 Message-ID: <1178818455.4390.193.camel@CASE> References: <1178815090.4390.169.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 1178818511 32110 80.91.229.12 (10 May 2007 17:35:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 May 2007 17:35:11 +0000 (UTC) To: EMACS List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 10 19:35:10 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 1HmCXl-0004MG-BS for geh-help-gnu-emacs@m.gmane.org; Thu, 10 May 2007 19:35:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HmCf5-0006LU-JZ for geh-help-gnu-emacs@m.gmane.org; Thu, 10 May 2007 13:42:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HmCer-0006LF-Rj for help-gnu-emacs@gnu.org; Thu, 10 May 2007 13:42:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HmCer-0006L3-D4 for help-gnu-emacs@gnu.org; Thu, 10 May 2007 13:42:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HmCer-0006L0-78 for help-gnu-emacs@gnu.org; Thu, 10 May 2007 13:42:29 -0400 Original-Received: from smtp107.rog.mail.re2.yahoo.com ([68.142.225.205]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HmCXW-0000H2-1V for help-gnu-emacs@gnu.org; Thu, 10 May 2007 13:34:54 -0400 Original-Received: (qmail 30451 invoked from network); 10 May 2007 17:34:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:Subject:From:To:In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=tCYIXwHsDrEAAhkgGrhtVWtdv2aj/kIFl3sIjZVPussh3Bvz2aPS773ORR6MC3mQPthTgUKbK+1azyQ+HzE0jDk7zD6ZDHbLoqT5tBFG2ixKS+Iq44UGmw39lSq9d5aBJQHPLPr9cyq92pSx2giHGq/pnygcnhmv6LaXX2JFql8= ; Original-Received: from unknown (HELO ?192.168.1.4?) (billlinux@rogers.com@74.104.51.86 with plain) by smtp107.rog.mail.re2.yahoo.com with SMTP; 10 May 2007 17:34:50 -0000 X-YMail-OSG: 9SLcZg8VM1mFf9hqgQ66aZMguA0EIjaqgt2_aL4auBwSQGM.F4nUyzXBBhCDoA0i3g-- In-Reply-To: <1178815090.4390.169.camel@CASE> 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:43861 Archived-At: Hi; Stupidity Check. On Thu, 2007-05-10 at 12:38 -0400, William Case wrote: > Hi; > > I have been happily using nXhtml for over a week now. > > I would like to take a look at the font-lock-faces for different modes > (HTML, PHP) and perhaps make minor adjustments. Do I customize the > font-lock-faces for each mode separately, change the syntax table or is > there a combined nXhtml font-lock-faces customization? > > For example on my current file a long red line/underline (mainly in some > empty lines, but in some text) shows and a can't figure out what it > represents, if any thing. > A red underline shows up under some tags. If > it is showing an error, those lines are not errors (I believe -- the > page works?). Error: Some tags are capitalized and this shows up underlined in red as an error, as it should. Lower casing those tags removes the red underline. Still don't understand why deserves a full line error. For example, " " is marked as an error. If there is, in fact, a php error here I'll double check the manual, but I don't see it and it works. Works right in php-mode. Getting warning in other buffer "Error (mumamo-fontify-region): Should not happen" Just wondering if nXhtml is correctly identifying an error. And, I would like to brighten (change the blue shade ) of the and if possible make some small changes so that php tags etc. more closely resemble the font-lock-faces I have set up for php-mode. -- Regards Bill