all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Water Lin <WaterLin@ymail.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: What kind of C++ coding style?
Date: Tue, 27 Oct 2009 10:24:05 +0800	[thread overview]
Message-ID: <838wextvzu.fsf@ymail.invalid> (raw)
In-Reply-To: mailman.9491.1256554593.2239.help-gnu-emacs@gnu.org

Jeff Clough <jeff@chaosphere.com> writes:

> From: Water Lin <WaterLin@ymail.invalid>
> Date: Mon, 26 Oct 2009 11:02:59 +0800
>
>> I am using Emacs to edit C++ code, but right now the default C++ coding
>> style of my Emacs is very strange which has just two blank space for
>> each line.
>
> If this is unacceptable, you can set the variable c-basic-offset to
> the number of columns you want.
>
> ;; Use mod-4 indent in C modes
> (setq c-basic-offset 4)
>
OK, I will try it.

>> So, I want to know which kind of C++ coding style is good for Emacs? Any
>> elisp file?
>
> I'm not sure what you are asking for here.  If you are talking about
> how the code looks on your screen, tell us what isn't doing what you
> want it to and we can point you in the right direction.
>

Thanks. Looks that we need to maintain the code style ourselves.

Water Lin

> Jeff
>
>
>
> ----------
> Author of the Genesys System
> A "free" universal role-playing game.
> http://www.chaosphere.com/genesys/ 
>
>

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: WaterLin@ymail.com


      parent reply	other threads:[~2009-10-27  2:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-26  3:02 What kind of C++ coding style? Water Lin
2009-10-26 10:56 ` Jeff Clough
     [not found] ` <mailman.9491.1256554593.2239.help-gnu-emacs@gnu.org>
2009-10-27  2:24   ` Water Lin [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838wextvzu.fsf@ymail.invalid \
    --to=waterlin@ymail.invalid \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.