C coding conventions for notmuch

Subject: C coding conventions for notmuch

Date: Tue, 23 Nov 2010 13:48:40 -0500

To: notmuch

Cc:

From: Daniel Kahn Gillmor


hey notmuch folks--

attached is a .dir-locals.el file; placed in the root of the notmuch
source tree, it makes emacs pick the default coding style (at least,
using the style i see in notmuch-show.c today).

If we want a consistent coding style for the project, this would
probably be a good place to define it so that those of us who use emacs
as our editor don't have to think about it.

Thanks to rlb on #notmuch for pointing me to the right bit of emacs
documentation [0] to sort this out.

Regards,

	--dkg

[0]
http://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html

; emacs local configuration settings for notmuch source
; surmised by dkg on 2010-11-23 13:43:18-0500

(
 (c-mode . (
            (indent-tabs-mode . t)
            (tab-width . 8)
            (c-basic-offset . 4)
            )
         )
)
signature.asc (application/pgp-signature)

Thread: