From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: senny Newsgroups: gmane.emacs.help Subject: Re: nXhtml / sgml highlighting Date: Mon, 29 Dec 2008 04:05:19 -0800 (PST) Organization: http://groups.google.com Message-ID: <72c1b939-d5c6-4453-8258-b3d0f8c90567@z28g2000prd.googlegroups.com> References: <6d4cf7fa-13b1-4298-b268-4a38f4eca5c4@c36g2000prc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1230554453 31759 80.91.229.12 (29 Dec 2008 12:40:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2008 12:40:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 29 13:42:01 2008 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 1LHHRW-0007Kf-Sw for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Dec 2008 13:41:59 +0100 Original-Received: from localhost ([127.0.0.1]:57801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHHQJ-0001k5-FH for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Dec 2008 07:40:43 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2!postnews.google.com!z28g2000prd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 89.236.141.217 Original-X-Trace: posting.google.com 1230552319 21356 127.0.0.1 (29 Dec 2008 12:05:19 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 29 Dec 2008 12:05:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z28g2000prd.googlegroups.com; posting-host=89.236.141.217; posting-account=HpnstAoAAADdixpnvjy3qaoKJJO_Jdvb User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:165628 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:60960 Archived-At: On 29 Dez., 02:29, "Lennart Borgman" wrote: > On Sun, Dec 28, 2008 at 7:13 PM, senny wrote: > > I am trying to set up a webdevelopment environemtn with the nxhtml- > > mode. The syntax highlighting works fine but when i activate nxhtml- > > mumamo-mode to edit css and js in an html page, the syntax > > highlighting gets bad. I figured out, that mumamo is using sgml- > > highlighting and not the nxhtml one. > > The problem I am facing now is the following: > > sgml-mode uses the font-lock-function-name-face to highlight tag-names > > but i want it to be the font-lock-keyword-face. How can i do that? > > Unfortunately you can not do it directly. You have to change > sgml-font-lock-keywords-1 AFAICS. Hmm i thought so. Im realy new to Lisp / Emacs and im not realy sure how i would do that in an initializing file. Could you tell me the simplest way to switch the face in the variable. regards senny