[Mesa-dev] [PATCH] gallium/radeon: Add some Emacs .dir-locals.el files
Michel Dänzer
michel at daenzer.net
Mon Jul 28 00:59:19 PDT 2014
From: Michel Dänzer <michel.daenzer at amd.com>
Based on the toplevel one but adapted to the driver/winsys coding styles.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
src/gallium/drivers/r600/.dir-locals.el | 11 +++++++++++
src/gallium/drivers/radeon/.dir-locals.el | 11 +++++++++++
src/gallium/drivers/radeonsi/.dir-locals.el | 11 +++++++++++
src/gallium/winsys/radeon/.dir-locals.el | 12 ++++++++++++
4 files changed, 45 insertions(+)
create mode 100644 src/gallium/drivers/r600/.dir-locals.el
create mode 100644 src/gallium/drivers/radeon/.dir-locals.el
create mode 100644 src/gallium/drivers/radeonsi/.dir-locals.el
create mode 100644 src/gallium/winsys/radeon/.dir-locals.el
diff --git a/src/gallium/drivers/r600/.dir-locals.el b/src/gallium/drivers/r600/.dir-locals.el
new file mode 100644
index 0000000..8be6a30
--- /dev/null
+++ b/src/gallium/drivers/r600/.dir-locals.el
@@ -0,0 +1,11 @@
+((nil
+ (indent-tabs-mode . true)
+ (tab-width . 8)
+ (c-basic-offset . 8)
+ (c-file-style . "stroustrup")
+ (fill-column . 78)
+ (eval . (progn
+ (c-set-offset 'innamespace '0)
+ (c-set-offset 'inline-open '0)))
+ )
+ )
diff --git a/src/gallium/drivers/radeon/.dir-locals.el b/src/gallium/drivers/radeon/.dir-locals.el
new file mode 100644
index 0000000..8be6a30
--- /dev/null
+++ b/src/gallium/drivers/radeon/.dir-locals.el
@@ -0,0 +1,11 @@
+((nil
+ (indent-tabs-mode . true)
+ (tab-width . 8)
+ (c-basic-offset . 8)
+ (c-file-style . "stroustrup")
+ (fill-column . 78)
+ (eval . (progn
+ (c-set-offset 'innamespace '0)
+ (c-set-offset 'inline-open '0)))
+ )
+ )
diff --git a/src/gallium/drivers/radeonsi/.dir-locals.el b/src/gallium/drivers/radeonsi/.dir-locals.el
new file mode 100644
index 0000000..8be6a30
--- /dev/null
+++ b/src/gallium/drivers/radeonsi/.dir-locals.el
@@ -0,0 +1,11 @@
+((nil
+ (indent-tabs-mode . true)
+ (tab-width . 8)
+ (c-basic-offset . 8)
+ (c-file-style . "stroustrup")
+ (fill-column . 78)
+ (eval . (progn
+ (c-set-offset 'innamespace '0)
+ (c-set-offset 'inline-open '0)))
+ )
+ )
diff --git a/src/gallium/winsys/radeon/.dir-locals.el b/src/gallium/winsys/radeon/.dir-locals.el
new file mode 100644
index 0000000..0e937bb
--- /dev/null
+++ b/src/gallium/winsys/radeon/.dir-locals.el
@@ -0,0 +1,12 @@
+((nil
+ (indent-tabs-mode . nil)
+ (tab-width . 8)
+ (c-basic-offset . 4)
+ (c-file-style . "stroustrup")
+ (fill-column . 78)
+ (eval . (progn
+ (c-set-offset 'innamespace '0)
+ (c-set-offset 'inline-open '0)))
+ )
+ (makefile-mode (indent-tabs-mode . t))
+ )
--
2.0.1
More information about the mesa-dev
mailing list