all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ryan Bowman <ryanlbowman@yahoo.com>
Subject: Modifying Indentation Style
Date: Fri, 18 Feb 2005 15:01:09 -0800 (PST)	[thread overview]
Message-ID: <20050218230109.77235.qmail@web51909.mail.yahoo.com> (raw)


I want to change the c indentation style (regarding
how braces are indented) from

if ()
  {
  }

to

if ()
{
}

I thought that the following would work but it doesn't
seem to be having any effect.

(c-add-style "ryan" 
             '("gnu" 
               (c-offset-list . ((block-open . -2))))

What is the correct way to accomplish this?

=====
----
Ryan Bowman

That stupid bird stole my quarter.  I hate birds. - Eddie
----

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

             reply	other threads:[~2005-02-18 23:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-18 23:01 Ryan Bowman [this message]
2005-02-19  0:41 ` Modifying Indentation Style August
  -- strict thread matches above, loose matches on Subject: below --
2005-02-18 22:57 Modifying Indentation style Ryan Bowman

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=20050218230109.77235.qmail@web51909.mail.yahoo.com \
    --to=ryanlbowman@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.
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.