all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Pre-processor commands in c-mode
@ 2003-03-21 20:01 Kevin Dziulko
  0 siblings, 0 replies; 6+ messages in thread
From: Kevin Dziulko @ 2003-03-21 20:01 UTC (permalink / raw)


Hello

Does any one know of a good method / setting / package for better
handling of pre-processor commands in c-mode, specificly spacing
and auto-indentation?

For example, if I enter the folloeing code, the #endif moves to
the beginning of the line when I press enter after it.

int main ()
{
    if (x)
    {
        #ifdef DEBUG
        printf("null");
#endif
    }
}

Thanks for any help.
Kevin

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-03-23 15:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.3490.1048277110.21513.help-gnu-emacs@gnu.org>
2003-03-21 22:33 ` Pre-processor commands in c-mode Pascal Bourguignon
2003-03-22 16:14 ` Benjamin Riefenstahl
2003-03-22 17:08   ` Alan Shutko
2003-03-22 20:56     ` Benjamin Riefenstahl
2003-03-23 15:08       ` Alan Shutko
2003-03-21 20:01 Kevin Dziulko

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.