Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2296690ybi; Mon, 17 Jun 2019 02:18:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNX6m7fKrg6CN1nYzpdOjvfdmzaetdfTDwU5/fMC8Br9SwjlWEVIS7z7RDvgr5GrSqWX/j X-Received: by 2002:a17:902:fa2:: with SMTP id 31mr83039899plz.38.1560763123968; Mon, 17 Jun 2019 02:18:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560763123; cv=none; d=google.com; s=arc-20160816; b=O136CPv+RebemGw/BoMebQg0VGcoeoqWhFBxz1LL1p+v6FIS8Znf8YhUh9oqCP1kyS NmxiL9rZGnnP1K+Wg2UDJZ35OFKXYqAX9TfL13IFL5lalFSoKFjHLenIPW1cfvN4/Nvx 829+PSNoCD3SOFn4NdYV1B9wRmVVOs3/i+UpcJ11G5fO6Cl97GSzOHSjvUkoDi5heAhD 2hyVt3/rd0StCLFGDrNgGhQMW3H/mIaq81PH8k6JSM8pNnKRT8gZiNaLi2eRDXaEtziO G57JwulFMcYCsGg3sjO8/hvIfdxynbgUgfvSYt+s4ZsPqHozR8Hau48mPLf8r6n+ueCF Chkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=4UvzZyS/aNQ/MsOVrJfipLFSDYLsgIWS72uO2fF+tF8=; b=IuqFwc4/UYA7bqzJrWnAa82p8TVlLDg/pPnJgDV7Frmjpn92yELTwWmz+o4Bk5u8hQ GHQ5tB+BsbLRVG5cfISmM30QjVgGYR++6Cy7k/LaVjPekvGC+2gXkK65eqnC7H/f8M/t a3WZobMNkJmpbYGd92HG5kg6bTgapyygeTDiz+vqq+s0UM/fPZl3IZ0lOoJuZKgx+mwy X2mjp4qdraqJrI1XoNwQINJZ5p6JGpBEYt0lyW6hjeER0EOclGxq3FBIVhf2X146G3lu K9nkaikmSu80QEUIZ3Q63aKUQgZRYEToj7slRi+xS+AYRIftDufrzykKXfQLCoH6HcQS A1+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b="HS/CCJGZ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f193si10803232pgc.144.2019.06.17.02.18.28; Mon, 17 Jun 2019 02:18:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b="HS/CCJGZ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727938AbfFQJRI (ORCPT + 99 others); Mon, 17 Jun 2019 05:17:08 -0400 Received: from casper.infradead.org ([85.118.1.10]:54562 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726753AbfFQJRH (ORCPT ); Mon, 17 Jun 2019 05:17:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4UvzZyS/aNQ/MsOVrJfipLFSDYLsgIWS72uO2fF+tF8=; b=HS/CCJGZiIDLX7SkLozd/7MuYA 2t7Ma2qN+j7tNX0giTN/vzpfBAEsXSVzV5SVXyj3keXbOfpphcBLRCCq5K+FykW+IGLQ04czlkpdD mzVe5GSNsWCGnQQ8SCYN5XGIjq51GafrObm1Tra3imKne3LxFwJ1Ggh4LkM2kptBQSx2ltvbebm6c DxwlMbXy5S+8IGas47ofH3Oc7cVTl65AarNjSWJTwl/GwFX0zIbrOUutxLse14oHDuKYiqcy1TrnN fGEJL6oKcPj8QvheF0P+5bjS6+zn7fv/suvs1Xg2q3tUoSHu18Bi17Se+K7M0bOtpbqNFNHMZcmUA TdgNGObw==; Received: from 179.186.105.91.dynamic.adsl.gvt.net.br ([179.186.105.91] helo=coco.lan) by casper.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hcnlA-0007OR-OD; Mon, 17 Jun 2019 09:17:05 +0000 Date: Mon, 17 Jun 2019 06:16:59 -0300 From: Mauro Carvalho Chehab To: Markus Heiser Cc: Greg Kroah-Hartman , Linux Doc Mailing List , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: Re: [PATCH 14/14] docs: sphinx/kernel_abi.py: fix UTF-8 support Message-ID: <20190617061659.22596fc3@coco.lan> In-Reply-To: <28aca947-4e88-7186-7f07-9a3ccb379649@darmarit.de> References: <62c8ffe86df40c90299e80619a1cb5d50971c2c6.1560477540.git.mchehab+samsung@kernel.org> <20190614161837.GA25206@kroah.com> <20190614132530.7a013757@coco.lan> <28aca947-4e88-7186-7f07-9a3ccb379649@darmarit.de> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Sun, 16 Jun 2019 17:43:50 +0200 Markus Heiser escreveu: > Am 14.06.19 um 18:25 schrieb Mauro Carvalho Chehab: > > Em Fri, 14 Jun 2019 18:18:37 +0200 > > Greg Kroah-Hartman escreveu: > > > >> On Thu, Jun 13, 2019 at 11:04:20PM -0300, Mauro Carvalho Chehab wrote: > >>> The parser breaks with UTF-8 characters with Sphinx 1.4. > >>> > >>> Signed-off-by: Mauro Carvalho Chehab > >>> --- > >>> Documentation/sphinx/kernel_abi.py | 10 ++++++---- > >>> 1 file changed, 6 insertions(+), 4 deletions(-) > >>> > >>> diff --git a/Documentation/sphinx/kernel_abi.py b/Documentation/sphinx/kernel_abi.py > >>> index 7fa7806532dc..460cee48a245 100644 > >>> --- a/Documentation/sphinx/kernel_abi.py > >>> +++ b/Documentation/sphinx/kernel_abi.py > >>> @@ -1,4 +1,5 @@ > >>> -# -*- coding: utf-8; mode: python -*- > >>> +# coding=utf-8 > >>> +# > >> > >> Is this an emacs vs. vim fight? > > > > No. This is a python-specific thing: > > > > https://www.python.org/dev/peps/pep-0263/ > > No need to change, the emacs notation is also OK, see your link > > """or (using formats recognized by popular editors):""" > > https://www.python.org/dev/peps/pep-0263/#defining-the-encoding > > I prefer emacs notation, this is also evaluated by many other editors / tools. The usage of emacs notation is something that we don't like at the Linux Kernel. With ~4K developers per release, if we add tags to every single editor people use, it would be really messy, as one developer would be adding a tag and the next one replacing it by its some other favorite editor's tag. There's even an item at Documentation/process/coding-style.rst due to that (item 9). Thanks, Mauro