Received: by mail.netbsd.org (Postfix, from userid 605) id 4CEC285628; Thu, 14 Oct 2021 21:31:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3EABB8568A for ; Thu, 14 Oct 2021 21:17:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id hVrUO0wOzoG7 for ; Thu, 14 Oct 2021 21:17:43 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 2BF51857C0 for ; Thu, 14 Oct 2021 20:23:43 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 29652F996; Thu, 14 Oct 2021 20:23:43 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 14 Oct 2021 20:23:43 +0000 From: "Roland Illig" Subject: CVS commit: src/usr.bin/indent To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20211014202343.29652F996@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Roland Illig" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: rillig Date: Thu Oct 14 20:23:43 UTC 2021 Modified Files: src/usr.bin/indent: pr_comment.c Log Message: indent: clarify that 25 is a magic number The extra line width for comments to the very right is just that, an arbitrarily chosen number. It neither has to be a multiple of 8, nor of the tabsize nor of the indentation. Since 25 is neither of these, this makes it a perfect choice, allowing these extreme comments to have 22 characters per line with -sc (leading asterisks in comment continuations, the default) or 25 without. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/usr.bin/indent/pr_comment.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.