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: Kai Großjohann
Subject: Re: C mode strange coding style
Date: Thu, 20 Feb 2003 20:56:09 +0100
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50

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.


reply via email to

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