aboutsummaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2018-02-07 20:37:15 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2018-02-07 20:37:15 +0100
commita16f22881841e57f2652f2a17b7f60b5106b2e60 (patch)
tree6e5a86c38e68cd9f9be546d17c69adad17483825 /.dir-locals.el
First commit to the reproduction pipeline template
Let's start working on this pipeline independently with this first commit. It is based on my previous experiences, but I had never made a skeleton of a pipeline before, it was always within a working analysis. But now that the pipeline has a separate repository for its self, we will be able to work on it and use it as a base for future work and modify it to make it even better. Hopefully in time (and with the help of others), it will grow and become much more robust and useful.
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el20
1 files changed, 20 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..af98cc8
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,20 @@
+;; This files contains Emacs Directory Local Variables.
+;;
+;; Emacs is an extensible, customizable, free/libre text editor. It
+;; allows specification of certain settings that will be applied to
+;; all files in current directory and its subdirectories. This is
+;; useful in order to automatically enforce certain coding conventions
+;; for all contributors of Gnuastro, like the maximum length of lines
+;; or the number of spaces to be used for indentation.
+;;
+;; For more information see (info "(emacs) Directory Variables")
+
+((nil
+ (indent-tabs-mode . nil) ;; No tabs as indentation
+ (fill-column . 75)) ;; 75-character wide lines
+ (c-mode
+ (c-basic-offset . 2) ;; 2 spaces of indentation
+ (c-file-style . "gnu")) ;; GNU style for braces
+ (makefile-mode
+ (indent-tabs-mode . t)) ;; Real TABs are important in makefiles
+ )