Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6099127ybi; Wed, 31 Jul 2019 08:20:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3mRyPUXIVCSCSjJRpR2sCHxKEF/Ud8/yQ8eSnamfOPg2jNxxjUyp5Yp935r+f7sNhXYLB X-Received: by 2002:a62:2d3:: with SMTP id 202mr48666223pfc.131.1564586407597; Wed, 31 Jul 2019 08:20:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564586407; cv=none; d=google.com; s=arc-20160816; b=hClklq0J5fyDLgFOUv5mvB9Vo4LJHSlS2Eoh+Wg7ldl5F+HTaoPZZIdRp+TXUPSU1Z WhrGivTxwY9S4kVMOK2bAAxJ8MN5IaZ+XNrzn6qC7wnrQg6eptPItx5f9her9mW1s/x4 7A3+T640bUrTuNfovf0Ubu5nLiYtFXApIUqBRe/i631fVz4j5rDq1iNidB3Rmr3hmHGX TR6nbsOpsG8KyxQncMd4RLPNveBF8+JDA1VYT6EC0tnOz7GwkDn/c/PcbEOYlzwc/QZg d0yhJvJXiauDEVD57z7iFgr40QQHG6DxXdkoG66mlIxE1JNR1GdtXKCpxdYIrx9ZTLCi H6ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date; bh=Zy/dKMTF68JeJCT8JExjKM9j/8aCTfDOOSBpz3eYB9Y=; b=xmOOAfoamSSOq9rDXZes6gO6cwXFpWZs0tsu0ELarvgtzM5gseGLEHIwOtNlritkP4 JMNDvSHsllX22tZRSY2afziZnyAZb+f0gWOiO+Bzzf9c9ozMscBvyNh7anHeComkdNHm /20RjqCRVgPqyjEtk6R6diAgZmdOGYMv8W0zpCBV6fHRzbCwzlDqGnu7FYjhotwTy1pL ucmLliXw+xaAXFnqKAHEt+RufVin+0bFwxgUnmrqtxWbydq7xTua/zHogb9w9+8mRIiz E3w9L9eXdvcxp+oYrcCTy7LOlhBxDYABybKu+cZG1GhxxvlavQ0c2/n0jLVj6lfRbYzv i3sg== ARC-Authentication-Results: i=1; mx.google.com; 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 b16si3980852pgh.296.2019.07.31.08.19.52; Wed, 31 Jul 2019 08:20:07 -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; 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 S1727026AbfGaNwJ (ORCPT + 99 others); Wed, 31 Jul 2019 09:52:09 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:48598 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726592AbfGaNwJ (ORCPT ); Wed, 31 Jul 2019 09:52:09 -0400 Received: (qmail 1670 invoked by uid 2102); 31 Jul 2019 09:52:05 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 31 Jul 2019 09:52:05 -0400 Date: Wed, 31 Jul 2019 09:52:05 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Mauro Carvalho Chehab cc: Joel Fernandes , Linux Doc Mailing List , Mauro Carvalho Chehab , , Jonathan Corbet , Andrea Parri , Will Deacon , Peter Zijlstra , Boqun Feng , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , "Paul E. McKenney" , Akira Yokosawa , Daniel Lustig , Ingo Molnar , Jason Gunthorpe , SeongJae Park , Subject: Re: [PATCH] tools: memory-model: add it to the Documentation body In-Reply-To: <20190730195744.3aef478e@coco.lan> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Alan Stern