From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: pietru@caramail.com Newsgroups: gmane.emacs.help Subject: Re: tex-mode prettify-symbols-alist for ("\\cos" . ?cos) Date: Sun, 14 Feb 2021 00:51:46 +0100 Message-ID: References: <87blcnh6uw.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="21296"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Tassilo Horn Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 14 00:52:20 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1lB4i4-0005TM-3H for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 14 Feb 2021 00:52:20 +0100 Original-Received: from localhost ([::1]:48626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lB4i3-0007z3-5Q for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 18:52:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lB4hc-0007yv-Pn for help-gnu-emacs@gnu.org; Sat, 13 Feb 2021 18:51:52 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:43771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lB4hY-0005K0-T4; Sat, 13 Feb 2021 18:51:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613260306; bh=3cw1lRV/zoq+JevyvuQX7xml2iys3M+hffHZe1YZ8IY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=DzTi3DGI/1HuCPaRfE4LE5B0knaYRsrQmtS+YujJtT6ajDob1WKNkK/NPI/Ml0TZp tWE74HNw6tkMMGQpCeFduXk/P2GuLb2yYPXkhH4R2uV4Xn83xVTLYjXlfhRHs83Q5f uWb4FjPLDfAix07E2wTuM3DfqSWAeHuIEhQ7vFVQ= 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-bs12.server.lan [172.19.170.180]) (via HTTP); Sun, 14 Feb 2021 00:51:46 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87blcnh6uw.fsf@gnu.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:dRhgoLZBuwxRLTEIxeHmNY4J+0/yUYlEkEyzSIaHlgA+PKO3TL4gVXFUyGc43cpLIuuWv wy57Nwv3pa++P41dXcMyvByXFiRblNmJscQk7wn1iojIbWcPCG8am1kxzAe/yhJxK1uIja1G14Cq mrkcYsDjgfRUgPZu7HDNDVmKDRqUAMT5J+i3GVGZlwlg4XDk0Ua/83dlMvx+UsNc7njeAeUHWLUo jD9wXtcsneEge/9MjH2kjvDTf4fg9A8ukHmRyj4GReIEkXnnDv/dxJoEMNbXkBfQEDEBlmq2vju5 jE= X-UI-Out-Filterresults: notjunk:1;V03:K0:gFFILo58PCc=:B7qZzu4O5gpjFHaf7W8ZjY haoIyyW+HvomLJRTW8Ag4guTOyK9MfZMcoIxOnBft4p3WyFFCG6t46o8nRFV3zlh9ZewoVHXg M4zBdm4iUGEQXT2FcZSAjmCP1+WQf5LgxuXP1Ml/DPmTBXCMpN/cFAvk/89U329aZOj9RDHNs dTFmyNGagMBo3E6ssGX9Ohy1ejdcfbJ5+2z2u2DtFHD+gk27561pK7wT+an+4QRkY6pHiW76w 7SCxKNy5xVNwUiy+2BJkV9QdOt75W0FdbLnvs4jWtt2t2IP3G+t3WKGqCbQsC+H9Y7We1/+9t VjpY7aPsY3qnYjN2CGKiGhGR2PMfq4x+5PXcykOzgYtTyz1/11ralA12MuFQg3uIxC+W6GT2f AI1H+5pXK5I1LfyD1MMB8+koE3MjnUacAgvxmorJ6x+haRum2GyJRk6Ca1KLSub8EnsAQiXBq za/NKfm7KEN5vEhP0N+lYITuS0cyUCgygVnglFLtQRvbP8CEYRgahRFK2vK/xmzU6n2pNsHJv ZuMM7QOQgNQWjf3nizt1TnkV74+0ao+pTe41RUAz4QUP3Cx4Wy/CSLSaqU7ADok952szRzuFs sta/1AkzlEUTc= Received-SPF: pass client-ip=212.227.15.15; envelope-from=pietru@caramail.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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:127987 Archived-At: For delimeters do I need to escape using "\" ("\\lbrace" =2E ?\{) ("\\rbrace" =2E ?\}) ("\\lbrack" =2E ?\[) ("\\rbrack" =2E ?\]) ("\\langle" =2E ?\=E2=9F=A8) ("\\rangle" =2E ?\=E2=9F= =A9) ("\\lceil" =2E ?=E2=8C=88) ("\\rceil" =2E ?=E2=8C=89) ("\\lfloor" =2E ?=E2= =8C=8A) ("\\rfloor" =2E ?=E2=8C=8B) > Sent: Sunday, February 14, 2021 at 11:38 AM > From: "Tassilo Horn" > To: help-gnu-emacs@gnu=2Eorg > Subject: Re: tex-mode prettify-symbols-alist for ("\\cos" =2E ?cos) > > pietru@caramail=2Ecom writes: >=20 > > I want to prettify "\cos" to be "cos"=2E Have used ("\\cos" =2E ?cos) > > but this gives > > > > Invalid read syntax: ? >=20 > That's because ?cos is no character=2E ?c would be=2E The replacements= of > `prettify-symbols-alist' must be characters (or something being valid > input for `compose-region's 3rd parameter)=2E >=20 > Bye, > Tassilo >=20 >