git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: "docs: stop using asciidoc no-inline-literal" breaks asciidoc 8.2.5

From
Jeff King <peff@peff.net>
Date
May 29, 2012, 22:01 UTC
Message-ID
<20120529220113.GC17598@sigill.intra.peff.net>
In-Reply-To
<7vzk8q3h5c.fsf@alter.siamese.dyndns.org>
On Tue, May 29, 2012 at 12:45:51PM -0700, Junio C Hamano wrote:
Show 10 quoted lines
> > We could also keep the nice syntax and have some simple sed-based
> > pre-processor that converts the syntax to the older and more widely
> > supported version.
> 
> No, let's not go there.  I do not see any reason to believe that
> such a sed script would do an equally good or better job as native
> AsciiDoc implementation to deal with inline-literals.  That means we
> would end up writing our documentation with a subset of newer
> AsciiDoc that the custom sed script can grok---which defeats the
> purpose of the whole exercise.
Very much agreed; that way lies madness.
Show 12 quoted lines
> > Or we could just decide to break RHEL 5 and systems released at a
> > similar time, but that isn't what the patch suggested it was doing, so
> > we should probably step back and ponder whether that's something we
> > want to do.
> 
> Very true.  Jeff, how do we want to proceed?  For the upcoming
> release, I am inclined to say that we would revert 6cf378f (docs:
> stop using asciidoc no-inline-literal, 2012-04-26).  We would still
> need to double check the result, though. Documentation updates that
> came after it are written assuming "inline-literal" behaviour, and
> parts we may have "fixed" with the commit will format to their old
> rendition.

I'd really rather keep it; I won't repeat my arguments here, but I made several in a reply to Ævar elsewhere in the thread. However, if we do revert it, then it would be really great if somebody comes up with alternate solutions to fix the long list of bugs that were fixed by 6cf378f (they are all documented in the commit message). And it would be even greater if that somebody isn't me.

I think it would also be worth figuring out when a switch would be appropriate. Moving to inline literals is obviously the way forward (it's way less error-prone, and eventually asciidoc may deprecate or drop the backwards compatibility feature themselves). So it is simply a matter of time in deciding when. If not now, then when?

-Peff
Previous: Junio C HamanoNext: Jeff King
Message 5 of 15 in “"docs: stop using asciidoc no-inline-literal" breaks asciidoc 8.2.5”
  1. Ævar Arnfjörð BjarmasonMay 29, 2012
  2. Thomas RastMay 29, 2012
  3. Ævar Arnfjörð BjarmasonMay 29, 2012
  4. Junio C HamanoMay 29, 2012
  5. Jeff KingMay 29, 2012
  6. Jeff KingMay 29, 2012
  7. Dennis KaarsemakerMay 29, 2012
  8. Ævar Arnfjörð BjarmasonMay 29, 2012
  9. Ævar Arnfjörð BjarmasonMay 29, 2012
  10. Jeff KingMay 30, 2012
  11. Matthieu MoyMay 30, 2012
  12. 0/3 docs: asciidoc version tweaksJeff King, May 30, 2012
  13. 1/3 INSTALL: update asciidoc recommendationJeff King, May 30, 2012
  14. 2/3 docs: drop asciidoc7compatible flagJeff King, May 30, 2012
  15. 3/3 docs: drop antique comment from MakefileJeff King, May 30, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.