From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brad Collins Newsgroups: gmane.emacs.help Subject: Re: Customizing lisp-mode Date: Tue, 18 Oct 2005 23:58:12 +0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129655283 26961 80.91.229.2 (18 Oct 2005 17:08:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2005 17:08:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 18 19:08:00 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ERuvi-0005zs-2l for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Oct 2005 19:07:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERuvh-0001we-Do for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Oct 2005 13:07:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ERuvD-0001pL-JO for help-gnu-emacs@gnu.org; Tue, 18 Oct 2005 13:06:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ERuv9-0001oA-CT for Help-gnu-emacs@gnu.org; Tue, 18 Oct 2005 13:06:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERuv9-0001o6-6r for Help-gnu-emacs@gnu.org; Tue, 18 Oct 2005 13:06:39 -0400 Original-Received: from [152.2.210.112] (helo=metalab.unc.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ERuv7-0002nF-OR for Help-gnu-emacs@gnu.org; Tue, 18 Oct 2005 13:06:39 -0400 Original-Received: from GOKU (unknown [202.183.173.97]) by metalab.unc.edu (Postfix) with ESMTP id 6719948423 for ; Tue, 18 Oct 2005 13:06:32 -0400 (EDT) Original-To: Help-gnu-emacs@gnu.org In-Reply-To: =?utf-8?b?KA==?= =?utf-8?b?SsOpcsO0bWU=?= Haguet's message of "Wed, 05 Oct 2005 12:43:17 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (windows-nt) 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:30333 Archived-At: I need to get around to doing exactly the same thing. The best approach is to create a derived-mode based on lisp-mode. There are a couple of examples of how to do this on http://www.emacswiki.org Search the site for derived-mode. In this way you can use everything in lisp-mode and just add the extra font locking that you want. Creating a derived mode was one of the first things I tried to do when learning elisp so it is pretty easy to do when you see the examples... If this doesn't work, drop me an email off list and It'll force me to write the damn thing and give you a template for your mode. Cheers, b/ -- Brad Collins , Bangkok, Thailand