Received: (at 63286) by debbugs.gnu.org; 5 May 2023 11:14:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 05 07:14:54 2023 Received: from localhost ([127.0.0.1]:53258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1putOn-0002a5-19 for submit <at> debbugs.gnu.org; Fri, 05 May 2023 07:14:54 -0400 Received: from mx3.muc.de ([193.149.48.5]:12886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <acm@HIDDEN>) id 1putOg-0002Zi-1J for 63286 <at> debbugs.gnu.org; Fri, 05 May 2023 07:14:51 -0400 Received: (qmail 17365 invoked by uid 3782); 5 May 2023 13:14:38 +0200 Received: from acm.muc.de (pd953a753.dip0.t-ipconnect.de [217.83.167.83]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 05 May 2023 13:14:38 +0200 Received: (qmail 20405 invoked by uid 1000); 5 May 2023 11:14:38 -0000 Date: Fri, 5 May 2023 11:14:38 +0000 To: Olivier Certner <ocert.dev@HIDDEN> Subject: Re: bug#63286: 30.0.50; CC Mode: New `c-for-clauses-as-arglist' style variable Message-ID: <ZFTlHmImtIEsQRpi@ACM> References: <1769719.uSAL7GYomB@ravel> <2123423.7n0gGkaxiF@ravel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2123423.7n0gGkaxiF@ravel> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie <acm@HIDDEN> X-Primary-Address: acm@HIDDEN X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63286 Cc: 63286 <at> debbugs.gnu.org, acm@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello, Olivier. Thanks for working on this. On Fri, May 05, 2023 at 00:22:12 +0200, Olivier Certner wrote: > Proposed change. But, first things first, please. What is the problem that your change is intended to fix? What current indentation is suboptimal? Have you tried fixing it by less radical means and not managed? > -- > Olivier Certner [ .... ] -- Alan Mackenzie (Nuremberg, Germany).
bug-gnu-emacs@HIDDEN
:bug#63286
; Package emacs
.
Full text available.Received: (at 63286) by debbugs.gnu.org; 5 May 2023 04:56:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 05 00:56:52 2023 Received: from localhost ([127.0.0.1]:52820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1punUv-00027m-RP for submit <at> debbugs.gnu.org; Fri, 05 May 2023 00:56:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1punUs-00027U-0M for 63286 <at> debbugs.gnu.org; Fri, 05 May 2023 00:56:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1punUl-0003H8-Ca; Fri, 05 May 2023 00:56:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=9a98CkyApnCQJwRp1w7BB49Pdr3ZrwOfWi8YFnsReKs=; b=E+y46GADUxhe bjA1MZ6O07td3VDM/GNU6aR601w8P7K1ViXCp73BfDtuCElt3gkBViyjShLFM3GAfCoBHROh2080G ++nbxDhp+HhgIPQV6cB4hDkHkpVkxBAT2h+CxasIILWYfaS95H6apk1dVScjDDVeutQpSkm2WndKa o8VtK9GTs8DeUd6Rf+WXk+oX9vMYBbJUKMKEBfOxnrbHyToBOV4InR1hTGh0GoHWNPhA4jWzP/hYH oiAHCXEA49mZFsVRfToXmMJdxZcCmZnx+rOBTtXmqG5XHc+7RhjFaxJUjSfHU7aw1E+A8rKGl1Fmm 4WcLVEaq4JA5CQcw3M3Uwg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1punUk-0000Nf-QR; Fri, 05 May 2023 00:56:39 -0400 Date: Fri, 05 May 2023 07:57:32 +0300 Message-Id: <83sfcbjryb.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Olivier Certner <ocert.dev@HIDDEN>, Alan Mackenzie <acm@HIDDEN> In-Reply-To: <2123423.7n0gGkaxiF@ravel> (message from Olivier Certner on Fri, 05 May 2023 00:22:12 +0200) Subject: Re: bug#63286: 30.0.50; CC Mode: New `c-for-clauses-as-arglist' style variable References: <1769719.uSAL7GYomB@ravel> <2123423.7n0gGkaxiF@ravel> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63286 Cc: 63286 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Olivier Certner <ocert.dev@HIDDEN> > Date: Fri, 05 May 2023 00:22:12 +0200 > > This new style variable allows to disable special handling of "for" > statements' clauses, which is that there are indented as statements, > or continuations of such, when on separate lines instead of argument > lists or continuations of such. I don't think I understand the feature you are proposing. Can you elaborate, perhaps with examples? > --- a/doc/misc/cc-mode.texi > +++ b/doc/misc/cc-mode.texi > @@ -2624,6 +2624,7 @@ Style Variables > Commas});@* > @code{c-cleanup-list} (@pxref{Clean-ups});@* > @code{c-basic-offset} (@pxref{Customizing Indentation});@* > +@code{c-for-clauses-as-arglist} (@pxref{Syntactic Symbols});@* > @code{c-offsets-alist} (@pxref{c-offsets-alist});@* > @code{c-comment-only-line-offset} (@pxref{Comment Line-Up});@* > @code{c-special-indent-hook}, @code{c-label-minimum-indentation} > @@ -4267,7 +4268,8 @@ Syntactic Symbols > Subsequent lines in an enum or static array list where the line begins > with an open brace. @ref{Brace List Symbols}. > @item statement > -A statement. @ref{Function Symbols}. > +A statement, including `for' clauses except if > +@code{c-for-clauses-as-arglist} is true. @ref{Function Symbols}. > @item statement-cont > A continuation of a statement. @ref{Function Symbols}. > @item annotation-var-cont > @@ -4309,15 +4311,22 @@ Syntactic Symbols > @item comment-intro > A line containing only a comment introduction. @ref{Literal Symbols}. > @item arglist-intro > -The first line in an argument list. @ref{Paren List Symbols}. > +The first line in an argument list or a parenthesized expression. > +Note that @code{for} clauses are rather considered statements (or > +their continuation) except if @code{c-for-clauses-as-arglist} is true. > +@ref{Paren List Symbols}. > @item arglist-cont > Subsequent argument list lines when no arguments follow on the same > -line as the arglist opening paren. @ref{Paren List Symbols}. > +line as the arglist opening paren. Same remark concerning @code{for} > +clauses as for @code{arglist-intro} above. @ref{Paren List Symbols}. > @item arglist-cont-nonempty > Subsequent argument list lines when at least one argument follows on > -the same line as the arglist opening paren. @ref{Paren List Symbols}. > +the same line as the arglist opening paren. Same remark concerning > +@code{for} clauses as for @code{arglist-intro} above. @ref{Paren List > +Symbols}. > @item arglist-close > -The solo close paren of an argument list. @ref{Paren List Symbols}. > +The solo close paren of an argument list or a @code{for} clause. > +@ref{Paren List Symbols}. > @item stream-op > Lines continuing a stream operator (C++ only). @ref{Literal > Symbols}. @c @emph{FIXME!!! Can this not be moved somewhere better?} This uses @ref incorrectly. The original text also uses it incorrectly. Alan, please fix that when you have time: those should be @xref, not @ref. The latter is not appropriate at the beginning of a sentence. > +(defcustom-c-stylevar c-for-clauses-as-arglist nil > + "Whether to consider for clauses as part of an argument list. "for" should be quoted here, to make this sentence more clear. > +The clauses of the for statement are normally considered by CC > +mode as separate statements when at start of a line \(and > +statement continuations when split). Setting this variable to > +non-nil indicates that they should be treated as any other > +argument lists." I don't understand what "argument lists" have to do with 'for'. Or maybe I don't understand what you mean by "for clauses". > + :type 'boolean > + :group 'c) Defcustoms should have the :version tag. Finally, would it be possible to have tests for this feature? Thanks.
bug-gnu-emacs@HIDDEN
:bug#63286
; Package emacs
.
Full text available.Received: (at 63286) by debbugs.gnu.org; 4 May 2023 22:22:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 04 18:22:15 2023 Received: from localhost ([127.0.0.1]:52280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1puhL4-0003lA-Ki for submit <at> debbugs.gnu.org; Thu, 04 May 2023 18:22:15 -0400 Received: from smtp2-g21.free.fr ([212.27.42.2]:17950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ocert.dev@HIDDEN>) id 1puhL3-0003l3-FT for 63286 <at> debbugs.gnu.org; Thu, 04 May 2023 18:22:14 -0400 Received: from ravel.localnet (unknown [90.118.140.172]) (Authenticated sender: ocert.dev@HIDDEN) by smtp2-g21.free.fr (Postfix) with ESMTPSA id E3ECE2003CA for <63286 <at> debbugs.gnu.org>; Fri, 5 May 2023 00:22:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1683238932; bh=alNUdjNEI4X+c51LcCxbpZlpzqyJ7Q6ti936rfOR/Bc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=C0Zm5rG+JvzpzmCXMh4XsZg6kXPxQfH3Vuy0r9KBLheM91mWerOngO+7HUCBS0t3Z l10XCebn7+vDC2O4GXsyuqwnoF8c+yOOAs5a/gQvIT5MSoMvgqM28wvxjjpOOWHuzA Am7vMn66ccoa7X3++ZhsQOCTA7ZXK8NWcbv8WmZEicY4jp4m4DOt0rczoQ3Wkle2YU NF/uetDPT7idffpCQQINRgK1E6GxWJmAxmtJTSdpW+8SgthC82FjHQjgjfUA5NwJSR iYe2/RidGaNQS/4cN+yNejo78nDShImRYJWyVToUZcsNDmNYvBe+/yD763K9jye+lE PnVe55MxhQpaQ== From: Olivier Certner <ocert.dev@HIDDEN> To: 63286 <at> debbugs.gnu.org Subject: Re: 30.0.50; CC Mode: New `c-for-clauses-as-arglist' style variable Date: Fri, 05 May 2023 00:22:12 +0200 Message-ID: <2123423.7n0gGkaxiF@ravel> In-Reply-To: <1769719.uSAL7GYomB@ravel> References: <1769719.uSAL7GYomB@ravel> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart4132696.SpxzoVVZVy" Content-Transfer-Encoding: 7Bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63286 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --nextPart4132696.SpxzoVVZVy Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Proposed change. -- Olivier Certner --nextPart4132696.SpxzoVVZVy Content-Disposition: attachment; filename="0001-CC-Mode-New-c-for-clauses-as-arglist-style-variable.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="unicode-2-0-utf-8"; name="0001-CC-Mode-New-c-for-clauses-as-arglist-style-variable.patch" From 3a84abb4cb06f9673c851aa44f2f1b27752560ef Mon Sep 17 00:00:00 2001 From: Olivier Certner <olce.emacs@HIDDEN> Date: Wed, 3 May 2023 18:12:27 +0200 Subject: [PATCH] CC Mode: New `c-for-clauses-as-arglist' style variable This new style variable allows to disable special handling of "for" statements' clauses, which is that there are indented as statements, or continuations of such, when on separate lines instead of argument lists or continuations of such. * lisp/progmodes/cc-engine.el (c-guess-basic-syntax): Skip case 7D, which specifically handles the above-mentioned case. While here, rewrite the case's comment to be more explicit about what it does. * lisp/progmodes/cc-vars.el (c-for-clauses-as-arglist): The new style variable. (c-style-variables): Include the new style variable. (c-style-variables-are-local-p): Update documentation following addition of the variable. * doc/misc/cc-mode.texi (Style Variables): List the new variable. (Syntactic Symbols): Indicate precisely which syntactic symbol can appear in a syntactic element when analyzing `for' clauses depending on the style variable value. (Bug#63286) --- doc/misc/cc-mode.texi | 19 ++++++++++++++----- lisp/progmodes/cc-engine.el | 13 +++++++------ lisp/progmodes/cc-vars.el | 14 +++++++++++++- 3 files changed, 34 insertions(+), 12 deletions(-) diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi index 71bf3fcee4a..0e4ba4c6a91 100644 --- a/doc/misc/cc-mode.texi +++ b/doc/misc/cc-mode.texi @@ -2624,6 +2624,7 @@ Style Variables Commas});@* @code{c-cleanup-list} (@pxref{Clean-ups});@* @code{c-basic-offset} (@pxref{Customizing Indentation});@* +@code{c-for-clauses-as-arglist} (@pxref{Syntactic Symbols});@* @code{c-offsets-alist} (@pxref{c-offsets-alist});@* @code{c-comment-only-line-offset} (@pxref{Comment Line-Up});@* @code{c-special-indent-hook}, @code{c-label-minimum-indentation} @@ -4267,7 +4268,8 @@ Syntactic Symbols Subsequent lines in an enum or static array list where the line begins with an open brace. @ref{Brace List Symbols}. @item statement -A statement. @ref{Function Symbols}. +A statement, including `for' clauses except if +@code{c-for-clauses-as-arglist} is true. @ref{Function Symbols}. @item statement-cont A continuation of a statement. @ref{Function Symbols}. @item annotation-var-cont @@ -4309,15 +4311,22 @@ Syntactic Symbols @item comment-intro A line containing only a comment introduction. @ref{Literal Symbols}. @item arglist-intro -The first line in an argument list. @ref{Paren List Symbols}. +The first line in an argument list or a parenthesized expression. +Note that @code{for} clauses are rather considered statements (or +their continuation) except if @code{c-for-clauses-as-arglist} is true. +@ref{Paren List Symbols}. @item arglist-cont Subsequent argument list lines when no arguments follow on the same -line as the arglist opening paren. @ref{Paren List Symbols}. +line as the arglist opening paren. Same remark concerning @code{for} +clauses as for @code{arglist-intro} above. @ref{Paren List Symbols}. @item arglist-cont-nonempty Subsequent argument list lines when at least one argument follows on -the same line as the arglist opening paren. @ref{Paren List Symbols}. +the same line as the arglist opening paren. Same remark concerning +@code{for} clauses as for @code{arglist-intro} above. @ref{Paren List +Symbols}. @item arglist-close -The solo close paren of an argument list. @ref{Paren List Symbols}. +The solo close paren of an argument list or a @code{for} clause. +@ref{Paren List Symbols}. @item stream-op Lines continuing a stream operator (C++ only). @ref{Literal Symbols}. @c @emph{FIXME!!! Can this not be moved somewhere better?} diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 27740b4903c..409cbc59ab5 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el @@ -15246,12 +15246,13 @@ c-guess-basic-syntax (c-most-enclosing-brace paren-state (point)) paren-state)) - ;; CASE 7D: we are inside a conditional test clause. treat - ;; these things as statements - ((progn - (goto-char containing-sexp) - (and (c-safe (c-forward-sexp -1) t) - (looking-at "\\<for\\>[^_]"))) + ;; CASE 7D: We are inside a for clause. Treat these clauses + ;; as statements unless `c-for-clauses-as-arglist' is + ;; non-nil. + ((and (not c-for-clauses-as-arglist) + (goto-char containing-sexp) + (c-safe (c-forward-sexp -1) t) + (looking-at "\\<for\\>[^_]")) (goto-char (1+ containing-sexp)) (c-forward-syntactic-ws indent-point) (if (eq char-before-ip ?\;) diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el index 72d4b93ee59..304ebca52fe 100644 --- a/lisp/progmodes/cc-vars.el +++ b/lisp/progmodes/cc-vars.el @@ -158,7 +158,8 @@ c-style-variables c-comment-prefix-regexp c-doc-comment-style c-cleanup-list c-hanging-braces-alist c-hanging-colons-alist c-hanging-semi&comma-criteria c-backslash-column c-backslash-max-column - c-special-indent-hook c-label-minimum-indentation c-offsets-alist) + c-special-indent-hook c-label-minimum-indentation + c-for-clauses-as-arglist c-offsets-alist) "List of the style variables.") (defvar c-fallback-style nil) @@ -960,6 +961,16 @@ c-label-minimum-indentation :type 'integer :group 'c) +(defcustom-c-stylevar c-for-clauses-as-arglist nil + "Whether to consider for clauses as part of an argument list. +The clauses of the for statement are normally considered by CC +mode as separate statements when at start of a line \(and +statement continuations when split). Setting this variable to +non-nil indicates that they should be treated as any other +argument lists." + :type 'boolean + :group 'c) + (defcustom c-progress-interval 5 "Interval used to update progress status during long re-indentation. If a number, percentage complete gets updated after each interval of @@ -1449,6 +1460,7 @@ c-style-variables-are-local-p `c-backslash-column' `c-backslash-max-column' `c-label-minimum-indentation' + `c-for-clauses-as-arglist' `c-offsets-alist' `c-special-indent-hook' `c-indentation-style'" -- 2.39.2 --nextPart4132696.SpxzoVVZVy--
bug-gnu-emacs@HIDDEN
:bug#63286
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 4 May 2023 22:19:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 04 18:19:22 2023 Received: from localhost ([127.0.0.1]:52275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1puhII-0003fY-4Q for submit <at> debbugs.gnu.org; Thu, 04 May 2023 18:19:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:39404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ocert.dev@HIDDEN>) id 1puhID-0003fO-VB for submit <at> debbugs.gnu.org; Thu, 04 May 2023 18:19:19 -0400 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 <ocert.dev@HIDDEN>) id 1puhID-0005Ck-PH for bug-gnu-emacs@HIDDEN; Thu, 04 May 2023 18:19:17 -0400 Received: from smtp2-g21.free.fr ([212.27.42.2]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ocert.dev@HIDDEN>) id 1puhIB-0006HN-VK for bug-gnu-emacs@HIDDEN; Thu, 04 May 2023 18:19:17 -0400 Received: from ravel.localnet (unknown [90.118.140.172]) (Authenticated sender: ocert.dev@HIDDEN) by smtp2-g21.free.fr (Postfix) with ESMTPSA id AB3AA2003AE for <bug-gnu-emacs@HIDDEN>; Fri, 5 May 2023 00:19:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1683238754; bh=OyHDEb3lrgmJFDchS57xqHKY4Zg1O9Zzrn2GM2J7xqI=; h=From:To:Subject:Date:From; b=XBHtcv+H8862r1nXde8lli0tgjvgdPB5kp5IdIqcZJXjN6ftvT9Q4RZcrmU/vSqzs CbmkNQCmAfzCDs4LVdC3dGMYcTjX1EMy7pIBWdgDFVmff+22aRsp1JTlONxmf188zm dSAPwc+NIQAN41cCtJ17O6yEvTzGKWDpeVF42enebx0ZMPa7vs1yAnk2unHLxG/FCW DN+/RGl+clOyqIF7dLsbT9JCNqner9CgGV4LIV5wdYwWQzq2griUPQAIq/zRiN4twn HHk1bp8AQkvrMhvoq4LzOOQZPG7y608+IK/ai8hhXPpcB4O/7ZCHvPWhEHucVVpRSZ 9yI/m0Ij0oqhA== From: Olivier Certner <ocert.dev@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 30.0.50; CC Mode: New `c-for-clauses-as-arglist' style variable Date: Fri, 05 May 2023 00:19:14 +0200 Message-ID: <1769719.uSAL7GYomB@ravel> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=212.27.42.2; envelope-from=ocert.dev@HIDDEN; 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.6 (--) Hi, This is a proposed change adding a new style variable to control whether `for' clauses should be indented as statements or as an argument list. Patch to be attached once the bug is created. Regards. -- Olivier Certner
Olivier Certner <ocert.dev@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#63286
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.