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 21:56:16 +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="19454"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, Stefan Monnier To: Gregory Heytings Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 03 21:57:30 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 1l7PDO-0004xc-HY for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 03 Feb 2021 21:57:30 +0100 Original-Received: from localhost ([::1]:39786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7PDN-0004XF-HO for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 03 Feb 2021 15:57:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7PCI-000412-Rw for help-gnu-emacs@gnu.org; Wed, 03 Feb 2021 15:56:22 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:34745) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7PCH-0007zQ-07 for help-gnu-emacs@gnu.org; Wed, 03 Feb 2021 15:56:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612385776; bh=s5MrrDEyNn0VesCxVWdaw2QcluibPgvpCF4RHxLttns=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Tqos0Z33yCg0+Jn/kv66kEN/mc6YBcG68GNVm3N6OwxKtLCcBovuDt85Ab+IcvmdZ JsO1zBkNYWkPK2fyK21ajPSeO0p1oy58VygmPZ4jpvO78YJL+X6NlwJtg2BhQpB76K RrxXzExuWLZu6CWQfva6wmTYfRSjT9QWYI7Cs2UA= 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 21:56:16 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:qjhtTQ7f6rUjSSpkgA313rt/Ta+wY8U8et3VXneq7Ol3i5H8jLUGezlscQmFW979Sr50I GDStPwc73fErD+BKW2iIRFcdoC51NjUR8Tz+uYywRNsvk1hzDYuksQDlj9ErQSvgsGpgxaXQ5wTp mBNm++dkBdeuyXF9X04eIPzPTj+K2Zv8aAZXo/rS7VDsefgz/N5fjfZntihzIO+vVekhS/gJ3PSa 0vUtaiTbHfMJnAjX0Y+wjzJbrAlixoLUOsNJ7HPn6+BuI0OjD6V83NkQ1CEBgdxf3ELmleKvlPwd E0= X-UI-Out-Filterresults: notjunk:1;V03:K0:9TwF0bUrvyI=:k6woCh1RVjTJ4WDK7dTCzv kMQi3H+QbhSE6Za9lux6nCjdU4Jjbm8SMR+gjauPtzyzLP0XSMG2+bT0Vj8hIEMVT+oNmf8z4 wqvG5fBWYY3cG4gp2ZEgASgfadxXSS0ye9f/NqnxcQEAqxz1Vqz31U4UeeHhT0VkzjzeWQINM Jq7HORGotg2B1P9+OibHssejwbwf6kq1Te03mlkq0sU+pol/PSfo9XJzvhyMHf6e9v2KpKCSs 1NNvucWwB8z/2nKEH7BIr2FhETVMlCOR/fukwFemZhpdue9wRxKHp4kD5MmVx9wb1NnsAzOa7 99/7/n86RNjWPBYIyKd7pWq3fBSuHhLw96Un9YC/9Sq2Axt+YvuNA7IAigVqGGW7XWPG/cwWn jpHQOZ8nyQ/T6cipm+H7BRtyfqcgQXvmnVNJKGYC+YvX+C+BaYSqZHwAWuYzSjV36s8y5teof vcKlO+fYsw7pdN1fJ/i/F17CCxOtlVZ53gqBDAfTEj0pkp6f6YrL5V4Pl6k4PoJKTpCaCjRfX dMAwhCLjuEhI5B/Z0GiKM7AaHEgF2xNxtxl1uDbA70KCimyH1AaCDivvNHy1PMqVd0nQci4hM cnDrbIrYcXXPY= 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_H3=0.001, RCVD_IN_MSPIKE_WL=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:127595 Archived-At: Thank you=2E Where can I find the code for it? Does it use prog-mode functionality? > Sent: Thursday, February 04, 2021 at 8:39 AM > From: "Gregory Heytings" > To: pietru@caramail=2Ecom > Cc: help-gnu-emacs@gnu=2Eorg, "Stefan Monnier" > Subject: Re: Prettify keywords > >=20 > > > > You don't want to give me any information at all? > > > > I try with "M-x texinfo-mode", followed by "M-x prettify-mode"=2E > > >=20 > Here's a copy of the message I sent you three days ago: >=20 > Follow Stefan's advice: >=20 > (add-hook 'texinfo-mode-hook > (lambda () > (push '("\\alpha" =2E ?=CE=B1) prettify-symbols-alist) > (push '("\\beta" =2E ?=CE=B2) prettify-symbols-alist))) >=20 > This only affects the way "\alpha" and "\beta" are displayed, and you ca= n=20 > turn it on or off with M-x prettify-symbols-mode =2E If you want to tur= n it=20 > 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))) >