tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Baptiste Daroussin <bapt@freebsd.org>
To: Ingo Schwarze <schwarze@usta.de>
Cc: tech@mandoc.bsd.lv
Subject: Re: Naive patch for handling empty input
Date: Fri, 13 Oct 2023 13:22:41 +0200	[thread overview]
Message-ID: <oqdw3g4kazilddzww7pdnppsdrak4iuad3cv2qqr672uzx2v7t@lz73aj65rhxe> (raw)
In-Reply-To: <ZSkkb9WDKI5s8wl8@asta-kit.de>

On Fri, Oct 13, 2023 at 01:05:19PM +0200, Ingo Schwarze wrote:
> Hi Bapt,
> 
> Baptiste Daroussin wrote on Fri, Oct 13, 2023 at 12:22:09PM +0200:
> 
> > I was looking for compatibility with groff like you showed above, this
> > is an "issue" a user reported, he was expecting to have an empty output
> > if provided an empty input, but if the current behaviour is how you think
> > mandoc should behave, I am fine with closing the report with work as
> > intended.
> 
> It might be useful to ask the user first *why* they want that
> particular behaviour, and how they think mandoc(1) should behave
> without .TH or .Dd in general, and why they want specific behaviour
> in such cases of degenerate input.
> 
> It is conceivable that maybe they have an interesting reason,
> and knowing that reason might help to make mandoc better?
> I'm not sure it will, but i'm not sure that possibility can be
> excluded, either.

I am not sure, the report happened here:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274247

Best regards,
Bapt
--
 To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv


  reply	other threads:[~2023-10-13 11:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-13  7:30 Baptiste Daroussin
2023-10-13 10:13 ` Ingo Schwarze
2023-10-13 10:22   ` Baptiste Daroussin
2023-10-13 11:05     ` Ingo Schwarze
2023-10-13 11:22       ` Baptiste Daroussin [this message]
2023-10-13 11:52         ` Ingo Schwarze

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=oqdw3g4kazilddzww7pdnppsdrak4iuad3cv2qqr672uzx2v7t@lz73aj65rhxe \
    --to=bapt@freebsd.org \
    --cc=schwarze@usta.de \
    --cc=tech@mandoc.bsd.lv \
    /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).