Received: by 10.192.165.148 with SMTP id m20csp1367892imm; Thu, 10 May 2018 09:35:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoXUegwL9UavAYzo+T0rjrhprr7I8g1bjgPZAfLo9ela02fKBKSv51y092Hh0h8q5jhke85 X-Received: by 2002:a65:55ca:: with SMTP id k10-v6mr1723826pgs.422.1525970157246; Thu, 10 May 2018 09:35:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525970157; cv=none; d=google.com; s=arc-20160816; b=czQWxMH7hd7aaMNyjP35tBxOqfnnWcntxh2ZQHKkmsD2bjYE+INJOoIZmQawcxqI0c 4YIesvqFRfK+OryW9xDspVx3/pciEgFmWUocXlVohQE8A4s/KjoOSzn2jvGfgI6gIcdP pbhcMDQvH9QrKR8HeuudZ068zrZXuh3xB2ZxDDw8eBvBKFaFYC1WuR5BXyM0qFOe5ai0 bxml73LyZKHNM4TVuMaj0jt8iYpr3TUkt5Gt5X4n2PE+NUTR21X45bL0unQuYGfCpa/7 hYE9E81VQO9bbpOfW4mfGiMAXGygb9nyZ5QuTG23UKnj+P058bq48zVi1dYTd3hdNtdf sDOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=Fexp7bhbcjZvaNOfeGfDXgYRBAXsGLocCyoyaRBbeHY=; b=flyogs+Rmyp5Uystg4Rnfa3z+WDUUtGzsAinc4CTgSno7J6wlR9NSlMDxnKjRLPNpP fXnb4MQC7z8kJ0y3eh3VZ+UxUbYB58LrgOJxm0uMUa/zpG0IHq5zNhvbZvgS2K/YhghK OuRGnQFlR7CY/QnrzmeKhJHFMnfk7It7Yw2iUBC3lxx0Z8P6GbCzWzY4JvD8doTy6IiM lCsT4NfJTOY8oSIe3WbkuTZ4iRw99B+VaojANFpOrYwBFSHF0MrEhDwOWUNl7MbgQK9a irubPL5QVagEcT/kHkNMxi4K60FsqtxKDHyzcnClQVOhmd/Icco5t75NQS3ylANQB8he Snyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=oaw5aSlP; 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 p2-v6si995868pge.513.2018.05.10.09.35.42; Thu, 10 May 2018 09:35:57 -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=bombadil.20170209 header.b=oaw5aSlP; 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 S966517AbeEJQfA (ORCPT + 99 others); Thu, 10 May 2018 12:35:00 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:34530 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965017AbeEJQe6 (ORCPT ); Thu, 10 May 2018 12:34:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding: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=Fexp7bhbcjZvaNOfeGfDXgYRBAXsGLocCyoyaRBbeHY=; b=oaw5aSlP/djr6lMOTOa/FSJci uvGso09D9YSlebvphERMwrXvLq32l3ADfNLeSZgInhQ1ICaajdjTj30aJpMtcXKNVh5YaoPJVrRf4 SwCloCDvLvpqs8+3LoKeBAT+4kZDBBYK1o/C3PQGoSjJdmCoNMD5K4raGDYDv1JUYzvrpMM3X/usB qPasqKcc7K/VO2qXcMp5/Dgb8+IggQna9LcMISWgNx517HxrpHJvh7C1XlbvnQqrP79BcDVGN4qx7 KdaYAeduMDXYnXHbGwIrrcGDQrlmKxHqsnElcs595DZM2C+cavoKgrBcuZ5DeDC4wkgaDuouF6kjF EkYEHlKig==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fGoWv-0001PU-4R; Thu, 10 May 2018 16:34:57 +0000 Date: Thu, 10 May 2018 09:34:56 -0700 From: Matthew Wilcox To: Mauro Carvalho Chehab Cc: Jonathan Corbet , Mauro Carvalho Chehab , Christoph Hellwig , Linux Doc Mailing List , linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra Subject: Re: [RFC PATCH 1/2] scripts/kernel-doc: Auto-detect common code-blocks Message-ID: <20180510163456.GC30442@bombadil.infradead.org> References: <2ac6e3da22119f714406925139e40f4d835d11a4.1525962971.git.mchehab+samsung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2ac6e3da22119f714406925139e40f4d835d11a4.1525962971.git.mchehab+samsung@kernel.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 10, 2018 at 10:38:16AM -0400, Mauro Carvalho Chehab wrote: > Comments that end with a comma and have certain keywords > should be presented as code-blocks I think this is a bit fragile. Why not just search for ':\n'? Is there ever a case where we want to write: /** * foo is a bar: * wibble */ and have wibble not be a code-block?