From mboxrd@z Thu Jan 1 00:00:00 1970 From: Akira Yokosawa Subject: Re: [PATCH] tools: memory-model: add it to the Documentation body Date: Thu, 1 Aug 2019 00:19:25 +0900 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Alan Stern , Mauro Carvalho Chehab Cc: Joel Fernandes , Linux Doc Mailing List , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Andrea Parri , Will Deacon , Peter Zijlstra , Boqun Feng , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , "Paul E. McKenney" , Daniel Lustig , Ingo Molnar , Jason Gunthorpe , SeongJae Park , linux-arch@vger.kernel.org List-Id: linux-arch.vger.kernel.org On Wed, 31 Jul 2019 09:52:05 -0400, Alan Stern wrote: > On Tue, 30 Jul 2019, Mauro Carvalho Chehab wrote: > >> Em Tue, 30 Jul 2019 18:17:01 -0400 >> Joel Fernandes escreveu: > >>>>> (4) I would argue that every occurence of >>>>> A ->(some dependency) B should be replaced with fixed size font in the HTML >>>>> results. >>>> >>>> Just place those with ``A -> (some dependency)``. This will make them use >>>> a fixed size font. >>> >>> Ok, understood all these. I guess my point was all of these will need to be >>> done to make this document useful from a ReST conversion standpoint. Until >>> then it is probably just better off being plain text - since there are so >>> many of those ``A -> (dep) B`` things. > >> On a very quick look, it seems that, if we replace: >> >> (\S+\s->\S*\s\w+) >> >> by: >> ``\1`` >> >> >> On an editor that would allow to manually replace the regex (like kate), >> most of those can be get. >> >> See patch enclosed. > > Some time ago I considered the problem of converting this file to ReST > format. But I gave up on the idea, because the necessary changes were > so widespread and the resulting text file would not be easily readable. > > Replacing things of the form "A ->dep B" just scratches the surface. > That document teems with variable names, formulas, code extracts, and > other things which would all need to be rendered in a different font > style. The density of the markup required to do this would be > phenomenally high. > > In my opinion it simply was not worthwhile. +1 on keeping this and the other .txt files of LKMM intact. Thanks, Akira > > Alan Stern > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f193.google.com ([209.85.214.193]:41902 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729559AbfGaPTg (ORCPT ); Wed, 31 Jul 2019 11:19:36 -0400 Subject: Re: [PATCH] tools: memory-model: add it to the Documentation body References: From: Akira Yokosawa Message-ID: Date: Thu, 1 Aug 2019 00:19:25 +0900 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: Alan Stern , Mauro Carvalho Chehab Cc: Joel Fernandes , Linux Doc Mailing List , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Andrea Parri , Will Deacon , Peter Zijlstra , Boqun Feng , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , "Paul E. McKenney" , Daniel Lustig , Ingo Molnar , Jason Gunthorpe , SeongJae Park , linux-arch@vger.kernel.org Message-ID: <20190731151925.B5l_EGo5kf1jyZczCIgVPgFDcFlDofYuSofLO-JLWm4@z> On Wed, 31 Jul 2019 09:52:05 -0400, Alan Stern wrote: > On Tue, 30 Jul 2019, Mauro Carvalho Chehab wrote: > >> Em Tue, 30 Jul 2019 18:17:01 -0400 >> Joel Fernandes escreveu: > >>>>> (4) I would argue that every occurence of >>>>> A ->(some dependency) B should be replaced with fixed size font in the HTML >>>>> results. >>>> >>>> Just place those with ``A -> (some dependency)``. This will make them use >>>> a fixed size font. >>> >>> Ok, understood all these. I guess my point was all of these will need to be >>> done to make this document useful from a ReST conversion standpoint. Until >>> then it is probably just better off being plain text - since there are so >>> many of those ``A -> (dep) B`` things. > >> On a very quick look, it seems that, if we replace: >> >> (\S+\s->\S*\s\w+) >> >> by: >> ``\1`` >> >> >> On an editor that would allow to manually replace the regex (like kate), >> most of those can be get. >> >> See patch enclosed. > > Some time ago I considered the problem of converting this file to ReST > format. But I gave up on the idea, because the necessary changes were > so widespread and the resulting text file would not be easily readable. > > Replacing things of the form "A ->dep B" just scratches the surface. > That document teems with variable names, formulas, code extracts, and > other things which would all need to be rendered in a different font > style. The density of the markup required to do this would be > phenomenally high. > > In my opinion it simply was not worthwhile. +1 on keeping this and the other .txt files of LKMM intact. Thanks, Akira > > Alan Stern >