[hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5978: Add .dir-locals.el file that enforces the HIPL coding style for Emacs users.

  • From: noreply@xxxxxxxxxxxxx
  • To: HIPL core team <hipl-dev@xxxxxxxxxxxxx>
  • Date: Wed, 29 Jun 2011 14:48:28 -0000

------------------------------------------------------------
revno: 5978
committer: Diego Biurrun <diego@xxxxxxxxxx>
branch nick: hipl
timestamp: Wed 2011-06-29 16:44:02 +0200
message:
  Add .dir-locals.el file that enforces the HIPL coding style for Emacs users.
  
  This works similar to the .vimrc file we already have for Vim users.
added:
  .dir-locals.el


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to 
https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== added file '.dir-locals.el'
--- .dir-locals.el      1970-01-01 00:00:00 +0000
+++ .dir-locals.el      2011-06-29 14:44:02 +0000
@@ -0,0 +1,7 @@
+; suitable Emacs defaults for the HIPL coding style
+((nil . ((indent-tabs-mode . nil)
+         (tab-width . 4)
+         (show-trailing-whitespace . t)))
+ (c-mode . ((c-basic-offset . 4)
+            (c-indentation-style . "k&r")))
+)

Other related posts: