unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: pietru@caramail.com
To: pietru@caramail.com
Cc: help-gnu-emacs@gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: Changing into greek glyphs in texinfo-mode
Date: Mon, 1 Feb 2021 14:35:29 +0100	[thread overview]
Message-ID: <trinity-40f8122a-dd98-476b-b7d2-5b7e0a4c797e-1612186529933@3c-app-mailcom-bs14> (raw)
In-Reply-To: <trinity-f4029c4b-61e1-45c2-985b-d7cc60e68d3e-1612131460241@3c-app-mailcom-bs14>


Does anybody have a strategy how to do this thing?  I do not think
I should do a replacement, only for display, which I can turn on
or off. 

> Sent: Monday, February 01, 2021 at 10:17 AM
> From: pietru@caramail.com
> To: "Stefan Monnier" <monnier@iro.umontreal.ca>
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: Changing into greek glyphs in texinfo-mode
>
> > Sent: Monday, February 01, 2021 at 10:08 AM
> > From: "Stefan Monnier" <monnier@iro.umontreal.ca>
> > To: help-gnu-emacs@gnu.org
> > Subject: Re: Changing into greek glyphs in texinfo-mode
> >
> > > I want to change \alpha and \beta in texinfo files to show the 
> > > appropriate glyph.  How can I do it?
> > >
> > > (defvar glyph-list
> > >   '(;; Greek
> > >     ("\\alpha" . ?α)
> > >     ("\\beta" . ?β))
> > >   "A list of glyph marks.")
> > 
> > Not sure how you want it to be "change"d, but maybe you're looking for
> > `prettify-symbols-mode` and its `prettify-symbols-alist`?
>  
> It is an obscure piece of code.  I am trying to make a minor mode for texinfo,
> and have an clearer implementation.
> 
>  
> >         Stefan
> > 
> > 
> >
> 
>



  reply	other threads:[~2021-02-01 13:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-31 13:18 Changing into greek glyphs in texinfo-mode pietru
2021-01-31 21:03 ` pietru
2021-01-31 22:08 ` Stefan Monnier
2021-01-31 22:17   ` pietru
2021-02-01 13:35     ` pietru [this message]
2021-02-01 13:51       ` Gregory Heytings
2021-02-01 14:02         ` pietru
2021-02-01 14:01       ` moasenwood--- via Users list for the GNU Emacs text editor
2021-02-01 14:59         ` pietru
2021-02-01 17:30           ` pietru
2021-02-02  4:10             ` moasenwood--- via Users list for the GNU Emacs text editor
2021-02-02  5:04               ` pietru
2021-02-02 12:56                 ` pietru
2021-02-02 13:26                   ` pietru

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-40f8122a-dd98-476b-b7d2-5b7e0a4c797e-1612186529933@3c-app-mailcom-bs14 \
    --to=pietru@caramail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).