Blame SOURCES/0203-add-kate-and-emacs-per-directory-config-files.patch

a56a5e
From 4de30f02c8c20238053d2c0978980160fa7e3264 Mon Sep 17 00:00:00 2001
a56a5e
From: Harald Hoyer <harald@redhat.com>
a56a5e
Date: Fri, 29 Aug 2014 13:33:40 +0200
a56a5e
Subject: [PATCH] add kate and emacs per directory config files
a56a5e
a56a5e
---
a56a5e
 .dir-locals.el          | 2 ++
a56a5e
 .kateconfig             | 1 +
a56a5e
 .kateproject            | 9 +++++++++
a56a5e
 install/.kateconfig     | 1 +
a56a5e
 skipcpio/.dir-locals.el | 2 ++
a56a5e
 skipcpio/.kateconfig    | 1 +
a56a5e
 6 files changed, 16 insertions(+)
a56a5e
 create mode 100644 .dir-locals.el
a56a5e
 create mode 100644 .kateconfig
a56a5e
 create mode 100644 .kateproject
a56a5e
 create mode 100644 install/.kateconfig
a56a5e
 create mode 100644 skipcpio/.dir-locals.el
a56a5e
 create mode 100644 skipcpio/.kateconfig
a56a5e
a56a5e
diff --git a/.dir-locals.el b/.dir-locals.el
a56a5e
new file mode 100644
1755ca
index 00000000..c9ac3af3
a56a5e
--- /dev/null
a56a5e
+++ b/.dir-locals.el
a56a5e
@@ -0,0 +1,2 @@
a56a5e
+(setq sh-basic-offset: 4)
a56a5e
+(setq indent-tabs-mode nil)
a56a5e
diff --git a/.kateconfig b/.kateconfig
a56a5e
new file mode 100644
1755ca
index 00000000..86b4ce58
a56a5e
--- /dev/null
a56a5e
+++ b/.kateconfig
a56a5e
@@ -0,0 +1 @@
a56a5e
+kate: space-indent on; tab-width 4; indent-width 4; replace-tabs on; eol unix;
a56a5e
diff --git a/.kateproject b/.kateproject
a56a5e
new file mode 100644
1755ca
index 00000000..7a847552
a56a5e
--- /dev/null
a56a5e
+++ b/.kateproject
a56a5e
@@ -0,0 +1,9 @@
a56a5e
+{
a56a5e
+  "name": "Kate"
a56a5e
+  , "files": [ { "git": 1 } ]
a56a5e
+  , "build": {
a56a5e
+    "directory": "build"
a56a5e
+  , "build": "make -j $(getconf _NPROCESSORS_ONLN) all"
a56a5e
+  , "clean": "make clean"
a56a5e
+  }
a56a5e
+}
a56a5e
diff --git a/install/.kateconfig b/install/.kateconfig
a56a5e
new file mode 100644
1755ca
index 00000000..12215289
a56a5e
--- /dev/null
a56a5e
+++ b/install/.kateconfig
a56a5e
@@ -0,0 +1 @@
a56a5e
+kate: space-indent on; tab-width 8; indent-width 8; replace-tabs on; eol unix;
a56a5e
diff --git a/skipcpio/.dir-locals.el b/skipcpio/.dir-locals.el
a56a5e
new file mode 100644
1755ca
index 00000000..fd49d53a
a56a5e
--- /dev/null
a56a5e
+++ b/skipcpio/.dir-locals.el
a56a5e
@@ -0,0 +1,2 @@
a56a5e
+(setq c-basic-offset 8)
a56a5e
+(setq indent-tabs-mode nil)
a56a5e
diff --git a/skipcpio/.kateconfig b/skipcpio/.kateconfig
a56a5e
new file mode 100644
1755ca
index 00000000..12215289
a56a5e
--- /dev/null
a56a5e
+++ b/skipcpio/.kateconfig
a56a5e
@@ -0,0 +1 @@
a56a5e
+kate: space-indent on; tab-width 8; indent-width 8; replace-tabs on; eol unix;