From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tim McNamara Newsgroups: gmane.emacs.help Subject: Re: Highlight comment in HTML Date: Tue, 06 Jan 2004 12:57:14 -0600 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <65ef16d2.0401060700.3a9f8a6a@posting.google.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073415741 26198 80.91.224.253 (6 Jan 2004 19:02:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2004 19:02:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 06 20:02:18 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AdwT4-0003NR-00 for ; Tue, 06 Jan 2004 20:02:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AdxPE-0002Bt-Vz for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jan 2004 15:02:24 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!gemini.bitstream.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (darwin) Cancel-Lock: sha1:jnjPcjy5ADGtoYYesfLk8c5+SH0= Original-Lines: 22 Original-NNTP-Posting-Host: 4a34a74c.news.bitstream.net Original-X-Trace: 1073415498 gemini.bitstream.net 3746 216.243.177.155 Original-X-Complaints-To: abuse@bitstream.net Original-Xref: shelby.stanford.edu gnu.emacs.help:119791 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15733 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15733 Tim McNamara writes: > GianUberto.Lauri@eng.it (Gian Uberto Lauri) writes: > >> What could be a good way to highlight HTML comments (they can span >> multiple lines) ? > Since comments are placed within tags, comments > ought to at least highlight in the same color as other tags. I > can't tell, I don't have any comments in any handy .html files to > check against and don't have time to create a file to play with on > my lunch break. I'll try later on this evening, if I can. Since > the opening and closing tags have a unique structure, perhaps that > could be exploited for highlighting. OK, I couldn't resist. Checking it out, I found that html-helper-mode *does* highlight comments between <-- and -->, even those spanning multiple lines. They highlight in a unique color, too. Perhaps I didn't understand the question?