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: Mon, 20 Apr 2020 23:41:04 -0400 Message-ID: References: <83h7xvqsgc.fsf@gnu.org> <90749329-ccb1-f96e-29c0-b4ecbb81d1d4@yandex.ru> <20200407174217.GC4009@ACM> <50acd968-4459-2fab-1609-7869e1ed072a@yandex.ru> <20200408020913.GA3992@ACM> <20200412153458.GA5249@ACM> <6d65d90c-178e-87e2-68dd-236275a5e038@yandex.ru> <20200419171209.GA23044@ACM> <34fc9563-479e-f026-9640-1b70ca9885b9@yandex.ru> <20200420211941.GC8796@ACM> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="124730"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: rms@gnu.org, emacs-devel@gnu.org, rudalics@gmx.at, rrandresf@gmail.com, Dmitry Gutov , Eli Zaretskii To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 21 05:41:59 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 1jQjnL-000WKK-5c for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Apr 2020 05:41:59 +0200 Original-Received: from localhost ([::1]:49248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQjnK-0002kc-7N for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Apr 2020 23:41:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57692) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQjmj-00022d-L0 for emacs-devel@gnu.org; Mon, 20 Apr 2020 23:41:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQjmh-0003FK-PA for emacs-devel@gnu.org; Mon, 20 Apr 2020 23:41:19 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:16094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jQjmZ-00034b-7H; Mon, 20 Apr 2020 23:41:11 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id A2031100B94; Mon, 20 Apr 2020 23:41:07 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E867E100AA0; Mon, 20 Apr 2020 23:41:05 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1587440465; bh=LVX9XTmtNv85Pvk9eQ2ctVAsixR5loEMx7JMMCJPVDE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=b4axmvf8T8FaBrp0SQVlficaPonPU4flAhxPaEJVjLS1n5oglNw6DkdBhLNuaL4ff RAHp7XrGd+uuoWK/QDeMtWInCU0d+PywfHNp21QH1oTPpWH4IDAjGehHaTQ2T94Knb TtV2zrltuzWG5fQnQs/rzxvQmfhOSEktwT0LlpQa7uUeSYhPP0JBN0l4puqZR7XaYP 80pOz/NXCqAaggTySadCeW5hfAq/3XDjQfXB8Rd5Nvr2Ke0GG4UTWRMA16/01Z9l6t 6+hJnH4Br3hckMlYzHV13wIY4VRXYTsG3y6JcDuNrlRgJLjtXQqCQ8IAlN/vtNkFaT FNHxVAY+DIFrA== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8AFA912053C; Mon, 20 Apr 2020 23:41:05 -0400 (EDT) In-Reply-To: <20200420211941.GC8796@ACM> (Alan Mackenzie's message of "Mon, 20 Apr 2020 21:19:41 +0000") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/20 23:41:08 X-ACL-Warn: Detected OS = 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:247447 Archived-At: > The question remains: has anybody other than Stefan M. freely chosen to > use syntax-ppss and syntax-propertize-function, whilst being aware of > their disadvantages and of alternatives? Not quite sure I can answer that. I can point to cperl-mode which used the exact same approach as `syntax-propertize` (without using `syntax-propertize` because it didn't exist yet) and I can point to many major modes that use `syntax-propertize` successfully without my involvement. Perl is one of the languages that requires the most intense help from `syntax-table text properties. AFAIK CC-mode is the only "alternative" and last I checked there's only one human on this planet who really knows what it does. > The syntax-propertize mechanism erases s-t p's in a manner not under > the control of the major mode, which means the major mode needs to > implement workarounds (which are liable to be slow). I have no idea what you're referring to. Stefan