Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1604607ybi; Sun, 16 Jun 2019 08:44:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzaOZuakZSCdAiSZeiD86hNuSgMzFxtaC2YYrxerLhZeGoBZLjW4YEanhIX4Dpon0oSM1xb X-Received: by 2002:a17:90a:c503:: with SMTP id k3mr22029694pjt.46.1560699873788; Sun, 16 Jun 2019 08:44:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560699873; cv=none; d=google.com; s=arc-20160816; b=fpn4XdP+cWd/t9qn8jSYXL31TMDHHLdlwr+2u/xJxH53LNiuvKXXD3K5c8RzZnjW6B PCpOoCAJen+4nMJYrH7NKrhCdc3G8LaLvG/Hq3QHD4R+olEGA0AJo7Uc6RMPuTD6TKHV 5SzNwB+/uTM+vggGURnEN8AMq/oGSTDGwYS8ucOw/u+zH1IF5nOsNVsLxfUpBuwab2p9 jddgGtrovK6NCZxTP/iZWeuoCekgQlZF3J3KSFD8fmUJPkI7MlPG7LQnSVx4JtN5k37P VheQF1O5zkM53DHyh5SDzaqwgRger7dBtIKIqtjaEeAjqUyn8SjAe1U6rRicoqnx92Vg 0odA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=hZMit0B7VAM/auGi9l5YYM6ILmuan04ySqF4qVBhnEY=; b=dUsqSoaHPo3q2Y9z/DDXqALqSTSiGq+367dvOGWJ47fo9SdEw5cngwj/DoIRWHAeJN W7ZZBdEszmbZOFKC0bT93oZHzo+YtGA5Dzd8LTq4W7cXQrmYhKMOI0HL89vwvqU/WZBb Cajvyq3RPc94/1FzSf3c8fs9v4neoSCnl6GuJ9vw8iX15m/I3GWA9l+2he80zcYhXBHd u3BOTBCCyGemAZ3/aaMFJcIKvxaiZyp5eNFNBhhqB/m1+g0nWq/yvKpMnHzlvdaJKfnA 5qnMZaUJzQ3MaWQ1M6poF6l0G/8bSTUXmi2qKAIFqzne3mAORTORLJraYddmT63anHIO 2JCA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i23si8442550pgh.26.2019.06.16.08.44.19; Sun, 16 Jun 2019 08:44:33 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726800AbfFPPn5 (ORCPT + 99 others); Sun, 16 Jun 2019 11:43:57 -0400 Received: from smtp2-4.goneo.de ([85.220.129.36]:52690 "EHLO smtp2-4.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726038AbfFPPn5 (ORCPT ); Sun, 16 Jun 2019 11:43:57 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp2.goneo.de (Postfix) with ESMTP id DFA0123F32D; Sun, 16 Jun 2019 17:43:53 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -2.744 X-Spam-Level: X-Spam-Status: No, score=-2.744 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=0.004, BAYES_00=-1.9, SARE_SUB_ENC_UTF8=0.152] autolearn=no Received: from smtp2.goneo.de ([127.0.0.1]) by localhost (smtp2.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6saBBGMF-nQY; Sun, 16 Jun 2019 17:43:52 +0200 (CEST) Received: from [192.168.1.127] (dyndsl-178-142-132-231.ewe-ip-backbone.de [178.142.132.231]) by smtp2.goneo.de (Postfix) with ESMTPSA id 9E01923F051; Sun, 16 Jun 2019 17:43:50 +0200 (CEST) Subject: Re: [PATCH 14/14] docs: sphinx/kernel_abi.py: fix UTF-8 support To: Mauro Carvalho Chehab , Greg Kroah-Hartman Cc: Linux Doc Mailing List , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet References: <62c8ffe86df40c90299e80619a1cb5d50971c2c6.1560477540.git.mchehab+samsung@kernel.org> <20190614161837.GA25206@kroah.com> <20190614132530.7a013757@coco.lan> From: Markus Heiser Message-ID: <28aca947-4e88-7186-7f07-9a3ccb379649@darmarit.de> Date: Sun, 16 Jun 2019 17:43:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190614132530.7a013757@coco.lan> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Markus --