From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 19483 invoked from network); 13 Oct 2023 11:22:45 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 13 Oct 2023 11:22:45 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 408aeba5 for ; Fri, 13 Oct 2023 11:22:44 +0000 (UTC) Received: from mx2.freebsd.org (mx2.freebsd.org [96.47.72.81]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 2acd6519 for ; Fri, 13 Oct 2023 11:22:44 +0000 (UTC) Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "R3" (verified OK)) by mx2.freebsd.org (Postfix) with ESMTPS id 4S6PHm0W33z3bdv; Fri, 13 Oct 2023 11:22:44 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S6PHl6bVdz4b4G; Fri, 13 Oct 2023 11:22:43 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697196163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=U+lCxf2nom9hNLKjLkNjaySlneZxZR9n6Lp5Ms+zOYY=; b=qT4o9c7uu4H7Z25zVQpZKUn3ZoQbMFFLzRktKQwoXBy2P0aAxC5ZqvzRLd59wyHYY7l09F cRP4Rf8BO44sCIqZb4LfK526kIu5ZqqRcs9be9jnxh9ISmdAXLf1jV8nDbybQqSyMpqsBn br7eziTTL1NpGpOS89vesE0lo6HMHBBQJMRPMA8y9uQ5KDRwiIDtkIetChzTPq7qulQdpZ Knq24bTxPblB2jwsa2Y33RkzvDnoE2Qum2tNYgfo+oWHOOInYI+QTAzI+PLiN3ywd5mdCx JONNQx3TToewM5mXM7JiDFDPZcmoWsgNi65UvDLtxgboprwMsqXkeNTt8GbqTg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697196163; a=rsa-sha256; cv=none; b=IWTmlzj49enqrSe53khdDNYvfV4cZCRnn+zBsx6+If3QaQiN34vwfE3OVEkLm09YBL3zEd WoDbOoa7HuBCraFWqIwpc/Xo46rE/Do5f3WkL0pLjowq/D353p7ZyWpCP3XRuAc3UEoUXp zOWlh5cn5hUA3Aw640NgPREiONQ5TZ7M7JusdroMWFR/3THVTFLW9SurljnlkiS8TJn5Qy udB/qZKHEN6PyRCs7NXMCzYhTmBVpxQvKB4dCJSHlFa7XapzNgwhsWjVz1gzGq2tNsTsmd atuydCspF5+4JEk2lOA/zQQTd8Z7QUF4xzdzQerCy0qT+E3IiwKkjfc9N5eaYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697196163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=U+lCxf2nom9hNLKjLkNjaySlneZxZR9n6Lp5Ms+zOYY=; b=p+c0C+Z769WHMagJT4xfBE3noFXAIm/mTaWZFecTtFi1Dl6zOcCw8vOfZU2zcSYNIKn2eK acvN9xpkiI8i3amq8vEbxnpQBZ8XvCSjNTGXnA6MvT2g2uVFtkWOMZNWTppuXq3ZlPmVtl 9xHVrbb95F4gEBdriY/31HOkUjoReNih0OUn+uald5Q75Y8oTvTtAMgJkDHTX+lT5P5Yqz VM4jjb5jbIFitEysMcoLndFwloRPqHi5ZHsNwDTn5SlGkPpPlL7I3FsszTlJ2ZpxgelLr9 yFQR82gggXPgpPfcAEtonVdcNZT+SZ0ND/zsgG7pxk3eR2eY7kNpccItbT0szw== Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4S6PHl552tz1G0s; Fri, 13 Oct 2023 11:22:43 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id DE6231398D0; Fri, 13 Oct 2023 13:22:41 +0200 (CEST) Date: Fri, 13 Oct 2023 13:22:41 +0200 From: Baptiste Daroussin To: Ingo Schwarze Cc: tech@mandoc.bsd.lv Subject: Re: Naive patch for handling empty input Message-ID: References: X-Mailinglist: mandoc-tech Reply-To: tech@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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