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:42:35 +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="24461"; 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:51:29 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 1l7Q3b-0006EA-Tl for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 03 Feb 2021 22:51:27 +0100 Original-Received: from localhost ([::1]:33556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7Q3a-0004Ux-VL for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 03 Feb 2021 16:51:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7PvD-0000Zo-2T for help-gnu-emacs@gnu.org; Wed, 03 Feb 2021 16:42:48 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:52013) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7Pv5-0002OO-Fw for help-gnu-emacs@gnu.org; Wed, 03 Feb 2021 16:42:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612388556; bh=Eu9TmUe5NJefYyYQQkrJfkpnCilzesxtjEpY73TFI08=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=XEcaxDF4ecV0RUeWRPItWWIBLyKF0I6/5zhDe1HyzbWG15QFKH7YUp4xW+MFyyIQ9 x/zUIC1dug8zQ69xPs9C5SxP/qabVF8jzduZtpJymDoCZtZASLE4kG///wAGWiautF EdRwgoZ7Ul44AfnKBf3oJ5MjRM8BiuLsLAlpWQBg= 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:42:35 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:VYaZyzRkapQdLudVB8RQkbeBVQIavZNOB8mxJR4WCFzsS6nc3cCvPjCPqoZfUK8iFsxZB KomPDppHogl8mtthtXrF7ZeX1rJzqNSXvUgsim8HmGtGa0yMkuPeIqNRY5LFg0E5F5COfS9/q5Ti AnyoUI1mqzX6Vywo3Jj4q4h3ucFJr8yxMhymQtR8OLUZf9smnM6BHjyMzo5GadS9IrpEqwdQvlas 9Cra5YuPSKXSDG2jvpyIx6OlQjlDpQ3zYv4Y8oMg2QSplLTRL0KBOZBh1Prbwh9MNLw0hHMwT9w0 J0= X-UI-Out-Filterresults: notjunk:1;V03:K0:RVI8/4QpLbg=:nv3qn2je5O+C2tEjBQD5c2 3lQLi62SlsHhGEuV1Os6QWI+RuZ6KoOiVdOpz7bz10q/LdSpAQgJpGBoIwz8yxyEJZl3MzY47 A4JCy/y3mlwhPizfMvKLy3oebV1fHyDwVemlSKrzXbJnpzJrEeqi5j6Bggx35vrI7A70MBGz1 fSjO6fJkleee0JBGk0TO0Y0tX7St1i4N2DBFnoTuDM06261Xj1qJi0l0BFDLThbIxMMxIaQqe VnzzDN8Q6qAhUzTYTJy7st4f5bMCwBUb3H7u+R5gb+dIfv7Cjz+IrwuwYCzmbScJJbj4j/nOX O+WdigMLs95KaN+2lentathB4MDj57+xtBqkyYQiHzctshZpfrlOeAOAUYqW09sc+RH0ZcWIA oNZtZyAkd0abo9qPSyFSyD5jElHUXkd17lsBvD4abTqMxaBtb6vJp9qgWtwZdsPK9aJ1qmB81 NIE67RoKXwAX2Rbkzz3mOg+SYL39/bsAKZG+YSEHxfHWHzjHsC+QpH9VgF2g+51XXlCunikmi GFXwT7+EK09ktQ5Ufv5OU6tmxsvdCcOa0rklLSe8yqAWu19k5sJRWTniyQQsWFOgaOXrLFjZ5 X2WJ31S7BU16s= Received-SPF: pass client-ip=212.227.15.18; 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:127605 Archived-At: Equipped with this information my task would not be too difficult to implement=2E I thought of giving up on it=2E Would it be possible to include the code in a minor mode that I am writing for texinfo? The minor mode is called crucible=2E So I can have=20 (defun pretty () (push '("\\alpha" =2E ?=CE=B1) prettify-symbols-alist) (push '("\\beta" =2E ?=CE=B2) prettify-symbols-alist) (prettify-symbols-mode)) (add-hook 'texinfo-mode-hook #'pretty) > Sent: Thursday, February 04, 2021 at 9:37 AM > From: "Gregory Heytings" > To: pietru@caramail=2Ecom > Cc: help-gnu-emacs@gnu=2Eorg > Subject: Re: Prettify keywords > >=20 > > > > I can see a bit what you mean=2E prettify-symbols-mode is then a mino= r=20 > > mode that I can use with the texinfo major mode=2E Correct me if I am= =20 > > wrong please=2E > > >=20 > Yes, that's correct=2E As you see in the code: "(define-minor-mode=20 > prettify-symbols-mode =2E=2E=2E"=2E It is a minor mode which, as any ot= her minor=20 > mode, you can use with any major mode=2E >