From patchwork Mon Jul 9 22:56:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10515909 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3CBE16024A for ; Mon, 9 Jul 2018 22:56:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3177D28BAE for ; Mon, 9 Jul 2018 22:56:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 25AB728BDB; Mon, 9 Jul 2018 22:56:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB61128BAE for ; Mon, 9 Jul 2018 22:56:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754541AbeGIW4q (ORCPT ); Mon, 9 Jul 2018 18:56:46 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:35639 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754326AbeGIW4p (ORCPT ); Mon, 9 Jul 2018 18:56:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1531177299; x=1562713299; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=DUEbi9M+2D8KIEiFf1zBEe1x0j2lBszHAo3HhRFEvlE=; b=igwd70d4QAjfckRqlR+jk9Uxhv9QtXGrBn5CoLRpNVmN3QHXebaBrBLf 5adTswIVh51KY4t8LZT5rSFAYZdX4h2zkHkL5kzHPSctkwlZikFeSSmkC AB9SZ4fGIOekVhyrtJs1gMlQIA/3tXUUxPcbAwUNR7nVKXrYOEeq1Fz3Q ARQIzQA0BnGSIXyCZ4W0XypzzlJkBqa0m7CXsfp5AFSWywaBZi5lcown/ cEYyxoZqao6xYiBEunsXyX6jkv+7fvP/ZlXcFbLT9iFJryuczefyBmSJ/ FV8StCg4JHTx4lSnbDMb5yNOahEnALEjQdolkHcFBKqAFDHFJT22ok4bU Q==; X-IronPort-AV: E=Sophos;i="5.51,330,1526313600"; d="scan'208";a="180580405" Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 10 Jul 2018 07:01:38 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP; 09 Jul 2018 15:45:47 -0700 Received: from thinkpad-bart.sdcorp.global.sandisk.com ([10.111.67.248]) by uls-op-cesaip02.wdc.com with ESMTP; 09 Jul 2018 15:56:44 -0700 From: Bart Van Assche To: Omar Sandoval Cc: linux-block@vger.kernel.org, Bart Van Assche Subject: [PATCH blktests v3 1/6] dir-locals.el: Add c-mode settings Date: Mon, 9 Jul 2018 15:56:38 -0700 Message-Id: <20180709225643.10537-2-bart.vanassche@wdc.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180709225643.10537-1-bart.vanassche@wdc.com> References: <20180709225643.10537-1-bart.vanassche@wdc.com> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Johannes Thumshirn --- .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))))