discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Kristaps Dzonsons <kristaps@bsd.lv>
To: discuss@mdocml.bsd.lv
Cc: Ingo Schwarze <schwarze@usta.de>
Subject: Re: -man "line scope broken"
Date: Wed, 23 Mar 2011 10:49:29 +0100	[thread overview]
Message-ID: <4D89C229.4040807@bsd.lv> (raw)
In-Reply-To: <20110323010710.GC22498@iris.usta.de>

>> The TODO states:
>>
>> - bashbug(1) complains "line scope broken" after
>>    .SM
>>    .B something
>>    should either just work or be a warning
>>    reported by naddy@
>>
>> I don't understand this.  Why shouldn't it be an error (it's a
>> regular error, not a fatal one)?  After all, the `SM' is lost by the
>> subsequent `B' (tested under groff -Tps): information is clearly
>> lost.
>
> What i meant when writing "... but typically, preparing that output
> involves information loss, ..." in mandoc(1) was _significant_
> information loss, i.e. loss of information that the manual author
> intended to convey to the manual reader, typically loss of a part
> of the text of the manual, as opposed to loss of information in a
> mathematical sense.  When there is no text to be lost, even if the
> information is lost that these zero words should be rendered in
> small font, i don't think we need to regard that as significant
> information loss.  Even less so given that we don't distinguish
> font sizes in terminal output anyway, which is the most important
> output mode.
>
> Maybe we can amend the wording in the manual to reduce the risk
> of confusion?  But i don't have a good suggestion to improve the
> wording right now...
>
>> Changing it to a warning is trivial, but I want to be sure
>> that this is meaningful.
>
> In think the description of a warning fits quite well here:
>
>     warning  An input file uses obsolete, discouraged or non-portable
>              syntax.  All the same, the meaning of the input is
>              unambiguous and a correct rendering can be produced.
>
> Which is, here, dropping the .SM and rendering "something"
> as plain bold.

Ingo,

Thanks for the clarification---the language is pretty clear, I just 
wanted to be doubly-sure that downgrading was the correct solution.

Anyway, this has been fixed.  Thanks!

Kristaps

--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

      reply	other threads:[~2011-03-23  9:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-22 16:05 Kristaps Dzonsons
2011-03-23  1:07 ` Ingo Schwarze
2011-03-23  9:49   ` Kristaps Dzonsons [this message]

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

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

  git send-email \
    --in-reply-to=4D89C229.4040807@bsd.lv \
    --to=kristaps@bsd.lv \
    --cc=discuss@mdocml.bsd.lv \
    --cc=schwarze@usta.de \
    /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.
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 NNTP newsgroup(s).