From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: emacs rendering comparisson between emacs23 and emacs26.3 Date: Thu, 09 Apr 2020 23:07:38 -0400 Message-ID: References: <83k12zz6ds.fsf@gnu.org> <054393f3-3873-ab6e-b325-0eca354d8838@gmx.at> <20200403174757.GA8266@ACM> <20200405111623.GB5049@ACM> <20200406121449.GB7100@ACM> <831roxp3b2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="70579"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: acm@muc.de, Eli Zaretskii , rrandresf@gmail.com, rudalics@gmx.at, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 10 05:08:50 2020 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 1jMk2D-000IGB-SF for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Apr 2020 05:08:49 +0200 Original-Received: from localhost ([::1]:58002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMk2C-00013u-JE for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Apr 2020 23:08:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45119) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMk1B-0000Zw-UR for emacs-devel@gnu.org; Thu, 09 Apr 2020 23:07:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMk1A-0002Hf-AK for emacs-devel@gnu.org; Thu, 09 Apr 2020 23:07:45 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:8745) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jMk18-0002GF-PA; Thu, 09 Apr 2020 23:07:42 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id DA91E44FF09; Thu, 9 Apr 2020 23:07:41 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id A41F044FF04; Thu, 9 Apr 2020 23:07:40 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1586488060; bh=KB3m4MydtAAUzaS0DBGOY3+cR2C7aYDoGYTrxl/Ncmg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=OOU8BYQzUXKQj+XyHwQMOo5DeqEWxXc2i2hKSf0/OssF4Gr2NU3JYwkYVp1NEy9Yd QjDSAO+xz2UfMaBcw8HL/IFI/hu26vxx7XOQiqan/Jq+NrhCzr+bhMPTxKDvNWKTW/ d7y5IEqaZe+cYyCOZhkZ50MbDIc7aqMEQZ3oM+Xho0H4/tJPqZKPRCh749m6pp9gbO MMAUCmBt8XntpU/j9PdAU9JHtV8yNMFsS4R89vDLaY+DZ9BfCfBvghb4sKnhNKLlT3 Ccvkh3uufHHPibreP8iPRUfa/FGwnDbE+rPgBzXV8dwx0f3j5DDdV31qkIYMIe/+Rf r0WC8WkG7RNdA== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 45D2612058A; Thu, 9 Apr 2020 23:07:40 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Thu, 09 Apr 2020 22:08:20 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:246736 Archived-At: > I think so too. I responded to that by saying people should not turn on > this mode for those files: Performance has to be be good in files without open-parens in column-0. So setting this var *should* provide no significant performance benefit (otherwise it means performance is not good enough in files without open-parens in column-0 and we should fix that). A setting that is not just a performance heuristic would be fine, e.g. something that causes the syntax-ppss state to be forcibly reset to "toplevel" whenever we bump into an open-paren in column 0 (which seems to be something Martin wants, so that a non-closed comment doesn't leak past an open-paren in column-0). But that's a completely separate issue (beside the superficial connection that they both have to do with parens in column-0). But this too long thread is about performance, and when it comes to performance any heuristic based on open-parens in-column-0 is a non-starter AFAIC because they only cover a subset of cases and we need something that covers the other cases as well. And AFAIK we already have such a "something", so there's no need to settle for this half-solution, no matter how cheap it may be nor how attached to it some people might be. Stefan