lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d739e7e1-4eca-b927-1df8-dd04bec3b85e@oracle.com>
Date:   Thu, 6 Aug 2020 10:36:17 +0200
From:   Vegard Nossum <vegard.nossum@...cle.com>
To:     Christoph Hellwig <hch@...radead.org>, peterz@...radead.org
Cc:     NeilBrown <neilb@...e.de>, Steven Rostedt <rostedt@...dmis.org>,
        Jonathan Corbet <corbet@....net>, linux-doc@...r.kernel.org,
        LKML <linux-kernel@...r.kernel.org>
Subject: Re: Minor RST rant


On 2020-08-06 08:48, Christoph Hellwig wrote:
> On Wed, Aug 05, 2020 at 05:12:30PM +0200, peterz@...radead.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ