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: Prettify keywords Date: Wed, 3 Feb 2021 22:31:53 +0100 Message-ID: References: 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="18405"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Gregory Heytings Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 03 22:32:46 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 1l7PlV-0004fU-KB for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 03 Feb 2021 22:32:45 +0100 Original-Received: from localhost ([::1]:40794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7PlU-0002iL-Ic for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 03 Feb 2021 16:32:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7Pkj-0002hv-Ng for help-gnu-emacs@gnu.org; Wed, 03 Feb 2021 16:31:57 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:48611) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7Pkh-0006l5-7Y for help-gnu-emacs@gnu.org; Wed, 03 Feb 2021 16:31:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612387913; bh=18qv0ODs3OGN7bLbLdDcfz6OqzfYCMopcRr2yf9BLnU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=bHLJ7A2dKkBsFNHtmib0eYSpCwLdMvFAggPipHbLLQ6ntAyIvTcquEMg/bKWHD8R+ OSq7iw4VoQ+xyeZ63nnY85nNSsZ9mahmjTJxWmMBx+hUTzuvjfLPgEISvWBVb1KldN 6FqRfcqmQanrqt6b2BZwYFABbxEYxwYQCcajEcxE= 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-bs06.server.lan [172.19.170.174]) (via HTTP); Wed, 3 Feb 2021 22:31:53 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:wrXzDO67quzNLP/W0rVuGA6sLOikxNWzmy0bne1H+znd7CAS0VC72TfgPuQIK6EIeSOqE RBbP0OUXO/Oe2sZcrV7aZV44secutq509g1Tb1uEJ9VksXrGtuqV2TSk6Cf6kglgpsp6M+iEcSIG PoRHwB8RawWhFbIXyt9W71RZSu1pFp0uZ3Tez/IPV/PCW+uY9d/I2MLu1VS7nyv/Y0VeVvehBcl8 KQUNPAo4Gjto+klHxenhKXSKcW1GUijGHEm89nkmdS1O9P1qNZ2HM/BqQuh4TsWdgs4o24dRg1xv 50= X-UI-Out-Filterresults: notjunk:1;V03:K0:HzS8xLiVBzc=:JV8KaKL45JupFki+GprioM u9IW+i8KQHpGTSKKqlkkyZ9e8+P8GrS+uJTMDbqRUNNnoZnsmWT4NWe5I8+txk1XSjcyMnGpo oeZzxm2qsdwyIdieYN2Yv096A0hAM4jW4v6PmI98BTfVLA3TWNU5bcg3/6FCMdiU37YCkzyE2 rGAfUEwttjT1Pv49ID5Bw54ohXrH6dS9I9JQd943T+IVE2bRo8uA55RW2xBEcLuhK0BF0q7O4 LMrDIoneyIA3aSJWgmeug5dl85GlJDnJO7dh0zOsXhN2IL0WKMmwFx4AAuCMggYsSGShxLX/S 1f2dI2+byFeYTvknHDpQM2JAcN/5GgxYPnRjIzoI7pKZliKkdaAQYJY+ygWjq9whjjdksrUBr UlwZNI+m5z5klqJeLHLh7fpfEg6KEc/uJRz5jvwN/v/C2ke1qBKG1oJNkpshLCaOTLKB/oOsQ v1OT6XHuI/URDtcui/ujNcjmnw6V+HDwruyrj2C380Il5v6i1lElL/Wk7RhXrRNe8W6PWNBHx 0zMI2YhyI5tWYcyKVlKYLWzdurmUpADOx3bsLZJ4QzaFJLSmuKpsfJXHYfdfDSMFMOocOX9IM Q697F5+Yjgomk= Received-SPF: pass client-ip=212.227.17.22; 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:127600 Archived-At: I can see a bit what you mean=2E prettify-symbols-mode is then a minor mod= e that I can use with the texinfo major mode=2E Correct me if I am wrong pl= ease=2E > Sent: Thursday, February 04, 2021 at 9:27 AM > From: "Gregory Heytings" > To: pietru@caramail=2Ecom > Cc: help-gnu-emacs@gnu=2Eorg > Subject: Re: Prettify keywords > >=20 > > > > I am asking where does texinfo-mode call prettify=2E And which pretti= fy=20 > > code is it using=2E > > >=20 > Texinfo-mode does not call prettify-symbols-mode (I believe no mode does= =20 > that by default), which is why I wrote: >=20 > If you want to turn [prettify-symbols-mode] on by default, do: >=20 > (add-hook 'texinfo-mode-hook > (lambda () > (push '("\\alpha" =2E ?=CE=B1) prettify-symbols-alist) > (push '("\\beta" =2E ?=CE=B2) prettify-symbols-alist) > (prettify-symbols-mode))) >=20 > In the last line, "(prettify-symbols-mode)" calls prettify-symbols-mode= =2E=20 > If you want to see the code of "prettify-symbols-mode", type C-h f=20 > prettify-symbols-mode RET TAB RET=2E >