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: Changing into greek glyphs in texinfo-mode Date: Mon, 1 Feb 2021 15:02:10 +0100 Message-ID: References: <32cf26fdca5f4d310233@heytings.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="30183"; 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 Mon Feb 01 15:04:49 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 1l6Zov-0007iA-0P for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 01 Feb 2021 15:04:49 +0100 Original-Received: from localhost ([::1]:41670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6Zou-0000wN-3O for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 01 Feb 2021 09:04:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6ZmT-0007pz-V3 for help-gnu-emacs@gnu.org; Mon, 01 Feb 2021 09:02:18 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:33891) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6ZmP-0001s7-21 for help-gnu-emacs@gnu.org; Mon, 01 Feb 2021 09:02:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612188130; bh=KGF8qUUukqg632v5hexczXDCASYUeqM//+XEAePssg8=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=GqytGnmiJxyTiiFGSHYhEXtn93HUhPwzLYttscVA59cQjLKsouHN743kiXCoz4/Yi Qrn94yVEyhjfxBc1xiCFVGANVECuVVFJPkGfioU813P9pXc9Fo1O1UgTODzw1xFl5U K+3X9skE7ospqfkToE+gM5R5Q5KG7r16PgFg2tkg= 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-bs14.server.lan [172.19.170.182]) (via HTTP); Mon, 1 Feb 2021 15:02:10 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <32cf26fdca5f4d310233@heytings.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:SZgM4z/78BUdOd4eCiykEeOOCPEHi0+D1PKhmOrbO6+HZ/AWKtjCjLN6NqrtkQQ8itCkC RzkxctTHCxp68UzyqEeI2LKla0kM7vBYQnw6euTSOLsY1uC6PAKT2DYrIlo6n2/cDkpfCBjIa7Kg T4RqlH82jpuW3JWfglChIVJqmRWkKO6iAtLKrIRjz3Wskn4So0zStUpw8+wCBRldTvU6SkSodo9W 2usfB+7N1KVAFlKk52zSAqIgFXNrMn/N3FQFRSsT65qSNLAEXscgK2UD33CpB96qjODjPy1yJo9T rM= X-UI-Out-Filterresults: notjunk:1;V03:K0:oMh2oKu11Ok=:BASoXaAQXqx3Wg+1P1Yn4a wczFBlfDerRdedYbhuZJ5HjTOTPccEgLwAc36E0FgKCA1f1BDuV6Yr+20jcRHOftIVcW7r/fn /F/zbDNI+VXrWBO2xRd2qI6xoxRt9RF5CxeBkfhocvSxQXkO3+R9gABggsdhDmD61+v3GzHww En7JM0g/hdGCaYsh/sL78INI/bbumqrvapi2/eWwDmn+9bSnzv/PQLgtkr6XVzwYc7b46AgmD alcaXx7ruj6YhXjb9kgYdC3pJX9Q7pR8tyifzTvTxshWfK8QfI8+2Vw+OGJilPpDtrnLRSeIN i4A6OIJc358E5w6GxTBwvDpp5ztdwrfaZIJ/Ku1KX4jjt+4E6aCPnBN58yT7Y3s1ooTF3ENxc FMSvlg05oYibFgdZ3Sw2DVbL+9V6JB9MNjjG/iQ9pjaUx5o3QtKMD4FBd+357lLhkwxubksGk fjibrn/5curSLVIQtIqrwZU2E6tDfJV6fLbFakMNeXH8iuAyoq1pZpd4BFS9veTG6m5bl/594 jH98LGSAC9wa9xDmxHKZQCx9ryK9MECWPhA1szA4EmL+KCd8kNh1ZcEF4ZxvIGzMs57uJyGok Ftycs/PK/CcJA= 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:127522 Archived-At: > Sent: Tuesday, February 02, 2021 at 1:51 AM > From: "Gregory Heytings" > To: help-gnu-emacs@gnu=2Eorg > Subject: Re: Changing into greek glyphs in texinfo-mode > >=20 > > > > Does anybody have a strategy how to do this thing? I do not think I= =20 > > should do a replacement, only for display, which I can turn on or off= =2E > > >=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: Correct=2E I want to write a replacement code as I find the one in tex-mode=2Eel too cryptic=2E For starts I want to try using just \alpha and \beta=2E=20 =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))) >