From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: c-ts-mode style customization Date: Wed, 22 Mar 2023 11:53:41 -0400 Message-ID: <87355wu4hn.fsf@dancol.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35828"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.9.21; emacs 30.0.50 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 22 17:38:21 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 1pf1Tg-00092k-Vq for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Mar 2023 17:38:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pf1Sw-0000QB-Us; Wed, 22 Mar 2023 12:37:35 -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 1pf1Su-0000Pj-SN for emacs-devel@gnu.org; Wed, 22 Mar 2023 12:37:33 -0400 Original-Received: from dancol.org ([2600:3c01:e000:3d8::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pf1St-0007Ah-8V for emacs-devel@gnu.org; Wed, 22 Mar 2023 12:37:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From:Sender: Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=a5OPru/1+rbbyeH0UUZYZYn9a0a1m7xJbiiZ7JD3tC8=; b=rHujV6ZRKrI9sZ5aJ3vetq6zWp BwNNktxZ1G5vYEbjbEPDntGOwgWyuP2jBCy4KkxkHyL6VK/cmgvOF6ZkAfpm23+4Frn7UHMi0mdW6 QayqyXbX02vbD+t2+DuMjw36juInWd86n/SVocjFJrR3ZONlF0QxtbcTmgWwTVi5lJiHgSewplhvZ GT4OgjQ9haS1ktdlyqKiej/E/FArn2wEtTRyR04GSwlJyMaCHlIgUPLFgRhpFU2c1cXd/DGsEeEVp x1dgof7BuS4anGxozDhJL/yr3thIGV3JXCS8NIjVRmhIWgDvfqetSGN9OBBxzWQ88QmAmFzxZ3UcZ Q4/SkF1Q==; Original-Received: from 2603-9001-4203-1ab2-7c3f-29cd-ef5a-f3a8.inf6.spectrum.com ([2603:9001:4203:1ab2:7c3f:29cd:ef5a:f3a8]:59744 helo=localhost) by dancol.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pf1Sm-0007pW-By for emacs-devel@gnu.org; Wed, 22 Mar 2023 09:37:25 -0700 Received-SPF: pass client-ip=2600:3c01:e000:3d8::1; envelope-from=dancol@dancol.org; helo=dancol.org 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:304716 Archived-At: Shouldn't customization of styles in c-ts-mode look more like cc-mode's style machinery? Right now, the closest thing we have to defining a new style is add-advice on c-ts-mode--indent-styles, which isn't particularly convenient or future-proof. You can't drop a new style in, say, .dir-locals.