unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Jérôme Haguet" <jeje66@despammed.com>
Subject: Customizing lisp-mode
Date: Wed, 05 Oct 2005 12:43:17 +0200	[thread overview]
Message-ID: <di0b0p$jl3$1@aphrodite.grec.isp.9tel.net> (raw)

Hello

I would like to customize lisp-mode because we use it to edit files for 
a Lisp-based dialect

Here are two examples of what I want to do :

1/
In (dce blabla ...)
a/ should be colorized like (defun bla_bla_bla ...)
b/ should appear in index menu

2/
In (my_lisp_prefix.my_lisp_symbol bla_bla_bla ..)
my_lisp_prefix should be colorized with font-lock-type-face.

What is the best way to do it ? Customize lisp-mode ? Create a new mode 
       ?
What variable should be modified ?
I try to play with lisp-imenu-generic-expression to achieve 1-b without 
any success.

Thank you for any tip

             reply	other threads:[~2005-10-05 10:43 UTC|newest]

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

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='di0b0p$jl3$1@aphrodite.grec.isp.9tel.net' \
    --to=jeje66@despammed.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).