From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rjp Newsgroups: gmane.emacs.help Subject: Re: Fontifying function calls in emacs-lisp-mode Date: Tue, 3 Jul 2007 06:12:10 -0700 (PDT) Message-ID: <11411888.post@talk.nabble.com> References: <1177429649.782913.249070@t38g2000prd.googlegroups.com> <1177579293.771956.9570@n35g2000prd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1183472080 19820 80.91.229.12 (3 Jul 2007 14:14:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jul 2007 14:14:40 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 03 16:14:37 2007 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I5j9H-0003Dl-K3 for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Jul 2007 16:14:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5j9H-0007bU-2g for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Jul 2007 10:14:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5iAv-0005EJ-Dw for help-gnu-emacs@gnu.org; Tue, 03 Jul 2007 09:12:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5iAu-0005Dt-LG for Help-gnu-emacs@gnu.org; Tue, 03 Jul 2007 09:12:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5iAu-0005Dl-9g for Help-gnu-emacs@gnu.org; Tue, 03 Jul 2007 09:12:12 -0400 Original-Received: from kuber.nabble.com ([216.139.236.158]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I5iAt-0001ks-DA for Help-gnu-emacs@gnu.org; Tue, 03 Jul 2007 09:12:12 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1I5iAs-00040c-3n for Help-gnu-emacs@gnu.org; Tue, 03 Jul 2007 06:12:10 -0700 In-Reply-To: <1177579293.771956.9570@n35g2000prd.googlegroups.com> X-Nabble-From: richard.pauls@itt.com X-detected-kernel: Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 03 Jul 2007 10:14:17 -0400 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:45444 Archived-At: Hi Guys, I found this thread through a google search and it sounds very similar to what I need to do. I am trying to make all function calls blue in xemacs. I have already changed the face for function names, but this only affects the function definition line. I want to colorize the function call line as well. I am no= t very familiar with customizing emacs but it sounds like this LISP code discussed here is trying to do the same thing. Is this correct? Can you giv= e me something that I can just paste into my init.el file to do the trick? Thanks very much, Rich Nordl=C3=B6w wrote: >=20 > On 25 Apr, 08:36, martin rudalics wrote: >> (defun pnw-emacs-lisp-mode-extra-font-locking () >> (font-lock-add-keywords >> nil >> (list >> ... >> t)) ; Try to assign the third argument HOW here to anything but 'set >=20 > Brilliant! >=20 > I had forgot about that argument... >=20 > It just realized that my regexp does not correctly fontify quoted > constructs. I guess you need a full emacs-lisp parser to do that. But > it works good enough for my needs. >=20 >=20 > Thanks, >=20 > Nordl=C3=B6w >=20 > _______________________________________________ > help-gnu-emacs mailing list > help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs >=20 >=20 --=20 View this message in context: http://www.nabble.com/Fontifying-function-cal= ls-in-emacs-lisp-mode-tf3639819.html#a11411888 Sent from the Emacs - Help mailing list archive at Nabble.com.