From: Bijan Soleymani <bijan@psq.com>
Subject: Re: .emacs
Date: 27 Dec 2002 18:13:16 -0500 [thread overview]
Message-ID: <87u1gzf437.fsf@hurd.crasseux.com> (raw)
In-Reply-To: 3E0CCD32.90602@free.fr
Oodini <svdbg@free.fr> writes:
> Hello,
>
> I am reading "Programmiong with GNU tools", and so I am discovering Unix.
>
> They say in the book that I am supposed to find in my user directory
> the file .emacs. It wasn't there. So I created it and put these lines
> inside:
>
> (setq c-indent-level 5)
> (setq c-continued-statement-offset 5)
> (setq c-argdecl-indent 0)
> (setq c-brace-offset -5)
> (setq c-label-offset -5)
>
> I don't know yet EMacs, but I suppose that with this file, indents
> must be 5 characters when I am in C mode. But that doesn't work...
>
You should check the documentation for CC-mode if you want to
customize the indentation.
Bijan
next prev parent reply other threads:[~2002-12-27 23:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-27 21:59 .emacs Oodini
2002-12-27 23:13 ` Bijan Soleymani [this message]
2002-12-28 11:02 ` .emacs Kai Großjohann
2002-12-28 12:25 ` .emacs Oodini
2002-12-28 13:00 ` .emacs Kai Großjohann
2002-12-28 11:36 ` .emacs gebser
[not found] <mailman.662.1041076187.19936.help-gnu-emacs@gnu.org>
2002-12-28 12:21 ` .emacs Oodini
-- strict thread matches above, loose matches on Subject: below --
2006-12-03 13:22 .emacs Jan Brosius
[not found] <mailman.1455.1165152168.2155.help-gnu-emacs@gnu.org>
2006-12-03 15:10 ` .emacs Harald Hanche-Olsen
2006-12-03 15:07 ` .emacs Jan Brosius
2006-12-03 16:20 ` .emacs Jan Brosius
[not found] ` <mailman.1458.1165158446.2155.help-gnu-emacs@gnu.org>
2006-12-03 16:43 ` .emacs Harald Hanche-Olsen
2006-12-03 16:46 ` .emacs Michaël Cadilhac
2006-12-03 15:32 ` .emacs Joost Kremers
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=87u1gzf437.fsf@hurd.crasseux.com \
--to=bijan@psq.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).