From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.devel Subject: Re: prettify-symbols-mode to handle "\alpha-\beta" ... Date: Thu, 4 Feb 2021 21:34:48 +0100 Message-ID: References: <87v9b8mvpb.fsf@telefonica.net> <87r1lwmrgc.fsf@telefonica.net> 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="8482"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?Q?=C3=93scar_Fuentes?= , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 04 21:36:16 2021 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 1l7lMN-00025x-Ri for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Feb 2021 21:36:15 +0100 Original-Received: from localhost ([::1]:36148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7lMM-0004Ya-UK for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Feb 2021 15:36:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7lL8-0003k9-Ep for emacs-devel@gnu.org; Thu, 04 Feb 2021 15:34:58 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:40377) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7lL5-0005Ak-1o for emacs-devel@gnu.org; Thu, 04 Feb 2021 15:34:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612470888; bh=F2XD1l55+71h83+bbXcqcpBVBs/nLyn6sDMSATxLb6I=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=FLukS9CMaTBdUbuqEOu4ZqIAlfiN+kc6StVYNlEWBr5P6MhVh1eu3qBkjGkBRty1q kmYUbDE+S6tv6Lq733plS8zT/VOQpRBSnD26n2FBMO964sWEevQH8gF8/o67saSeq7 RYKYniOJLE+l1rjtQ85G3XYGg595HlCazyKieTng= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs01.server.lan [172.19.170.58]) (via HTTP); Thu, 4 Feb 2021 21:34:48 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:B8NA4Ff8WX2UH6Itr4JP+7IiaR+P2r/AUdojFQw4WntpDnMxYl8N8wkG3HHp3lxS56NVx FZirgy5UDf7dQtw1qIZiFCxk08evjgQUWXei8TKM48LwrtaFjfg34RLvzkv8CxtNjbAoSdZmp7uo YiwXCU7piM8geol9S7lfAJTbhVh8Eh6XVS13Dvr69nwyQiBgID+HfHHuTlSTiBSePe8S72Fa6JHV nsMEfhzDBaqbYniEp6Lum4lbBKOXDQ0E8SLbRh7gc2+mtAJV0A03xbBzYZtSlw+Uct2wECg76jQ1 8Q= X-UI-Out-Filterresults: notjunk:1;V03:K0:VaSawMk1Er8=:l06UGmWALZOXfj9xKkNV0M DoLVi4aDbmFPcJUZt7kvSNW8OI8p06TZcJpMmNQu+m3VOybZ1r35mfGEHHlBfdVO4lT3U6jMn 64JPrh6kWHV8vfbHMj8tF1so9HYXUCm1aUBlF/+KH1tyQ+U2pz2CBasIaYrWhpPMME4OMbb3I vVRCaKyQoqS3D9CffYSBEBpPy+SwsZ5drNdbKzwJq5hGfxkVGiNy+USFe1woyi9Dw6R6m2ssm TrqMGPxiLnnVC/p3FGI/XHku5RkbzPJ/uN4rhy8/ALQUlMjE2/y+MHJNfXqhxZ+9vccnkEG7S fWOhN7Oy065S+Fn7UTNyREnchyR6eqLOPbEtVui8SBUWnt8h3PurRwVLxoruAnW41lheeR3NS XQdoKZfx6U0VA/32bZ+/8GVU2dpjtMCVrD8Ncg++b9VD5WLE0CpAYuVFo8/iDFT7v/U/JX/s8 R10jfHNJeNfu6fbaorqWgYQ1fR8pmoDvdFJficsuRfs7Dn/2Da1hO+gieJF1LUaWHknG/8xcn jux8ivU7EFoGcCDRYtnqVKH2/3n8iInYWb93SYy5b7Wdyhns8r/Wg65KzzA4DwktOHAbE/LkT W3EqghJn1TSyU= Received-SPF: pass client-ip=212.227.17.22; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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.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:263907 Archived-At: > Sent: Friday, February 05, 2021 at 6:23 AM > From: "Stefan Monnier" > To: "Christopher Dimech" > Cc: "=C3=93scar Fuentes" , emacs-devel@gnu=2Eorg > Subject: Re: prettify-symbols-mode to handle "\alpha-\beta" =2E=2E=2E > > > The way I see it, is that the improvement should be put in=20 > > prog-mode=2Eel, >=20 > What is "the" improvement you're referring to? >=20 > > and then the other major modes can rely on prog-mode=2Eel fon a minor > > mode that implements the prettify functionality=2E >=20 > I think that's the case already, thanks to `prettify-symbols-mode`=2E > I'm not saying it can't be improved, of course, It is good for separate languages=2E But texinfo and org are quite special cases, because they allow one to use syntax from other languages=2E From what=20 I have seen, prettify is not aware of how mathematical expressions in texinfo could be constructed=2E The way mathematical expressions are written differ from simply focusing on a keyword as is done for programming language keywords=2E =20 =20 >=20 > Stefan >=20 >