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: treesit indentation "blinking" Date: Thu, 30 Mar 2023 10:15:06 +0100 Message-ID: References: <87h6ucik61.fsf@dancol.org> <0F406D08-56D4-4B21-B94D-A47681606911@gmail.com> <1870bcadd28.2829.cc5b3318d7e9908e2c46732289705cb0@dancol.org> <1870cce6690.2829.cc5b3318d7e9908e2c46732289705cb0@dancol.org> <35A837A9-59B4-4F1F-A5FA-8483C8024D76@gmail.com> <187104f6b48.2829.cc5b3318d7e9908e2c46732289705cb0@dancol.org> <21d018e5-a730-12e3-f97c-fffa4f646ccf@yandex.ru> <83v8ioc2ou.fsf@gnu.org> <87sfdsx0r2.fsf@gmail.com> <87lejgsf0m.fsf@gmail.com> <83pm8s70o3.fsf@gnu.org> <83mt3u65vw.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="40418"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , dancol@dancol.org, casouri@gmail.com, emacs-devel@gnu.org, theo@thornhill.no To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 30 11:14:18 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 1phoML-000AIg-MB for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Mar 2023 11:14:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phoLR-0002Kk-3L; Thu, 30 Mar 2023 05:13:21 -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 1phoLO-0002KM-Ra for emacs-devel@gnu.org; Thu, 30 Mar 2023 05:13:18 -0400 Original-Received: from mail-il1-x134.google.com ([2607:f8b0:4864:20::134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phoLN-0006NG-8f; Thu, 30 Mar 2023 05:13:18 -0400 Original-Received: by mail-il1-x134.google.com with SMTP id v5so6932799ilj.4; Thu, 30 Mar 2023 02:13:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680167595; 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=fGlNXwMfmHeqG7OYpxxb3GYVG5HTyKNJIWZLQmV2sCI=; b=LRYnu9IvUH4f0le2r9lmQ4XIhq6w2qIl5iKETADxg7sOOyghZtBrLosO4rlUPgZ0nN 1igFgaveFFMlPd9meyOFG6gGTKV42vadxGwSaeOfR24RjCE5bK5lkJ7E/Yabnanz/4nR Rx6fcVZKaJl2+hFl7ZivtrLT1z6F2titTZrqsAzk03JbHxnTaBGbylnGjtoPRGVlLrOZ rZOiT8Lo0MINiud6oOq4uvWgXxufXcLkIcZUY/mDEKFZkmBxn4OW8QnCotqHCdzsf0Op Bb0Hfa5OdPPPR/JpvhDWJU4/JKaex31thgLDwAYJQ6PkXRNlVuEVLDYkLDasUrBYGaZ6 M52Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680167595; 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=fGlNXwMfmHeqG7OYpxxb3GYVG5HTyKNJIWZLQmV2sCI=; b=qcgQmme9mIvA/L5qKruJWl4tdjAGcZjsWZApA7PRoOAlkB5IWiO/ZOurUBKc3EZ4ba 54R0mh3fG+8NzLaismaddQ2ciBDbPo8zyiB19BFsZLi01OnDuE91ePE16w1LEZGaFPVF QoX59UfNaLYRu8xpYksbw8pkYTmeZyL4D8KdLR4W83uenoWn019cyKjRPusTt7WXKlMc Y3rOeyQU/9LWMpX60xvggsYfvUcxhUM2s+Lgfqw064cA7TfkQOXhDAJy9q4zLEgLe70/ 6mvwTKtuEo1XGOBr8EBZ7NbYajXgrRBhnlPp+9ft4SI6rYanA/VtbRDK+XipPOMsuOgi jUjQ== X-Gm-Message-State: AAQBX9ephMuXcO7lVrDqupFOseC9hQno1HkSgpKgjbAdCG3l0JooKEgB P3BpDJsIoKghXCWcawc2BpjrPWseYl4yBQves30= X-Google-Smtp-Source: AKy350YUOYBVcfQEcMOm+jKWd7lDlJQRDkK2F8FzoTWvGV2nI6tgZfXQCe9d3s9/AO5dInqtGrOQYSv+I7/ByisKoO4= X-Received: by 2002:a92:c26b:0:b0:325:e340:a873 with SMTP id h11-20020a92c26b000000b00325e340a873mr10422914ild.0.1680167595042; Thu, 30 Mar 2023 02:13:15 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::134; envelope-from=joaotavora@gmail.com; helo=mail-il1-x134.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:304842 Archived-At: On Thu, Mar 30, 2023 at 9:58=E2=80=AFAM Dmitry Gutov wro= te: > > On 30/03/2023 10:43, Eli Zaretskii wrote: > > > That's a strange stance. Discussion of solutions to issues can > > legitimately conclude that some solution could be subject to personal > > preferences, some of which you don't share. Refusing to install a > > change you yourself suggested with such minor adjustments, just > > because it doesn't fit your personal preferences in editing C/C++ > > code, sounds at least unfriendly. > > Whatever the conclusion regarding the value of electric-indent-chars in > c-ts-mode (I'd also suggest to try removing ":" but keeping the rest; > maybe remove "," as well, as it's also likely to indicate incomplete > expression), I also don't think adding a defcustom to this particular > mode is a great idea: it will be odd and inconsistent to have it for > this major mode but not any others. Right. And see my updated MRE where bouncing happens also on ';'. I think at least ';' should also be added to that set of chars to be removed from electric-indent-chars. Jo=C3=A3o