all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Brad Collins <brad@chenla.org>
Subject: Re: Customizing lisp-mode
Date: Tue, 18 Oct 2005 23:58:12 +0700	[thread overview]
Message-ID: <wkwtka7oez.fsf@chenla.org> (raw)
In-Reply-To: <di0b0p$jl3$1@aphrodite.grec.isp.9tel.net> (Jérôme Haguet's message of "Wed, 05 Oct 2005 12:43:17 +0200")


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 <brad@chenla.org>, Bangkok, Thailand

      reply	other threads:[~2005-10-18 16:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-05 10:43 Customizing lisp-mode Jérôme Haguet
2005-10-18 16:58 ` Brad Collins [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wkwtka7oez.fsf@chenla.org \
    --to=brad@chenla.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.