From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Umar Newsgroups: gmane.emacs.help Subject: tidy up code Date: Fri, 21 Dec 2007 01:04:13 -0800 (PST) Organization: http://groups.google.com Message-ID: <8fe575ee-5f12-4e70-9818-34d7b3769336@e25g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1198250043 19690 80.91.229.12 (21 Dec 2007 15:14:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Dec 2007 15:14:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 21 16:14:15 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J5jZm-000815-W7 for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Dec 2007 16:14:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J5jZS-0005tT-Pr for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Dec 2007 10:13:54 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.stanford.edu!postnews.google.com!e25g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 124.158.134.59 Original-X-Trace: posting.google.com 1198227853 30315 127.0.0.1 (21 Dec 2007 09:04:13 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 21 Dec 2007 09:04:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e25g2000prg.googlegroups.com; posting-host=124.158.134.59; posting-account=F9kNsAoAAABBsehHXPwI3eNwpnWKdul9 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1), gzip(gfe), gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:154845 X-Mailman-Approved-At: Fri, 21 Dec 2007 10:09:12 -0500 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:50275 Archived-At: Hi, I am new to emacs. I want to tidy up my code so that it is more readable. For example: int main(void) { int a = 1; if (a == 1) cout << "true" << endl; else cout << "false" << endl; return 0; } to become int main(void) { int a = 1; if (a == 1) cout << "true" << endl; else cout << "false" << endl; return 0; }