chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATH] Add an Emacs dir-locals file to enforce project


From: Peter Bex
Subject: [Chicken-hackers] [PATH] Add an Emacs dir-locals file to enforce project style
Date: Sun, 15 Dec 2013 13:32:39 +0100
User-agent: Mutt/1.4.2.3i

Hi all,

I find it increasingly annoying to run M-x tabify on code I write in
CHICKEN, and as more people contribute code it'll become more of a
mess of tabs versus spaces.

I do *not* want a bikeshed discussion about tabs versus spaces!  I'm
just interested in maintaining consistency across the codebase.  Since
the majority of us are using Emacs, here's a .dir-locals.el file to
enforce our project's settings.

It's pretty minimal yet, and it would be great if people could extend
this to enforce more conventions we use in CHICKEN.  For example, what
C base indentation style should we pick?  I'm using
(setq c-default-style "bsd") in my own .emacs file, but I'm not sure
about all the settings that implies, exactly, and whether it matches
the CHICKEN conventions.

Cheers,
Peter
-- 
http://www.more-magic.net

Attachment: 0001-Add-initial-dir-locals-file.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]