From: Kai Peter Ford <kaiford@ix.netcom.com>
Subject: How to over-ride c-set-style ... indentation
Date: Fri, 15 Nov 2002 09:17:37 -0800 [thread overview]
Message-ID: <5.1.0.14.0.20021115090910.02449d30@popd.ix.netcom.com> (raw)
I need to over-ride the default 3-space indentation in the "ellemtel" style
with 4 spaces. I currently have the following in my .emacs:
...
(add-hook 'java-mode-hook
'(lambda ()
(c-set-style "ellemtel")))
. . .
(custom-set-variables
;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.
'(c-basic-offset 4)
'(c-indent-level 4)
. . .
but this has no effect. Is there any way to do this?
next reply other threads:[~2002-11-15 17:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-15 17:17 Kai Peter Ford [this message]
[not found] <mailman.1037381050.320.help-gnu-emacs@gnu.org>
2002-11-16 18:50 ` How to over-ride c-set-style ... indentation Kai Großjohann
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.0.20021115090910.02449d30@popd.ix.netcom.com \
--to=kaiford@ix.netcom.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.
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).