From patchwork Wed Mar 10 15:59:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 396763 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp504039jai; Wed, 10 Mar 2021 08:13:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXl0QjzabytcvdC09DHa3XyenK18q80nAISdx8Aiax5fRpmf2JOi2DPIbHeA8WEe2VrzTv X-Received: by 2002:a67:f8ce:: with SMTP id c14mr2190793vsp.25.1615392794561; Wed, 10 Mar 2021 08:13:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615392794; cv=none; d=google.com; s=arc-20160816; b=kEmGumD7si5i+CqxdCSmg9CnmPOOa8wQWYdUHkZLQYBv9hZ6n9M3p+QiC0hbHbs0Ze pBtwFI6Q9G06Gq71jD+bH7bsFS65NgjZzYhQXM3Amu0yBxcUpH56LOtwzkQatOVdVi6d ldlPaSxq8CXLjDIpVQJUGUkvVPKnJxK4S8cxr5/uxRFETt10s13Z4lOH2irlmnMjVrOz 8XaPUW7Z7jbNvBKVBSg5Dxqgc1rmWgsfiB5mqiDe/Nl0SwliYxqOnX/fsrrkkbQ8GtRC 6yx6vLgfA+ZJQVqvSpzTEOBJJYEgNCsV1k8aoTK4+PrS8AMpyh6UOxR45u0WqBsIGvem NYaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=1U/ORcIBWROYJWFUfscqlCNl6s4lUhCxpTPOOlyuiKA=; b=ECRPH7ptcESZ6TIW4DvRvnI8msfN1HnOM5OJLYM6gJsVJ7j+96+NVqVvbsYCUD7Vgh FUxV3u7DFQAsFZxbLYk92iRNEVTVug8XeXDrli9tknmYj0xi7lJ3MmB3ArxlT4raPm+s gxEB7GkwSQSIfua1IgW8s4vopUUg2iuBxVszsXaqLklLbdg+kAUxMy0u8wV90JfKhSEp R/DI49Tze5H/iE6apxWTeOX3uxbl993/cVkonrziIYkcgq1V77lILVJWJC+wb5Np4YKG c8XN/iDETPUlYgWyf2rcaQxsZaC9VhtKdDULceIvpZxihK0pGU1YFUowHulJS+ohDoXs LqZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=G6iKuMJ4; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id t67si3106745vkc.47.2021.03.10.08.13.14 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Mar 2021 08:13:14 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=G6iKuMJ4; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:51486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lK1ST-0008MR-UX for patch@linaro.org; Wed, 10 Mar 2021 11:13:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lK1G0-0004ZO-LU for qemu-devel@nongnu.org; Wed, 10 Mar 2021 11:00:20 -0500 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]:34203) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lK1Fx-0002fK-Ep for qemu-devel@nongnu.org; Wed, 10 Mar 2021 11:00:20 -0500 Received: by mail-ed1-x532.google.com with SMTP id b13so28860795edx.1 for ; Wed, 10 Mar 2021 08:00:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1U/ORcIBWROYJWFUfscqlCNl6s4lUhCxpTPOOlyuiKA=; b=G6iKuMJ4LfH3G4o/X7znHloQndR0ehEvO3lnmy15ekpuU3q27N9x4jHe4TngluDktf doczNoDtmoGa2DyF3rhhxGRj34n6LgR5yiQY+gaNc3AkUIS2lfLfrGy1veeUK1hP5RNu nMrIqlW3vq7hKE+ogVSzc5AVqc83CpLMeXozyQYwcGuNy4vJgGztG5fPUnGL0igeTtZc KP6wSYz7xF59NJJdPdXlzJ2ZQgPiWXglI+LsHV1wZxP7WVEMf/lzyY8A/dY67uVm176J fAE8uexPe7xFv+z///l99a8JX7D5kPcvJVDU2nSRvt+E5Ydl1F1kKNSLbFIRikwfMq/r 127A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1U/ORcIBWROYJWFUfscqlCNl6s4lUhCxpTPOOlyuiKA=; b=aSDSBtYkZ4Hwxw+OI7SeNF9CCMopPvsq8TGspXSHe6XjzCAg8ONhfqn8uvppv6Esbh nEHRP1ZTX6S8xkSNZIX0la/AWGlveYMe1ZGb8JFvugUyad6D6hkiBsebZWOwj6OqeBpi kAatXwrot2LDbG1UQ4J4c7XS0fcCiv+cu1JaiUz9o9r63YaMw+RM5EmJJxsiIIRwC21v AOhz4oeoo9XbiD1IxhUiAkemW2QQjk4EhSfjP4R/XmwL4Ae4On7pCLXC81ArkKvRS4PY +OyhNyFx5+FO1GeOWnbAo7rUuoxVPD/tCjStCCiCInUayHH0XyLdD7zpeILsjy1H18Fq lfMA== X-Gm-Message-State: AOAM5328r0G53mUIuHRGhOVWNrGJ97zIncyQgnieQziu02/voroS+SF0 +MMYS8lQ13H22YovszKHNxBB8g== X-Received: by 2002:aa7:d4ca:: with SMTP id t10mr4062784edr.388.1615392011409; Wed, 10 Mar 2021 08:00:11 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id i2sm11227314edy.72.2021.03.10.08.00.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Mar 2021 08:00:09 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 20B031FF92; Wed, 10 Mar 2021 16:00:03 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL v2 06/15] .editorconfig: update the automatic mode setting for Emacs Date: Wed, 10 Mar 2021 15:59:53 +0000 Message-Id: <20210310160002.11659-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210310160002.11659-1-alex.bennee@linaro.org> References: <20210310160002.11659-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x532.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" It seems the editor specific keywords have been deprecated in the main editorconfig plugin: https://github.com/editorconfig/editorconfig-emacs#file-type-file_type_ext-file_type_emacs Update the keywords to the suggested one and point users at the extension. Signed-off-by: Alex Bennée Reviewed-by: Marc-André Lureau Message-Id: <20210305144839.6558-1-alex.bennee@linaro.org> -- 2.20.1 diff --git a/.editorconfig b/.editorconfig index 22681d91c6..7303759ed7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,6 +4,11 @@ # plugin. # # Check https://editorconfig.org for details. +# +# Emacs: you need https://github.com/10sr/editorconfig-custom-majormode-el +# to automatically enable the appropriate major-mode for your files +# that aren't already caught by your existing config. +# root = true @@ -15,17 +20,17 @@ charset = utf-8 [*.mak] indent_style = tab indent_size = 8 -file_type_emacs = makefile +emacs_mode = makefile [Makefile*] indent_style = tab indent_size = 8 -file_type_emacs = makefile +emacs_mode = makefile [*.{c,h,c.inc,h.inc}] indent_style = space indent_size = 4 -file_type_emacs = c +emacs_mode = c [*.sh] indent_style = space @@ -34,11 +39,11 @@ indent_size = 4 [*.{s,S}] indent_style = tab indent_size = 8 -file_type_emacs = asm +emacs_mode = asm [*.{vert,frag}] -file_type_emacs = glsl +emacs_mode = glsl [*.json] indent_style = space -file_type_emacs = python +emacs_mode = python