Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2382417ybh; Fri, 24 Jul 2020 11:18:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/tUFVuwOF6aaP0zIhuTRvvfW5LF0nwlZjnEWM5f7xJ6vx5Q/JFSwZ8VhjqCUcJRCE+nny X-Received: by 2002:a17:906:6442:: with SMTP id l2mr1564031ejn.383.1595614687088; Fri, 24 Jul 2020 11:18:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595614687; cv=none; d=google.com; s=arc-20160816; b=VblMAGAtZ/+QE6+n1FkspVp3k7AxY60OuTwXDt+bO5+lj1MHKf4HZgZ+1H8yN7GTyK AklpmiIpqRn+fk5m2F2eX1ZmaKMz2cIrStWP0Ww74on55BmE7XEA5C8UN88gNKISCj44 eCLQRcqtN5XkQLpeAb810S8BEsxzc2TThqgouOT1opeLGmZ2T2N9JWvO5rVmnW+2hVfN rO2k9C6e+1kArWmnjFIoM1liL3Pvv7Zur6UQDFmd/6lCg5OiucuyNg8w9xVXkmaWnyPp MHceV1q+gpfMSYhK8NLWfOOzevy0pYKGEH2MjB5fW+Q1gnFL1a5NRq5wU17zQUwWYVCA F35g== 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:mail-followup-to :reply-to:message-id:subject:cc:to:from:date; bh=c8vC2b/aSbExBYD5kR/OEMl7uZ5fDNIsNwYGqZvfzz0=; b=RC3VNpTN3dQSm/sGi3NgsYzuV06NBZ74xI0B/k9CDO2teQJ5wE49AITSolRDaqaA6z Og4BpU9Oqyciz9YSqCKR67fCy1yJsk34DWLbwNGk+bIlaQe6mDyj74NDYpoCCvcEUYUV CsKPpQboYO+ltGG3qk6n+8xWX7bUYz9yIhBirfx5beeEgiAapUdBZqnE1oFP6r7Qzt/h Whge7PmpLW1DNp3bTRrLg83+UP4rCX9ZF+iZ5GmkqcfUB5MVqwBrp3CkL2vUptgKWxP5 G5CjEgVVD6XUv/QJRNIfEQRKZ7ivlHkBTW2fLP1lNxWYrHuHUfpKhbD4qkRIR/9HY4H0 Hegg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si998653ejv.483.2020.07.24.11.17.44; Fri, 24 Jul 2020 11:18:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726703AbgGXSPW (ORCPT + 99 others); Fri, 24 Jul 2020 14:15:22 -0400 Received: from mx2.suse.de ([195.135.220.15]:33224 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726326AbgGXSPW (ORCPT ); Fri, 24 Jul 2020 14:15:22 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 4B570AAC7; Fri, 24 Jul 2020 18:15:29 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id D048CDA701; Fri, 24 Jul 2020 20:14:53 +0200 (CEST) Date: Fri, 24 Jul 2020 20:14:53 +0200 From: David Sterba To: Matthew Wilcox Cc: Steven Rostedt , Jonathan Corbet , Peter Zijlstra , linux-doc@vger.kernel.org, LKML Subject: Re: Minor RST rant Message-ID: <20200724181453.GH3703@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Matthew Wilcox , Steven Rostedt , Jonathan Corbet , Peter Zijlstra , linux-doc@vger.kernel.org, LKML References: <20200724132200.51fd2065@oasis.local.home> <20200724174130.GC23808@casper.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200724174130.GC23808@casper.infradead.org> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 24, 2020 at 06:41:30PM +0100, Matthew Wilcox wrote: > I think we're all pretty comfortable seeing function names adorned with > a closing pair of parens. The ``...`` to adorn constants feels OK to me, > but maybe not to you? If that feels excessive, can you suggest something > that would distinguish between POSIX and AT_EMPTY_PATH? > > [1] Too far being a subjective measure, of course. My preferences > are on display in core-api/xarray.rst I like that minimalistic style and I'd suggest to use the quotes only for the document-specific definitions, eg. the XA_ macros, and drop quotes around NULL or other standard macros like LONG_MAX. The quotes are hilighted in vim and seeing NULL is actually distracting. Functions get automatically converted to html links so this does not need to be explicitly quoted, but similar to wikipedia style, the first mention could be quoted to provide a visual anchor.