From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Klaus Berndl Newsgroups: gmane.emacs.help Subject: Re: pretty highlighting and indenting own elisp macros Date: 17 Oct 2002 09:29:36 +0200 Organization: sd&m AG, Muenchen, Germany Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <3DAD9B52.9090604@ihs.com> <5lit02b6ia.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035001200 2257 80.91.224.249 (19 Oct 2002 04:20:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 19 Oct 2002 04:20:00 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 182l5j-0000aH-00 for ; Sat, 19 Oct 2002 06:19:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 182Zg5-00068J-00; Fri, 18 Oct 2002 12:08:45 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news-peer-europe.sprintlink.net!news.stupi.se!newsfeed1.ulv.nextra.no!nextra.com!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!news.sdm.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: sachrang.muc.sdm.de Original-X-Trace: solti3.muc.sdm.de 1034839776 7662 193.102.181.147 (17 Oct 2002 07:29:36 GMT) Original-X-Complaints-To: usenet@news.sdm.de Original-NNTP-Posting-Date: 17 Oct 2002 07:29:36 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:106140 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2732 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2732 On 16 Oct 2002, Stefan Monnier wrote: > >> ;;; Local Variables: > >> ;;; eval: (put 'with-XYZ 'lisp-indent-hook 1) > >> ;;; End: > > Ahh, nice...but where can i find such tricks in the documentation? I have > > search all the elisp-info files and haven't found *lisp-indent-hook*. > > Maybe a typo? > > work/emacs-0% grep lisp-indent-function man/*.texi > man/programs.texi:@cindex @code{lisp-indent-function} property > man/programs.texi:functions, according to the @code{lisp-indent-function} > property of the work/emacs-0% > > I think it also appears in the elisp manual: Yes, if i search for the right expression ;-) Thanks to all, lisp-indent-function does the trick. Klaus -- Klaus Berndl mailto: klaus.berndl@sdm.de sd&m AG http://www.sdm.de software design & management Thomas-Dehler-Str. 27, 81737 München, Germany Tel +49 89 63812-392, Fax -220