From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?J=E9r=F4me_Haguet?= Newsgroups: gmane.emacs.help Subject: Customizing lisp-mode Date: Wed, 05 Oct 2005 12:43:17 +0200 Organization: 9Telecom Message-ID: 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 1128509459 8331 80.91.229.2 (5 Oct 2005 10:50:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2005 10:50:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 05 12:50:58 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EN6rP-0007Lz-N5 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Oct 2005 12:50:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EN6rO-0005TS-W8 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Oct 2005 06:50:55 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!fr.ip.ndsoftware.net!proxad.net!usenet-fr.net!gaoland.net!grec.isp.9tel.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 228.81.96-84.rev.gaoland.net Original-X-Trace: aphrodite.grec.isp.9tel.net 1128509273 20131 84.96.81.228 (5 Oct 2005 10:47:53 GMT) Original-X-Complaints-To: abuse@9online.fr Original-NNTP-Posting-Date: Wed, 5 Oct 2005 10:47:53 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: fr, en Original-Xref: shelby.stanford.edu gnu.emacs.help:134358 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:29932 Archived-At: 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