From: Sam Peterson <skpeterson@nospam.please.ucdavis.edu>
Subject: Re: Indentation varies for .cc and .cpp
Date: 11 Oct 2006 04:41:06 -0700 [thread overview]
Message-ID: <o36y7rn9j1p.fsf@lect14.cs.ucdavis.edu> (raw)
In-Reply-To: 1159392631.986082.320580@h48g2000cwc.googlegroups.com
"Eric Lilja" <mindcooler@gmail.com> writes:
> Eric Lilja skrev:
>
> Sorry for this shameless bump, but do anyone have any ideas at all?
> Since it's for a large number of students I would really like to fix
> this so they can use .cc or .cpp and still get proper indentation. We
> run solaris at the labs and as I mentioned emacs is version 21.4.1. I
> dont see this problem with the same .emacs file on my laptop running a
> recent cvs checkout of emacs.
(add-hook c-mode-common-hook
(lambda ()
(c-set-offset 'substatement-open 0)
(c-set-offset 'defun-open 0)))
--
Sam Peterson
skpeterson AT nospam ucdavis.edu
"if programmers were paid to remove code instead of adding it,
software would be much better" -- unknown
prev parent reply other threads:[~2006-10-11 11:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-27 7:39 Indentation varies for .cc and .cpp Eric Lilja
2006-09-27 21:30 ` Eric Lilja
2006-10-11 11:41 ` Sam Peterson [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=o36y7rn9j1p.fsf@lect14.cs.ucdavis.edu \
--to=skpeterson@nospam.please.ucdavis.edu \
/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.