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 style customization Date: Fri, 24 Mar 2023 14:37:22 +0300 Message-ID: <83edpee5xp.fsf@gnu.org> References: <87355wu4hn.fsf@dancol.org> <45CB19FB-4D80-4C71-8083-D836F51DFB49@gmail.com> <1870bc95688.2829.cc5b3318d7e9908e2c46732289705cb0@dancol.org> <1870cd213f8.2829.cc5b3318d7e9908e2c46732289705cb0@dancol.org> <79B5F13D-6718-4B47-9CDA-485A07AF36BC@gmail.com> <187104b7b78.2829.cc5b3318d7e9908e2c46732289705cb0@dancol.org> <83o7oiekmu.fsf@gnu.org> <1DB73252-F71B-4618-B562-393B329EC1A6@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="12584"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dancol@dancol.org, emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 24 17:04:46 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 1pfjuI-0002wd-3e for ged-emacs-devel@m.gmane-mx.org; Fri, 24 Mar 2023 17:04:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pffjx-0007Lk-9L; Fri, 24 Mar 2023 07:37:49 -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 1pffjl-0007Gx-Ba for emacs-devel@gnu.org; Fri, 24 Mar 2023 07:37:42 -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 1pffjj-00054M-G6; Fri, 24 Mar 2023 07:37:35 -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=GpmG0p1sX0L8KQgNo0yzH7YN96EWt0cBNNcPU+ZMMU0=; b=FXOXhVUOegjNaot8iSRd 9Vkq9gT0yba28CXg2p3Upk2aQp5X4Dg/uhYZZz6XBYV8La+dgPMmRTEI+IN7/vtf1x6BjwLm7rflp 8Jv5TeDCm1yL+hjNRaLxJpQRdY7ub4beMJPJhC40tfXGjnpyI3xU8+HKyrN6ReCd4zLGqR8EsPw1c 6ytywTnsZcZaeVTV8SWnxpN9H994jZSReBPCgz1x5HdTLHNQvXjL7LnEzlUuA9vuXthzhqHx49aNR qDsEDzsoN2IohgdbPO//K3PIJC33cKcj1ePRhc3t87/jAgxGqB4rZHCEsV9ZrPTkjxKz3Nyiq8oFp GYMjJIk46BRINA==; 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 1pffjP-0008O4-Qd; Fri, 24 Mar 2023 07:37:28 -0400 In-Reply-To: <1DB73252-F71B-4618-B562-393B329EC1A6@gmail.com> (message from Yuan Fu on Fri, 24 Mar 2023 00:02:04 -0700) 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:304752 Archived-At: > From: Yuan Fu > Date: Fri, 24 Mar 2023 00:02:04 -0700 > Cc: dancol@dancol.org, > emacs-devel@gnu.org > > > > > On Mar 23, 2023, at 11:19 PM, Eli Zaretskii wrote: > > > >> From: Yuan Fu > >> Date: Thu, 23 Mar 2023 16:44:31 -0700 > >> Cc: emacs-devel@gnu.org > >> > >>>> Anyway, I agree with the general idea. I’ll add the option to set a rule alist. > >>> > >>> > >>> I gave you a concrete example of a disadvantage of using functions that return data over just using plain data. The principle of least power applies here. > >> > >> Still, it’s largely harmless, and could prove useful for some people, also it’s too late to remove it from emacs-29. And since it’s in emacs-29, I don’t want to go through the trouble removing it in emacs-30 in a backward-compatible way. > > > > While all this is true, the question is how bad the problem is. > > Daniel says the TS modes are unusable for him due to this issue. > > > > Daniel, could you please post a recipe, starting from "emacs -Q", to > > reproduce the "blinking" during editing you described up-thread? > > Preferably while editing some code that one can meet reasonably > > frequently in practice. I'd like to play with the example and see > > whether the problem is serious enough for us to try to solve it ASAP. > > TIA. > > I think you mean the other thread? Yes, sorry about that.