git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Derrick Stolee <derrickstolee@github.com>
Cc: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>,
	"Derrick Stolee via GitGitGadget" <gitgitgadget@gmail.com>,
	git@vger.kernel.org, me@ttaylorr.com, Johannes.Schindelin@gmx.de
Subject: Re: Rendering back-ticks in plaintext docs (was Re: [PATCH] git-rebase.txt: use back-ticks consistently)
Date: Tue, 28 Jun 2022 09:59:40 -0700	[thread overview]
Message-ID: <xmqqfsjolo5f.fsf@gitster.g> (raw)
In-Reply-To: <a01c1ff7-74a7-b32f-1a1e-a8f2e840ae31@github.com> (Derrick Stolee's message of "Tue, 28 Jun 2022 09:20:24 -0400")

Derrick Stolee <derrickstolee@github.com> writes:

>> I see Phillip spotted some of this already, but the "exec" change here
>> looks unwanted, i.e. let's use double quotes there.
>
> This is definitely an issue where I was looking at the HTML formatted
> output, which respects back-ticks. Thanks for pointing out that the
> text docs just ignore back-ticks. This seems problematic, in my opinion.
>
> Is it possible to update our doc formatting to convert back-ticks into
> something like single quotes? That would help these plain-text documents
> point out these places where exact strings are very important.
>
> I also have no idea where to look to make such a change, and it would be
> very wide-ranging. I just think that the plaintext docs are currently a
> lossy medium and we should work to improve that.

Looking at "man -l git-rebase.1" output, not the "doc-diff" output
that renders to pure plain text by deliberately losing font
information in the roff output, I think this change is OK.  IOW,
"git help -m rebase" shows these marked-up parts in bold on the
terminal (and on the paper, but who prints manual pages theres
days?), which is what we want.

If there is something we found in this episode that we might want to
improve, it is doc-diff, I would think.

Thanks.

  reply	other threads:[~2022-06-28 17:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-27 21:21 [PATCH] git-rebase.txt: use back-ticks consistently Derrick Stolee via GitGitGadget
2022-06-28  9:59 ` Phillip Wood
2022-06-28 19:29   ` Derrick Stolee
2022-06-28 10:22 ` Ævar Arnfjörð Bjarmason
2022-06-28 13:20   ` Rendering back-ticks in plaintext docs (was Re: [PATCH] git-rebase.txt: use back-ticks consistently) Derrick Stolee
2022-06-28 16:59     ` Junio C Hamano [this message]
2022-06-28 16:54 ` [PATCH] git-rebase.txt: use back-ticks consistently Junio C Hamano
2022-06-28 19:40   ` Derrick Stolee
2022-06-28 20:02 ` [PATCH v2] " Derrick Stolee via GitGitGadget
2022-06-28 21:49   ` Junio C Hamano
2022-06-29  9:31     ` Phillip Wood
2022-06-29 12:40       ` Derrick Stolee
2022-06-30 17:18       ` Junio C Hamano
2022-06-29 12:43     ` Derrick Stolee
2022-06-29  9:27   ` Phillip Wood
2022-06-29 12:41     ` Derrick Stolee
2022-06-29 13:21   ` [PATCH v3] " Derrick Stolee via GitGitGadget
2022-06-29 15:21     ` Phillip Wood
2022-06-30 17:25       ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqfsjolo5f.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=avarab@gmail.com \
    --cc=derrickstolee@github.com \
    --cc=git@vger.kernel.org \
    --cc=gitgitgadget@gmail.com \
    --cc=me@ttaylorr.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).