From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Missing features in c-ts-mode Date: Fri, 17 Feb 2023 14:20:59 +0200 Message-ID: <83k00g1o0k.fsf@gnu.org> References: <83wn4iajyy.fsf@gnu.org> <87fsb67pfj.fsf@thornhill.no> <83lekyagwy.fsf@gnu.org> <87a61e7n5j.fsf@thornhill.no> <877cwi7mju.fsf@thornhill.no> <83bkluaevv.fsf@gnu.org> <871qmq7l9q.fsf@thornhill.no> <87ilg1qv71.fsf@thornhill.no> <20230217082935.waa7f473dmvbpg3d@Ergus> <87fsb4r4xf.fsf@thornhill.no> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39980"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spacibba@aol.com, casouri@gmail.com, emacs-devel@gnu.org To: Theodor Thornhill Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 17 13:21:54 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pSzkP-000ABm-Kj for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Feb 2023 13:21:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSzjc-0003kw-9M; Fri, 17 Feb 2023 07:21:04 -0500 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 1pSzja-0003km-EP for emacs-devel@gnu.org; Fri, 17 Feb 2023 07:21:02 -0500 Original-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 ) id 1pSzjZ-00019P-JU; Fri, 17 Feb 2023 07:21:01 -0500 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=gaWdsVmz7w0BHL/rwxs0VT83+GzMQzS5jfFiFc7ltYA=; b=SAGRslVuaX2k jn8IpcnzAej67u7zsOco3BPBMASWrAFGlrk1lpmL11TTQDM3odOvINC3R6u/cmcUjFePKDeyNGP1T bDUjBLm/4jrMWJ32f+PzfWgAVPUPIts5U0hqLRF4/U3TFvmTMdct3/SMIiINNTHjHC57XSgwCVFzN X23hSOV6Ml4Lpm2ZQFmHS1N2YtPkYLAesL7L1eT6A/+p0mHTw4nxRXZX7iQ24mpb5YllMx+dj8aJI GodF1TMnsu5N5V4mBbpMGvFvEOiAoWn+A/do2A7eLFz4nCzMjpnmhI8E/dueZ1BnkC1ANIAwvfuzI ItY1NJUH/6pR0WNfMC8bWw==; Original-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 ) id 1pSzjZ-0005Ev-28; Fri, 17 Feb 2023 07:21:01 -0500 In-Reply-To: <87fsb4r4xf.fsf@thornhill.no> (message from Theodor Thornhill on Fri, 17 Feb 2023 10:56:28 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303468 Archived-At: > From: Theodor Thornhill > Cc: Eli Zaretskii , casouri@gmail.com, emacs-devel@gnu.org > Date: Fri, 17 Feb 2023 10:56:28 +0100 > > > #pragma parallel for first private(x) \ > > shared(y) etc > > for (...) { > > .... > > } > > } > > > > In this case the pragma in column zero is very confusing. Alan added a > > new mode (c-toggle-cpp-indent-to-body) which worked around this issue a > > few years ago. I don't if it is possible to enable similar behavior with > > your change? Is is? > > > > Best, > > Ergus > > > > It's absolutely possible, but IMO that sounds like an improvement for > emacs 30, maybe? It depends on how simple and safe the change will be. But yes, I'm okay with delaying this to Emacs 30 if the addition is complex enough. Thanks.