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 22:57:29 +0200 Message-ID: <4964691.nKnxuYGXMN@ravel> References: <5023567.7IPSAfTSoR@ravel> <83fs8nvnz6.fsf@gnu.org> 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="6329"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63072@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 25 22:58:30 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 1prPk6-0001WW-6v for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Apr 2023 22:58:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prPji-0004GG-Dq; Tue, 25 Apr 2023 16:58:06 -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 1prPjf-0004Fw-Ps for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2023 16:58:04 -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 1prPje-0007Gm-VW for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2023 16:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1prPje-00038L-Ac for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2023 16:58: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 20:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63072 X-GNU-PR-Package: emacs Original-Received: via spool by 63072-submit@debbugs.gnu.org id=B63072.168245625712012 (code B ref 63072); Tue, 25 Apr 2023 20:58:02 +0000 Original-Received: (at 63072) by debbugs.gnu.org; 25 Apr 2023 20:57:37 +0000 Original-Received: from localhost ([127.0.0.1]:53686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prPjE-00037e-Gh for submit@debbugs.gnu.org; Tue, 25 Apr 2023 16:57:36 -0400 Original-Received: from smtp2-g21.free.fr ([212.27.42.2]:24728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prPjA-00037T-7N for 63072@debbugs.gnu.org; Tue, 25 Apr 2023 16:57:36 -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 BC980200709; Tue, 25 Apr 2023 22:57:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1682456250; bh=1WHFeI77lPsaR9tuoLWU+xAI/O5DSsCvcDw5nRclxCM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f13gZgouKi3CwZRk2WEJWXBw8CDRhx1mF1vpxayW7rjmU1bKvyjl6qHnvns6CjNt3 5eGrd3pzdHzN2mjfIb0aPXFzIayQBrPF0r0NE4NRSPxWeUjspVEIkvaYUg5VmU6YkV 5l9oI+t3u7BipaslJvwdyG5Odkai4jrvm10uCZ7vIJRilO8v5BWfj82rEi3m5DpZ3t j2C+jE5vWQKOd3sSMUUKHYi4jFAWLMl+vREfO1Ob8Kyc7O0WjIwN2ZrDVTN/v8km06 wJL7DH7cPU1sxHLa2ETqe+Q8a/4q10CeozofALZ8QIePXUUMDDzY+N1WKCfN0wggN9 r1BQixxgjS19g== In-Reply-To: <83fs8nvnz6.fsf@gnu.org> 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:260639 Archived-At: > ENOPATCH, Yes. See end of initial message + was temporarily distracted. > but in any case, I don't think we can change a style that > was in use for such a long time. So I suggest instead to create a new > style, say bsd2 or somesuch. That may be a problem, not so much for the ancient "bsd", but for the new ones. After more reading, it seems that this "bsd" is in fact Allman's style, which indeed differs for the style used by BSD projects. So, I'm pondering with using "bsd-knf" instead (for Kernel Normal Form), which appears to be the dedicated term (and is even documented in Wikipedia). What I intend to do with "freebsd" and "openbsd" is to have styles reflecting the current practice for these projects. Which means they can (in fact, most probably will) be changed in the future according to how they amend their style guidelines. If this policy of changes is documented, is that OK? For those who want to use the current style for whatever project they have and don't want it to change afterwards, we could, e.g., make "freebsd" an alias of some "freebsd1" style (let's say, for version 1), and they would "freebsd1", i.e., a specific version that will not change. I'm not sure if this will be useful for some people, but at least it is cheap to do so we should probably do it even if in the end nobody would use it. I think I need a little bit more reading and pondering (and your answers) before I can actually submit meaningful patches. (So the interruption might have been a blessing.) Thanks. -- Olivier Certner