all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jai Dayal <dayalsoap@gmail.com>
To: Kid Programmer <ned.sanger@gmail.com>
Cc: Help-gnu-emacs@gnu.org
Subject: Re: Increasing Tab Size
Date: Fri, 16 Sep 2011 09:44:11 -0400	[thread overview]
Message-ID: <CAMJ-YiTKHNiqmpqit4AA4wnVtQYBgg57Eu5mxYLdriFsJQroKQ@mail.gmail.com> (raw)
In-Reply-To: <32475717.post@talk.nabble.com>

[-- Attachment #1: Type: text/plain, Size: 732 bytes --]

You can set different default C styles (I use strousoup, for example instead
of BSD style)

in .emacs

(setq c-default-style "bsd"
      c-basic-offset 4)

and that will set it every time.

http://borkware.com/quickies/one?topic=emacs

Jai



On Thu, Sep 15, 2011 at 7:24 PM, Kid Programmer <ned.sanger@gmail.com>wrote:

>
> Hi!  I've recently switched from GVim to Emacs, and at the moment I only
> have
> one qualm.  When I'm writing C code Emacs autoindents by two spaces, when
> the normal is usually four.  How can I increase it to four?  Thank you!
> --
> View this message in context:
> http://old.nabble.com/Increasing-Tab-Size-tp32475717p32475717.html
> Sent from the Emacs - Help mailing list archive at Nabble.com.
>
>
>

[-- Attachment #2: Type: text/html, Size: 1240 bytes --]

  reply	other threads:[~2011-09-16 13:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15 23:24 Increasing Tab Size Kid Programmer
2011-09-16 13:44 ` Jai Dayal [this message]
2011-09-16 14:53 ` XeCycle

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=CAMJ-YiTKHNiqmpqit4AA4wnVtQYBgg57Eu5mxYLdriFsJQroKQ@mail.gmail.com \
    --to=dayalsoap@gmail.com \
    --cc=Help-gnu-emacs@gnu.org \
    --cc=ned.sanger@gmail.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.
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.