unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Generic Usenet Account" <usenet@sta.samsung.com>
Subject: Emacs: Suppressing auto indentation for C source files
Date: 14 Oct 2005 07:53:51 -0700	[thread overview]
Message-ID: <1129301630.992659.11520@z14g2000cwz.googlegroups.com> (raw)

My apologies if this posting is off topic.

I want to suppress the auto indentation for C source files in my emacs
editor (GNU Emacs 21.2.1, XEmacs 21.4).  I have added the following two
lines in my .emacs file, but that does not seem to help:

(setq indent-tabs-mode nil)
(setq c-indent-line nil)

Any suggestions?

Thanks,
Gus

             reply	other threads:[~2005-10-14 14:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-14 14:53 Generic Usenet Account [this message]
2005-10-14 18:28 ` Emacs: Suppressing auto indentation for C source files J. David Boyd
2005-10-17 13:53 ` Alan Mackenzie
2005-11-11 10:26 ` Faried Nawaz

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=1129301630.992659.11520@z14g2000cwz.googlegroups.com \
    --to=usenet@sta.samsung.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).