From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "olivier" Newsgroups: gmane.emacs.help Subject: C Indent Date: Sun, 25 Jan 2004 17:16:36 +0100 Organization: Guest of ProXad - France Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <4013ebda$0$22316$626a54ce@news.free.fr> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1075048315 18582 80.91.224.253 (25 Jan 2004 16:31:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2004 16:31:55 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 25 17:31:49 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AknAr-0006J1-00 for ; Sun, 25 Jan 2004 17:31:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Akn9p-0006rf-Bo for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jan 2004 11:30:45 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!freenix!ircam.fr!news.completel.fr!blob.linuxfr.org!212.27.32.7!proxad.net!feeder2-1.proxad.net!news3-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Original-Lines: 24 Original-NNTP-Posting-Date: 25 Jan 2004 17:16:27 MET Original-NNTP-Posting-Host: 82.66.103.33 Original-X-Trace: 1075047387 news3-2.free.fr 22316 82.66.103.33:3815 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:120397 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16342 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16342 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