From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bijan Soleymani Newsgroups: gmane.emacs.help Subject: Re: C formatting Date: 27 Dec 2002 19:39:05 -0500 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87ptrnf046.fsf@hurd.crasseux.com> References: <3E0CED7C.7020002@free.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041036029 14525 80.91.224.249 (28 Dec 2002 00:40:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 28 Dec 2002 00:40:29 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18S51d-0003lw-00 for ; Sat, 28 Dec 2002 01:40:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18S51j-0000oY-02 for gnu-help-gnu-emacs@m.gmane.org; Fri, 27 Dec 2002 19:40:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!wesley.videotron.net!wagner.videotron.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: 24.203.44.117 Original-X-Complaints-To: abuse@videotron.ca Original-X-Trace: wagner.videotron.net 1041035744 24.203.44.117 (Fri, 27 Dec 2002 19:35:44 EST) Original-NNTP-Posting-Date: Fri, 27 Dec 2002 19:35:44 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:108523 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5052 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5052 Oodini writes: > hello, > > I am fighting with EMacs in order to get my programmation style: No need to fight, this is well documented in the CC-mode manual in the section about customizing indentation. There is also useful information in the emacs manual under the section about indentation, and the section about editing programs. I think there was a change at some point and if you want to use your own style you have to set the CC-mode style to user. > By the way, there is no way, in the buffer, to put two following tabs ?? Tab runs the indentation function and indents the current line based on the current style. If you want to add an extra "tab" you should do M-i (this is documented in the indentation section of the emacs manual). Hope that helps, Bijan