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

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

C Indent


From: olivier
Subject: C Indent
Date: Sun, 25 Jan 2004 17:16:36 +0100

Hi all,

I'm looking for a C indent mode which indents PreProc but keeping # at the
beginning of the line like indent program from GNU.

example (indent GNU with -ppi 3 to request that preprocessor conditional
statements can be indented by 3 spaces)
     #if X
     #   if Y
     #      define Z 1
     #   else
     #      define Z 0
     #   endif
     #endif

I didn't found how to configure C mode emacs to have the same result.

Does anyone know how to do this?

thx

Olivier




reply via email to

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