From: Umar <umarsaid@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: tidy up code
Date: Fri, 21 Dec 2007 01:04:13 -0800 (PST) [thread overview]
Message-ID: <8fe575ee-5f12-4e70-9818-34d7b3769336@e25g2000prg.googlegroups.com> (raw)
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;
}
next reply other threads:[~2007-12-21 9:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-21 9:04 Umar [this message]
2007-12-21 9:29 ` tidy up code Jason Rumney
2007-12-21 10:23 ` Umar
2007-12-21 10:41 ` Torben Knudsen
2007-12-21 11:00 ` Umar Said
2007-12-21 11:18 ` Martin Bealby
2007-12-21 11:23 ` Umar Said
2007-12-21 12:07 ` nullius.filius
2007-12-21 12:30 ` Umar Said
2007-12-23 6:01 ` Gabriel Parrondo
[not found] ` <mailman.5343.1198389653.18990.help-gnu-emacs@gnu.org>
2007-12-26 3:02 ` Umar Said
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8fe575ee-5f12-4e70-9818-34d7b3769336@e25g2000prg.googlegroups.com \
--to=umarsaid@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).