From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Olivier Certner Newsgroups: gmane.emacs.bugs Subject: bug#63072: 28.2; CC Mode: Fix "bsd" style and add "freebsd" and "openbsd" ones Date: Tue, 25 Apr 2023 19:49:09 +0200 Message-ID: <5023567.7IPSAfTSoR@ravel> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7Bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11502"; mail-complaints-to="usenet@ciao.gmane.io" To: 63072@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 25 19:50:15 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1prMnv-0002t0-Fn for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Apr 2023 19:50:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prMnl-0006jn-3X; Tue, 25 Apr 2023 13:50:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prMnj-0006jZ-Lb for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2023 13:50:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1prMnj-0000lQ-9C for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2023 13:50:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1prMni-00067d-2k for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2023 13:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Olivier Certner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Apr 2023 17:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63072 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.168244496523479 (code B ref -1); Tue, 25 Apr 2023 17:50:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Apr 2023 17:49:25 +0000 Original-Received: from localhost ([127.0.0.1]:53527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prMn7-00066c-Jy for submit@debbugs.gnu.org; Tue, 25 Apr 2023 13:49:25 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prMn6-00066U-5I for submit@debbugs.gnu.org; Tue, 25 Apr 2023 13:49:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prMn0-0006dI-M3 for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2023 13:49:20 -0400 Original-Received: from smtp2-g21.free.fr ([2a01:e0c:1:1599::11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prMmw-0000YV-QT for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2023 13:49:16 -0400 Original-Received: from ravel.localnet (unknown [90.118.140.172]) (Authenticated sender: ocert.dev@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 53DA12018BB for ; Tue, 25 Apr 2023 19:49:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1682444950; bh=cmE+jV6t8+pRVvHhdlVgkynZWsmQ3xY1BjY2DtsGYMM=; h=From:To:Subject:Date:From; b=Iljf+fnOOgnl7/CPPhE5ZpnUCfRZ38TCIiXlKUBkLqqp4gU8SDJ2shE55qyg0Daz9 xhqt+X5X7iB1YF7QFvC9lx9hN9YwJ90BCbrWAOmpRXcUau/c9pwgsPC/tegXOopo1j t1tqUC1I4FMtcKSL3BCI3qDRGVOsiAi4pmWHVCJdUfiVw9rr1dxgDkJw4hmxaJuaYU 3kpcg0noygsJUs8paZLvjIp22Jpptyu3fqOn9b0ogUpMKKMH3A4Eihpk6t07p24HK/ g+gq/4V3AdhysF8iUTXxYF5HcH1bOIy5fq4n6iFh2Wq0dxa7v68Vrkf4zpZ7ps0bmn 9QBC6I3L/6F4w== Received-SPF: pass client-ip=2a01:e0c:1:1599::11; envelope-from=ocert.dev@free.fr; helo=smtp2-g21.free.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260635 Archived-At: Hi, I noticed that the current "bsd" CC mode style is not compliant with what all BSDs have been doing since their inception. This is the first patch. Also, FreeBSD and OpenBSD have been having more stringent requirements (as documented in their style(9) manpage; for more than 20 years). So the second patch creates specific "freebsd" and "openbsd" styles deriving from "bsd" and adding just the two additional requirements. Patches to be attached after the bug report is created and assigned an ID. Regards. -- Olivier Certner