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: Sun, 31 Jan 2021 22:03:54 +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="39050"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs To: pietru@caramail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 31 22:04:31 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 1l6JtW-000A4B-Ev for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 31 Jan 2021 22:04:30 +0100 Original-Received: from localhost ([::1]:33978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6JtV-0002fc-Dc for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 31 Jan 2021 16:04:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6Jt0-0002fT-WF for help-gnu-emacs@gnu.org; Sun, 31 Jan 2021 16:03:59 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:38345) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6Jsz-0007RL-1G for help-gnu-emacs@gnu.org; Sun, 31 Jan 2021 16:03:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612127034; bh=cyg9pAtUBdsjYStNvTQysWiS0p8MahxpG9+6S0Za8ns=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=AmGIt6X0F1y1r5AhRrVlOI/wQkzfN2fWUXE1OVsjoSUC/yoHJ75v7iExUEwHbALSg lY3YYIx8lBVAKTOh5AFLw3g0PgjZ92d4lTDB/RdP5DrZYzjYCLeOVGyi3vJDGrC8jz z8hE1ngAWg8+/F2RrQbc/aLOmpbe/1rY+39tLJII= 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); Sun, 31 Jan 2021 22:03:54 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:x2+uDz364wbtXrLHXCfbIUvWe7MM5ecUDvW6HxUfEYpzjsFpONXJwDXGRJNXqO+ufUUMh mVXUUUtGcoFoO6YeiHFE0UP5gDYYbX2KuRNhKsXl0UkYokU99zNcJNPpJMJjmUBnMy/cGU32HQD2 5sFxi1geFn0iTO4zIjI64zjr1tdLy3G1EVax2vWm1YZndnK2rbBIGVeF/wo3H1BZ4L7082gI3Zo7 c1vnHxuSLEnx6KJetkKmonpb0oA++D1YcTmGXHgzXR4B6QYwIdfUPD54p2QI+mwTSLa7cX6oIvKM to= X-UI-Out-Filterresults: notjunk:1;V03:K0:Yb+YlduBsWo=:28ASpgJiX91M6pIkTK1qVN ECSID1aXfPEHndWCs0a3EQq6zVIKYbfCuWSajG2JCCNdn/pXhtEOGBGlNtmMhOcUDd4hsIgWP Vh2qvmOOY3HZDEp7CujZI0VgRNUCEQPPVEjtTGrlywc/kU9EuVBHIi3Ts9XqjbGdIB8qDMmAZ 7iYa59nzlcX92ffwlFwzwF1bsLs+Rx9bVxrTGT8DXo7w9nsQfuOluYJfLuN8xeDLvm0gZs1Dn YGXtfK7JDgQD6iscWapM+q98Pm8XX7xINph9+PS1BKZ1LFPK+5kPn/fxu/UbOiflgXVx0KEXX 99cTfDG5ZGRcOXucfe82SVSsNJtRAry9W0gliuj51gJ3M6IRCaUPYSrh63ZHaDvJwurzV2uz7 QfOopnJdGjFae14fQ85nUIScx3GNMsREsZr1W6BZzVh2Ap3UE5f/V7RUcDXxdeS06nQHVokUC 39AFuFg4v+oXY5VdxKUjutueBhGV4dEpN7lds1jO0AruKNeyXIEXxz5yIgwDlF+BMvQFvXI+f GqTBf498EpPVxjdsGE0mormwQ7fpFW9vOvmSfybP3SZGSq+C/fOEA+ldKqHfwEFpmgcftHVgq Wp+pt8TWk2odU= 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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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:127495 Archived-At: I want to make the glyph substitution when next character is any of=20 " ", "-", "+", "\", ",", ":", ";", "=2E", "_", "^"=2E This targets every \something construct on its own or followed by another one: "\\\\\\<[a-z]+\\>\\([\s+\,:;=2E_^-]\\\\\\<[a-z]+\\>\\)?" This matches \alpha and \alpha followed by another construct like \alpha-\thing: "\\\\\\\\([\s+\,:;=2E_^-]\\\\\\<[a-z]+\\>\\)?" But I need help on to do the actual substitution=2E > Sent: Monday, February 01, 2021 at 1:18 AM > From: pietru@caramail=2Ecom > To: "Help Gnu Emacs" > Subject: Changing into greek glyphs in texinfo-mode > > I want to change \alpha and \beta in texinfo files to show the=20 > appropriate glyph=2E How can I do it? >=20 > (defvar glyph-list > '(;; Greek > ("\\alpha" =2E ?=CE=B1) > ("\\beta" =2E ?=CE=B2)) > "A list of glyph marks=2E") >=20 >=20 >=20 >=20 >