[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
setting c-offsets-alist variables from "headline"?
From: |
Dave Lawrence |
Subject: |
setting c-offsets-alist variables from "headline"? |
Date: |
Fri, 18 Oct 2002 13:07:22 -0700 |
Is there a way to set c-offsets-alist on a file-by-file basis
using "headline comments" (or whatever they are called) like this:
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*/
For example, is there any was to set defun-block-intro to 1
(as is done in a .emacs file entry below) using comments in a file?
(c-offsets-alist . ((arglist-close . c-lineup-arglist)
(substatement-open . 0)
(case-label . 4)
(block-open . 0)
(defun-block-intro . 1)
(knr-argdecl-intro . -)))
Thanks!!!
Dave
- setting c-offsets-alist variables from "headline"?,
Dave Lawrence <=