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: c-ts-mode Date: Fri, 08 Sep 2023 14:25:33 +0300 Message-ID: <838r9gykia.fsf@gnu.org> References: <5F73CB5D-DB00-439F-AD7C-7E209EC83A35@gmail.com> <83jzt2z5mk.fsf@gnu.org> <83y1hhykni.fsf@gnu.org> <877cp1lvih.fsf@gmail.com> <83v8clyhqi.fsf@gnu.org> <83tts5ygv2.fsf@gnu.org> <83msxxxkc0.fsf@gnu.org> <871qf9ktxd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31072"; mail-complaints-to="usenet@ciao.gmane.io" Cc: theo@thornhill.no, casouri@gmail.com, spacibba@aol.com, emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 08 13:26:52 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 1qeZdT-0007pL-EQ for ged-emacs-devel@m.gmane-mx.org; Fri, 08 Sep 2023 13:26:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeZck-0007Uo-Ca; Fri, 08 Sep 2023 07:26: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 1qeZch-0007E5-3J for emacs-devel@gnu.org; Fri, 08 Sep 2023 07:26:03 -0400 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 1qeZcg-0004eZ-Hq; Fri, 08 Sep 2023 07:26:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Kr/zEKU12wNB7u1tQ3A10SFZ7t+f2VBW4WbAHpSgVjM=; b=QN5IWCzFqXGaC2PmLzoT tglzwfOllQD2YiuGB43arMLSJhLi8SRnibWEPFqCAjiNrMLVOgWNiZ73SxofYryz4tQI5UdEbquvA fx/VdgOLaUr5V8VBnVDVyt76SkZrozCntCabFhRXscvhpn4XCnq4kbiDWhpq/wznsRFEnXzcJ15F+ GnrrPhkhsDi8MH9Auy6m+QLAu07vYXo5UAMH0XWor0KfqtYM+4gGXdJgtq/WD5qu9Amz8hDWk1eFx Ouraj2UiJs3KkN7WMGV9E6eEbHfvFgOCpC4/KObt48Rm4bALtdUZRFPPLcSn3g+siBTujYsGzstyG 5QPmvovjvw19IQ==; In-Reply-To: <871qf9ktxd.fsf@gmail.com> (message from =?utf-8?B?Sm/Do28g?= =?utf-8?B?VMOhdm9yYQ==?= on Fri, 08 Sep 2023 08:25:50 +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:310320 Archived-At: > From: João Távora > Cc: Theodor Thornhill , casouri@gmail.com, > spacibba@aol.com, emacs-devel@gnu.org > Date: Fri, 08 Sep 2023 08:25:50 +0100 > > > What I had in mind was a simple alist, like CC Mode uses, with an > > infrastructure function to install it. Patches are welcome. > > It would certainly work for me, at least for my very simple case, and I > would be happy for this. Not sure it is half as powerful, for example > how would you make that simple alist express cases where you want to add > the rules _after_ the base set? How does CC Mode support this (if it does)? I think we should allow users of CC Mode easy migration to c-ts-mode. Anything beyond that is, of course, welcome, but it is less important from my POV. I'll let Theo and Yuan chime in on the other points you make.