all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* C Indent
@ 2004-01-25 16:16 olivier
  0 siblings, 0 replies; only message in thread
From: olivier @ 2004-01-25 16:16 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-25 16:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-25 16:16 C Indent olivier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.