help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C mode strange coding style


From: kgold
Subject: Re: C mode strange coding style
Date: 11 Mar 2003 20:49:35 GMT

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]