Linux block layer
 help / color / mirror / Atom feed
From: Bart Van Assche <bart.vanassche@wdc.com>
To: Omar Sandoval <osandov@fb.com>
Cc: linux-block@vger.kernel.org, Bart Van Assche <bart.vanassche@wdc.com>
Subject: [PATCH blktests v3 1/6] dir-locals.el: Add c-mode settings
Date: Mon,  9 Jul 2018 15:56:38 -0700	[thread overview]
Message-ID: <20180709225643.10537-2-bart.vanassche@wdc.com> (raw)
In-Reply-To: <20180709225643.10537-1-bart.vanassche@wdc.com>

Add c-mode settings for the files in the src directory. Additionally,
make indent-tabs-mode global such that it also applies to the
.dir-locals.el file itself.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
---
 .dir-locals.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.dir-locals.el b/.dir-locals.el
index 46961929fac9..994103c63d39 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,4 +1,6 @@
 ((sh-mode . ((sh-basic-offset . 8)
 	     (sh-indentation . 8)
-	     (fill-column . 80)
-	     (indent-tabs-mode . t))))
+	     (fill-column . 80)))
+ (c-mode .  ((c-basic-offset . 8)
+	     (c-label-minimum-indentation . 0)))
+ (nil .     ((indent-tabs-mode . t))))
-- 
2.18.0

  reply	other threads:[~2018-07-09 22:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-09 22:56 [PATCH blktests v3 0/6] Add SRP initiator driver tests Bart Van Assche
2018-07-09 22:56 ` Bart Van Assche [this message]
2018-07-11  7:32   ` [PATCH blktests v3 1/6] dir-locals.el: Add c-mode settings Johannes Thumshirn
2018-07-09 22:56 ` [PATCH blktests v3 2/6] check: Make $FULL an absolute path Bart Van Assche
2018-07-09 22:56 ` [PATCH blktests v3 3/6] src/Makefile: Introduce the C_TARGETS variable Bart Van Assche
2018-07-09 22:56 ` [PATCH blktests v3 4/6] src/Makefile: Move -Wall from the C compilation rule to the $(CFLAGS) variable Bart Van Assche
2018-07-09 22:56 ` [PATCH blktests v3 5/6] Add the discontiguous-io test program Bart Van Assche
2018-07-09 22:56 ` [PATCH blktests v3 6/6] Add tests for the SRP initiator and target drivers Bart Van Assche
2018-07-10 19:57 ` [PATCH blktests v3 0/6] Add SRP initiator driver tests Omar Sandoval
2018-07-10 20:40   ` Bart Van Assche
2018-07-10 21:46     ` Bart Van Assche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180709225643.10537-2-bart.vanassche@wdc.com \
    --to=bart.vanassche@wdc.com \
    --cc=linux-block@vger.kernel.org \
    --cc=osandov@fb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox