|
From: | Paul Whitfield |
Subject: | Re: Hi, group. When I type some C code such as: if(1) { a = 0; } The space before 'a=0' is only two characters, how to make it 8 characters ? Thanks. 'Indent' question in C-mode |
Date: | Fri, 19 Jan 2007 13:18:10 +0800 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.0 |
volunteers@gmail.com wrote:
Hi, group. When I type some C code such as: if(1) { a = 0; } The space before 'a=0' is automatic two characters, how to make it 8 characters ? Thanks. Vol
This is set by c-basic-offset. Which can be customised or set in your .emacs.el. This sets the basic offset "unit" for all c-mode indenting. Regards Paul
[Prev in Thread] | Current Thread | [Next in Thread] |