From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: c-ts-mode Date: Fri, 8 Sep 2023 20:42:08 +0100 Message-ID: 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> <838r9gykia.fsf@gnu.org> <83pm2sx10t.fsf@gnu.org> <83msxwx02s.fsf@gnu.org> <83jzt0wueo.fsf@gnu.org> <83bkecwmlc.fsf@gnu.org> <838r9gwl5x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22689"; mail-complaints-to="usenet@ciao.gmane.io" Cc: theo@thornhill.no, casouri@gmail.com, spacibba@aol.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 08 21:43:19 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 1qehNu-0005is-Os for ged-emacs-devel@m.gmane-mx.org; Fri, 08 Sep 2023 21:43:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qehN5-0005xk-Tm; Fri, 08 Sep 2023 15:42:27 -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 1qehN3-0005xM-V5 for emacs-devel@gnu.org; Fri, 08 Sep 2023 15:42:25 -0400 Original-Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qehN1-0004Yv-C4; Fri, 08 Sep 2023 15:42:25 -0400 Original-Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-500cfb168c6so3963299e87.2; Fri, 08 Sep 2023 12:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694202140; x=1694806940; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=WGY044elJLEvG7HxgmLiO+j619i2qVz6mNR13ukV7pI=; b=MjeXN06YEe3qH1nukIVICWKHOCLFMpl3vvO9BOdlF+T+szsUmvrRKyZs/uZXXsC4O1 BiF9MbErT9fuAZ2b/xAzyWRRte5hqSARQUKQrtwMhrSlWIZd6zF+5DmL5c1HxUMR7ELn Ubh8yieuQ/Ii9PbGkNdqMDVqcEAuGUXIThffufddxpId+oYYtvSvHP4pqOFr7TRUPire g1XAR0Myo/0X+37aQwB3dv6gVy5VTASgXWmb7RtNJxNOkjdmS8EEszT5gXgdPrQCVTzH NohgQNf3y260Lc+8Qey7e+DQG0CMldfbrHRvkMkjzgGufrg6y9+N9QiU/KmJuWT4NA0x Os9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694202140; x=1694806940; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WGY044elJLEvG7HxgmLiO+j619i2qVz6mNR13ukV7pI=; b=IchEjJCUZqhzb/SPAhJPW4NPBVgKNmNcNu+4RZA2KJwo1Ui2MEI7Oano7SmnMHtRUz BTQKh+8n4mqQbGzcNxEI+7MUzfqB2NAk9uGeFl3H80Cb3XbkoCRrk/U1Uhr1GB44uGWg y9CsWUF/insesuRxes3y4kQNYqbWnYaZ5kKVw5sqfrJWWXZJ/pqZbDwdq/hpBfnajfcu Jok7aa9pm0C/YfVYUX3sVO2HUBPYx4jIgqBn5tJ1noNlpFWDabQuJfjUGXK89EuIEiM3 0KXZxxSgfH9+qu4DLagzHpUv/CEiSt1gqp7m6aSWkANHeAglPTasd7Ve5iBTTxCVJ7MQ Sjtg== X-Gm-Message-State: AOJu0YxG+vmmVHI8T2ZZhu5NR2mkWwNwNMrPmUHC4MptE8N00bR3sY3z Z2j3k/7j48lrQua5eHF35VCrzkH85rtwimVOr2trFjut47rpcQ== X-Google-Smtp-Source: AGHT+IF8/iKwyCijbrqPwreoRWELX1iWDk3fv6NS4vK/FCItJoXRbCaUdPbJrxmVbuwpg1yKqEbwUc1h1ukBBUAN2yM= X-Received: by 2002:a05:6512:3b29:b0:500:a2ee:a8f6 with SMTP id f41-20020a0565123b2900b00500a2eea8f6mr2990219lfv.5.1694202140378; Fri, 08 Sep 2023 12:42:20 -0700 (PDT) In-Reply-To: <838r9gwl5x.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x12f.google.com 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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:310366 Archived-At: On Fri, Sep 8, 2023 at 7:54=E2=80=AFPM Eli Zaretskii wrote: > > OK. But the TODO item doesn't mention it. > It also doesn't say it's off the table, though. In fact, it says > nothing at all about the implementation. Hmm, it talks about "read indentation rules from a file". A more agnostic stance would be "use indentation rules from a file". Of course as we discussed reading/translating has very real advantages, too. See the patch after my sig, and feel free to reword it. Jo=C3=A3o diff --git a/etc/TODO b/etc/TODO index ef91c17298b..f1b3373e9e5 100644 --- a/etc/TODO +++ b/etc/TODO @@ -452,6 +452,10 @@ reformat the region of source code according to the ru= les. The next step is to use these rules during editing of files residing in a directory that has such an indentation-rules spec in it. +For some discussion and implementation ideas (including possibly using +LSP), see the thread starting at +https://lists.gnu.org/archive/html/emacs-devel/2023-09/msg00609.html + ** FFI (foreign function interface) See eg https://lists.gnu.org/r/emacs-devel/2013-10/msg00246.html