From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kgold@watson.ibm.com (kgold) Newsgroups: gmane.emacs.help Subject: Re: C mode strange coding style Date: 11 Mar 2003 20:49:35 GMT Organization: IBM T.J. Watson Research Center Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <84lm0a7mli.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1047417502 17895 80.91.224.249 (11 Mar 2003 21:18:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2003 21:18:22 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 11 22:18:17 2003 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 18sr8b-0004e7-00 for ; Tue, 11 Mar 2003 22:18:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18sr76-0003jX-07 for gnu-help-gnu-emacs@m.gmane.org; Tue, 11 Mar 2003 16:16:44 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!hammer.uoregon.edu!canoe.uoregon.edu!arclight.uoregon.edu!newsfeed.cs.utexas.edu!geraldo.cc.utexas.edu!an02.austin.ibm.com!ausnews.austin.ibm.com!newsfeed.btv.ibm.com!news.btv.ibm.com!kgold Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: alpha.watson.ibm.com Original-X-Trace: news.btv.ibm.com 1047415775 15652 9.2.16.245 (11 Mar 2003 20:49:35 GMT) Original-X-Complaints-To: news@btv.ibm.com Original-NNTP-Posting-Date: 11 Mar 2003 20:49:35 GMT X-Newsreader: xrn 9.01 Originator: kgold@watson.ibm.com Original-Xref: shelby.stanford.edu gnu.emacs.help:110985 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7485 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7485 It didn't help yet. I used customize to add a regexp equal to a single space, saved for the current session, and clicked index->rescan. The function still does not appear. Not being a regexp expert, was that correct? kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) writes: > kgold@watson.ibm.com (kgold) writes: > > > A co-worker uses a coding style for C functions like this: > > > > long function_name > > ( > > int var1, > > int var2 > > ) > > { ... > > > > Neither font-lock nor imenu seem to identify functions when the > > parameters are coded on a separate line after the (. > > For imenu, the problem might be that the "{" is not at beginning of > line. See defun-prompt-regexp -- does that help? > -- > A preposition is not a good thing to end a sentence with. -- -- Ken Goldman kgold@watson.ibm.com 914-784-7646