From: exits funnel <exitsfunnel@yahoo.com>
Subject: Indenting in C++
Date: Sat, 25 Oct 2003 13:45:18 -0700 (PDT) [thread overview]
Message-ID: <20031025204518.31002.qmail@web40504.mail.yahoo.com> (raw)
Hello,
I've just started using emacs for C++ and I'm trying
to customize it to indent as follows:
class foo
{
public:
void print1( );
private:
void print2( );
void print3( );
};
void foo::print1( )
{
cout << "In print1" << endl;
}
void foo::print2( )
{
cout << "In print2" << endl;
}
void foo::print3( )
{
cout << "In print3" << endl;
}
int main( )
{
foo f;
f.print1( );
}
I've spent most of the morning searching the web to no
avail. It's not that I can't find any information;
rather that I've found too much. At this point I'm
quite confused for example about the difference
between a 'mode' and a 'style.' If anyone could point
me towards a source of information geared specifically
towards modifying c++ formatting, I"d be very
grateful.
-exits
__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
next reply other threads:[~2003-10-25 20:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-25 20:45 exits funnel [this message]
[not found] <mailman.2448.1067114756.21628.help-gnu-emacs@gnu.org>
2003-10-26 9:33 ` Indenting in C++ Alan Mackenzie
2003-10-26 19:19 ` exits funnel
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=20031025204518.31002.qmail@web40504.mail.yahoo.com \
--to=exitsfunnel@yahoo.com \
/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).