From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 15 07:32:29 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 424EB16A4CE for ; Thu, 15 Jan 2004 07:32:29 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CE3643D1D for ; Thu, 15 Jan 2004 07:30:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0FFUHFR077579 for ; Thu, 15 Jan 2004 07:30:17 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0FFUHld077578; Thu, 15 Jan 2004 07:30:17 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 15 Jan 2004 07:30:17 -0800 (PST) Resent-Message-Id: <200401151530.i0FFUHld077578@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marc van Woerkom Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35DD216A4CF for ; Thu, 15 Jan 2004 07:29:16 -0800 (PST) Received: from oak.FernUni-Hagen.de (oak.fernuni-hagen.de [132.176.114.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85A4643D8A for ; Thu, 15 Jan 2004 07:27:51 -0800 (PST) (envelope-from woerkom@es-i2.fernuni-hagen.de) Received: from amavis by oak.FernUni-Hagen.de with scanned-ok (Exim 4.04) id 1Ah9PS-0003mg-00; Thu, 15 Jan 2004 16:27:50 +0100 Received: from es-i2.fernuni-hagen.de ([132.176.7.81]) by oak.FernUni-Hagen.de with esmtp (Exim 4.04) id 1Ah9P8-0003ki-00; Thu, 15 Jan 2004 16:27:30 +0100 Received: by es-i2.fernuni-hagen.de (Postfix, from userid 1015) id BF11555FC; Thu, 15 Jan 2004 16:27:28 +0100 (CET) Message-Id: <20040115152728.BF11555FC@es-i2.fernuni-hagen.de> Date: Thu, 15 Jan 2004 16:27:28 +0100 (CET) From: Marc van Woerkom To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: marc.vanwoerkom@fernuni-hagen.de Subject: ports/61384: NEW PORT: htmlize.el (turn emacs buffers into html files, grat for listings on the web) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Marc van Woerkom List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 15:32:29 -0000 >Number: 61384 >Category: ports >Synopsis: NEW PORT: htmlize.el (turn emacs buffers into html files, grat for listings on the web) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jan 15 07:30:16 PST 2004 >Closed-Date: >Last-Modified: >Originator: Marc van Woerkom >Release: FreeBSD 4.9-STABLE i386 >Organization: FernUniversitaet Hagen >Environment: System: FreeBSD es-i2.fernuni-hagen.de 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Jan 5 16:08:49 CET 2004 root@es-i2.fernuni-hagen.de:/easyraidhome/usr/obj/easyraidhome/usr/src/sys/Compaq-ES i386 >Description: This port allows to create nice syntax coloured listings for display on web sites >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # htmlize.el # htmlize.el/Makefile # htmlize.el/pkg-descr # htmlize.el/pkg-plist # htmlize.el/pkg-message # htmlize.el/distinfo # echo c - htmlize.el mkdir -p htmlize.el > /dev/null 2>&1 echo x - htmlize.el/Makefile sed 's/^X//' >htmlize.el/Makefile << 'END-of-htmlize.el/Makefile' X# New ports collection makefile for: htmlize.el X# Date created: 15 January 2004 X# Whom: Marc van Woerkom X# X# $FreeBSD:$ X# X XPORTNAME= htmlize.el XPORTVERSION= 1.16 XCATEGORIES= textproc elisp XMASTER_SITES= http://fly.srk.fer.hr/~hniksic/emacs/ XDISTNAME= ${PORTNAME} XEXTRACT_SUFX= XEXTRACT_ONLY= X XMAINTAINER= marc.vanwoerkom@fernuni-hagen.de XCOMMENT= Emacs major mode to create HTML files from Emacs buffers (in colour!) X XRUN_DEPENDS= emacs:${PORTSDIR}/editors/emacs21 X X#NO_WRKSUBDIR= yes XNO_BUILD= yes X XLISPDIR= ${PREFIX}/share/emacs/site-lisp X Xdo-install: X ${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${LISPDIR} X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-htmlize.el/Makefile echo x - htmlize.el/pkg-descr sed 's/^X//' >htmlize.el/pkg-descr << 'END-of-htmlize.el/pkg-descr' XEmacs major mode to create HTML files from Emacs buffers (in colour!) X XThis major mode will output the contents of an Emacs buffer as a XHTML file, preserving the colour attributes of that buffer. X XThis is a pretty elegant solution to produce nice listings of your Xcode in Erlang, C++, SML, Ruby (or whatever esoteric language you can Xdig out a major mode for) to display on web sites. X XAs an example watch the ELISP code of this major mode X X http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el.html X XBecause the colouring depends only on your major mode and perhaps Xsome individual settings (e.g. I prefer a dark background) you can Xturn any Emacs buffer into HTML. X X XWWW: http://fly.srk.fer.hr/~hniksic/emacs/ X X- Marc van Woerkom Xmarc.vanwoerkom@fernuni-hagen.de END-of-htmlize.el/pkg-descr echo x - htmlize.el/pkg-plist sed 's/^X//' >htmlize.el/pkg-plist << 'END-of-htmlize.el/pkg-plist' Xshare/emacs/site-lisp/htmlize.el END-of-htmlize.el/pkg-plist echo x - htmlize.el/pkg-message sed 's/^X//' >htmlize.el/pkg-message << 'END-of-htmlize.el/pkg-message' X**************************************************************************** XTo use htmlize mode, add to your ~/.emacs the following lines: X X;; Enable syntax colouring X(global-font-lock-mode) X X;; General emacs to HTML converter X(require 'htmlize) X X**************************************************************************** END-of-htmlize.el/pkg-message echo x - htmlize.el/distinfo sed 's/^X//' >htmlize.el/distinfo << 'END-of-htmlize.el/distinfo' XMD5 (htmlize.el) = 58ef49144157a446a131132c35dbf6fd END-of-htmlize.el/distinfo exit Regards, Marc >Release-Note: >Audit-Trail: >Unformatted: