unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Indenting in C++
@ 2003-10-25 20:45 exits funnel
  0 siblings, 0 replies; 3+ messages in thread
From: exits funnel @ 2003-10-25 20:45 UTC (permalink / 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/

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <mailman.2448.1067114756.21628.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2003-10-26 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-25 20:45 Indenting in C++ exits funnel
     [not found] <mailman.2448.1067114756.21628.help-gnu-emacs@gnu.org>
2003-10-26  9:33 ` Alan Mackenzie
2003-10-26 19:19   ` exits funnel

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).