From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jesse B." Newsgroups: gmane.emacs.help Subject: Re: Starting in c-set-style linux Date: Wed, 21 Apr 2004 23:58:21 -0400 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <87vfjszwz3.fsf@pobox.com> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1082607565 30084 80.91.224.253 (22 Apr 2004 04:19:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Apr 2004 04:19:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 22 06:19:18 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGVgD-0005yV-00 for ; Thu, 22 Apr 2004 06:19:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGVPy-0003C4-Rj for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Apr 2004 00:02:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!HSNX.atgi.net!cyclone-sf.pbi.net!216.196.106.144!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!local1.nntp.sjc.giganews.com!nntp.adelphia.com!news.adelphia.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Wed, 21 Apr 2004 22:58:27 -0500 Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Original-Lines: 15 Original-NNTP-Posting-Host: 68.235.6.86 Original-X-Trace: sv3-6s4wg2e79W9cM6NHDtkJ4OY555ej7KQGXYpJAQHAwfTlIQkuLSKQuEAWHevdV8oT/7lA629lE9t6qYK!K8xrfb9vLt+ViRK/zO/1aygbeYulRn6e6T/dkpEBuhE76mb+l1DQJq5JjdODBmqtpKTK1h1olaw7!MXFN9mDKGPdyLQ== Original-X-Complaints-To: abuse@adelphia.net X-DMCA-Complaints-To: copyright@adelphia.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:122550 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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 Xref: main.gmane.org gmane.emacs.help:17837 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17837 "Mike Irwin" wrote: > > (defun my-linux-c-mode () > "C mode with adjusted defaults for use with the linux kernel." > (c-set-style "linux")) > > (add-hook 'c-mode-hook 'my-linux-c-mode) Thank you very much. That's the ticket I've been looking for. Works like a charm. I've been pulling my hair out googling and looking through docs for that info. I appritiate you taking the time to help out a newcomer like myself.