From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Schutte Newsgroups: gmane.emacs.help Subject: Harnessing emacs syntax highlighting Date: Mon, 15 May 2006 19:50:30 -0400 Message-ID: <446913C6.9000103@csail.mit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1147737041 24897 80.91.229.2 (15 May 2006 23:50:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 May 2006 23:50:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 16 01:50:38 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ffmpc-0002lv-QS for geh-help-gnu-emacs@m.gmane.org; Tue, 16 May 2006 01:50:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ffmpc-0003Vx-AR for geh-help-gnu-emacs@m.gmane.org; Mon, 15 May 2006 19:50:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FfmpR-0003Vs-7R for help-gnu-emacs@gnu.org; Mon, 15 May 2006 19:50:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FfmpP-0003Vf-Q0 for help-gnu-emacs@gnu.org; Mon, 15 May 2006 19:50:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FfmpP-0003Vc-LE for help-gnu-emacs@gnu.org; Mon, 15 May 2006 19:50:19 -0400 Original-Received: from [128.30.2.16] (helo=rozz.csail.mit.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Ffmrv-0001rv-MZ for help-gnu-emacs@gnu.org; Mon, 15 May 2006 19:52:55 -0400 Original-Received: from 30-7-31.wireless.csail.mit.edu ([128.30.7.31]) by rozz.csail.mit.edu with esmtpa (Exim 4.50) id 1FfmpP-0001SD-0w for help-gnu-emacs@gnu.org; Mon, 15 May 2006 19:50:19 -0400 User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513) X-Accept-Language: en-us, en Original-To: help-gnu-emacs@gnu.org 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:35063 Archived-At: Hi, I've looked at several syntax highlighters to produce color coded (etc) HTML from code, but I don't like any as much as the various highlighting modes built into emacs. I'd like to produce some html that looks just like how I view code in emacs (that would work with any language mode installed). Is it possible for emacs to somehow output it's highlighting of a file? Does something like what I'm looking for exist? If not, would it be hard for a emacs-lisp newbie to try to hack this up? thanks, Ken