unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* C coding conventions for notmuch
@ 2010-11-23 18:48 Daniel Kahn Gillmor
  2010-11-24  0:39 ` Rob Browning
  2010-11-24 21:25 ` Michal Sojka
  0 siblings, 2 replies; 6+ messages in thread
From: Daniel Kahn Gillmor @ 2010-11-23 18:48 UTC (permalink / raw)
  To: notmuch


[-- Attachment #1.1: Type: text/plain, Size: 620 bytes --]

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


[-- Attachment #1.2: .dir-locals.el --]
[-- Type: text/plain, Size: 241 bytes --]

; 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)
            )
         )
)

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-11-25 11:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-23 18:48 C coding conventions for notmuch Daniel Kahn Gillmor
2010-11-24  0:39 ` Rob Browning
2010-11-24  0:58   ` Jameson Rollins
2010-11-24 21:25 ` Michal Sojka
2010-11-24 21:54   ` Daniel Kahn Gillmor
2010-11-25 11:08     ` Michal Sojka

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).