Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1191941pxa; Thu, 6 Aug 2020 01:42:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwloLDNOqqaMCKxv2x71/1gEKBIbQX0l5MbEYGas783/RrdUBlPXlLnRrNbFZmPetWSVdk9 X-Received: by 2002:a05:6402:1ac8:: with SMTP id ba8mr2956853edb.316.1596703337846; Thu, 06 Aug 2020 01:42:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596703337; cv=none; d=google.com; s=arc-20160816; b=0r3LGgmQV2QP3mOZIHgUJMepyBK/ep4Ru8vvPDtOmrd/UTfuVghZJPqgGyYWHgyPNV q/ospB0ySyh3SKgwzF9WgxJYALYCdMLJl9IUkPtvlswQF85BCYHNrXD0ziHzGu+I45QX pwPLpcUzug/0m5Q2rca8jtSSYR4IkusmuzCJsC5UfJUBZX4yKHQH9cKdsylCKtLtM3AP HegcFnv4oQKI/O38Qv80QNWWH2hbgOjK67+4AQkd278q7RmNQo4F/Eoc/Vc+xgSoomk+ cc4sR70h0FPIfpwQlWLLD/l+iPLNszz3jgfoNOaTo4dB8jaipiaUCUjTOqhbIOtwVqpe +8JQ== 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:dkim-signature; bh=lf50GodO0mCylc7OJJLRGIYO+4WAUG7p3sPhgRl0PVk=; b=TSJb/jnqupbZVnjwvu/QPaf56aon6O7ongn/j6ST41+c2UwzsdBjm6Yevj0XwX6f1O ZDqY5waTT+DzSCU46hi9CvnyFV0J8T19MqM/Fti0TeyjAtfhongbvDtg2mHTLpGMova2 srBJ5O9TojIFfC7SLO8ZzSaI9VDvfx6IODNTqEIxTyzA3Zk6G+QmirTd/hq8bDIpm9Rz Z+qDlDuxzZ3VZ+L4RycNtxAx+nk9oQePp414f8fVYdCTy2TGacWzhy0hmKeC5bi7sy6L aDJ2ZhZhSk/7Wi7M8jJ5ug8/o4wNHYhLxsqhQm6lYy1Qu421s3+lL0k2tuBFX4BM4yqg yxDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=PYkZEwya; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v5si2873897ejg.368.2020.08.06.01.41.55; Thu, 06 Aug 2020 01:42:17 -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; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=PYkZEwya; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728557AbgHFIjE (ORCPT + 99 others); Thu, 6 Aug 2020 04:39:04 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:35314 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726551AbgHFIjC (ORCPT ); Thu, 6 Aug 2020 04:39:02 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0768W6xm124452; Thu, 6 Aug 2020 08:38:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=lf50GodO0mCylc7OJJLRGIYO+4WAUG7p3sPhgRl0PVk=; b=PYkZEwyaAy97LKM1cBB6joJzabSMnCLElGbAySJCQBIpEie/sXyKzz+E2jmHzrjHYvY/ KID+gQXEAER/FuMaNVvv3A3DHZHoINpypTv2g3+rj4pIgbjCXt9BjExRwejzzCxtzYf1 Uy3ol5cKz+eAa+vk3oN89OLAx9KtJHNzYfJ2xr490ttUiHoF0XTZpIb4fBqBBVxqc7KD tQuuGOFASV9no9BNU7KevdBpHgNEog5+eKqpftYltlYQTmzbe7ew4HR4D6+AWOzNMK7z w8LUob3ttMME1ccv8QZC3EElvvyPtdr1yXWg816TQ7qnemFcsPBLpsx3QSZ5WD77mFiP +A== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 32r6ep1kg3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 06 Aug 2020 08:38:27 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0768X5Mh164119; Thu, 6 Aug 2020 08:36:26 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 32qy8mwhab-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 06 Aug 2020 08:36:26 +0000 Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0768aNQd018198; Thu, 6 Aug 2020 08:36:24 GMT Received: from [10.175.60.188] (/10.175.60.188) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 06 Aug 2020 01:36:23 -0700 Subject: Re: Minor RST rant To: Christoph Hellwig , peterz@infradead.org Cc: NeilBrown , Steven Rostedt , Jonathan Corbet , linux-doc@vger.kernel.org, LKML References: <20200724132200.51fd2065@oasis.local.home> <20200724113325.44923f75@lwn.net> <20200724144234.3227b501@oasis.local.home> <877dusv5lc.fsf@notabene.neil.brown.name> <20200729124445.GB2638@hirez.programming.kicks-ass.net> <1e60ff85-4965-92cb-e50b-8ea9ccf6788e@oracle.com> <20200805151230.GT2674@hirez.programming.kicks-ass.net> <20200806064823.GA7292@infradead.org> From: Vegard Nossum Message-ID: Date: Thu, 6 Aug 2020 10:36:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200806064823.GA7292@infradead.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9704 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 spamscore=0 bulkscore=0 mlxscore=0 mlxlogscore=853 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008060059 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9704 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 malwarescore=0 clxscore=1011 mlxscore=0 priorityscore=1501 adultscore=0 impostorscore=0 lowpriorityscore=0 phishscore=0 spamscore=0 mlxlogscore=871 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008060059 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-08-06 08:48, Christoph Hellwig wrote: > On Wed, Aug 05, 2020 at 05:12:30PM +0200, peterz@infradead.org wrote: >> On Wed, Aug 05, 2020 at 04:49:50PM +0200, Vegard Nossum wrote: >>> FWIW, I *really* like how the extra markup renders in a browser, and I >>> don't think I'm the only one. >> >> The thing is, I write code in a text editor, not a browser. When a >> header file says: read Documentation/foo I do 'gf' and that file gets >> opened in a buffer. >> >> Needing a browser is a fail. > > And that is my main problem with all the RST craze. It optmizes for > shiny display in a browser, but copletely messed up the typical > developer flow. > If you are using vim, you can put this in ~/.vim/after/syntax/rst.vim: syn region rstInlineLiteral matchgroup=Special start="``" end="``" concealends syn region rstEmphasis matchgroup=Special start="\*\*" end="\*\*" concealends setlocal conceallevel=2 This will hide the ``foo`` and **bar** markup on lines that are not currently under the cursor. Vegard