From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lei, Li" Newsgroups: gmane.emacs.help Subject: how to set comments indentation Date: Fri, 22 Apr 2005 22:55:06 -0300 Organization: ISINet, Nova Scotia Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1114221317 32424 80.91.229.2 (23 Apr 2005 01:55:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 23 Apr 2005 01:55:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 23 03:55:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DP9rV-0000rS-M4 for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Apr 2005 03:55:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DP9wX-00012d-EV for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Apr 2005 22:00:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!News.Dal.Ca!locutus!llei Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: locutus.cs.dal.ca Original-X-Trace: News.Dal.Ca 1114221313 2963 129.173.66.56 (23 Apr 2005 01:55:13 GMT) Original-X-Complaints-To: postmaster@Dal.Ca Original-NNTP-Posting-Date: Sat, 23 Apr 2005 01:55:13 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:130407 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25978 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25978 Hi! Anybody knows how to set comments indentation as well as code lines? For example, change following block for(int i = 0; i < num; i++) { // comment here if (s[i] == const) { // find something flag = true; break; } } to for(int i = 0; i < num; i++) { // comment here if (s[i] == const) { // find something flag = true; break; } } Thanks and best regards Lei, Li