From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: doyoucy@gmail.com Newsgroups: gmane.emacs.help Subject: How to enable font lock for functions called by other functions Date: Mon, 11 Aug 2008 03:13:50 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218472420 19065 80.91.229.12 (11 Aug 2008 16:33:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Aug 2008 16:33: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 Mon Aug 11 18:34:32 2008 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 1KSaLa-0006XZ-2N for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Aug 2008 18:34:18 +0200 Original-Received: from localhost ([127.0.0.1]:56382 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSaKe-00026I-2s for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Aug 2008 12:33:20 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!h17g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 140.242.6.2 Original-X-Trace: posting.google.com 1218449630 10499 127.0.0.1 (11 Aug 2008 10:13:50 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 11 Aug 2008 10:13:50 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h17g2000prg.googlegroups.com; posting-host=140.242.6.2; posting-account=mtZjogoAAAD7smTUOCYmY_g3tvnivRL5 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:161099 X-Mailman-Approved-At: Mon, 11 Aug 2008 12:30:05 -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:56463 Archived-At: Hi all, I noticed that the "Font Lock Function Name Face" just enables the font lock for function name when I decalare new function. But other functions called by this outer function don't have any color. For example: void foo1() { foo2(); } The function foo1 has font-lock enabled and function foo2 is just plain text. So, is there any options to enable the font lock for inside fuunctions (foo2)? I'm using GNU Emacs 22.2.1, thanks!