From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jai Dayal Newsgroups: gmane.emacs.help Subject: how to set c-set-style at startup? Date: Mon, 18 Jul 2011 16:58:51 -0600 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf30207fde86673904a85ff21f X-Trace: dough.gmane.org 1311030319 31343 80.91.229.12 (18 Jul 2011 23:05:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 23:05:19 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 19 01:05:15 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QiwsF-0002AP-9r for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Jul 2011 01:05:15 +0200 Original-Received: from localhost ([::1]:56293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiwsE-0000RE-3O for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Jul 2011 19:05:14 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiwmV-00085U-HP for help-gnu-emacs@gnu.org; Mon, 18 Jul 2011 18:59:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QiwmO-00059v-Tf for help-gnu-emacs@gnu.org; Mon, 18 Jul 2011 18:59:19 -0400 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:39340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiwmO-00059i-BQ for help-gnu-emacs@gnu.org; Mon, 18 Jul 2011 18:59:12 -0400 Original-Received: by wwf22 with SMTP id 22so2869313wwf.30 for ; Mon, 18 Jul 2011 15:59:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=5C3ATaiNIJK8IJGifOkEhIn2AaDc4a9JhbgoWUzDseM=; b=Sc1OUyegHuezSIvrFAocSauGwFOpDfcHNPaIZ4jBl5lR0f1+CkQr9ozImO3lJtILOr k9cAYQjjIRu4fiQbt9PvJOg3CIB5c1JjsDcqTxMH5Z58DoPvET7JehpBgubtiz3Y0bBv K9A1RRe4XMxQ2Ao2+b5azi9t0l9GiDzb7I99U= Original-Received: by 10.217.5.130 with SMTP id w2mr76916wes.61.1311029951096; Mon, 18 Jul 2011 15:59:11 -0700 (PDT) Original-Received: by 10.216.88.84 with HTTP; Mon, 18 Jul 2011 15:58:51 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81665 Archived-At: --20cf30207fde86673904a85ff21f Content-Type: text/plain; charset=ISO-8859-1 Hi, It seems right now, I have to do c-set-style for each file/buffer I open. Is there a way I can set this in my .emacs file so that all files will have the same c style indentation? Thanks, Jai --20cf30207fde86673904a85ff21f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,
=A0 It seems right now, I have to do c-set-style for each file/buffe= r I open.=A0 Is there a way I can set this in my .emacs file so that all fi= les will have the same c style indentation?

Thanks,
Jai
--20cf30207fde86673904a85ff21f--