all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: Robert Pluim <rpluim@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, help-gnu-emacs@gnu.org
Subject: Re: [prettify-symbols-mode] Two consecutive matches don't work?
Date: Wed, 18 May 2022 22:01:37 +0200	[thread overview]
Message-ID: <871qwq7gk0.fsf@fastmail.fm> (raw)
In-Reply-To: <878rqz10up.fsf@gmail.com>


On Wed, May 18 2022, Robert Pluim wrote:
>>>>>> On Wed, 18 May 2022 14:56:53 +0300, Eli Zaretskii <eliz@gnu.org> said:
[helpful info]

Thanks Eli & Robert. I didn't realise the importance of
prettify-symbols-compose-predicate. 

> You could even generalize it to:
>
> (setq prettify-symbols-alist '(("&lt;" . "<"))
>       prettify-symbols-compose-predicate
>       (lambda (s e m)
>         t))

  (setq prettify-symbols-compose-predicate #'always)

:-)


-- 
Joost Kremers
Life has its moments



      reply	other threads:[~2022-05-18 20:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-18  9:32 [prettify-symbols-mode] Two consecutive matches don't work? Joost
2022-05-18 10:07 ` Robert Pluim
2022-05-18 10:54   ` Tassilo Horn
2022-05-19 17:46     ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-05-19 19:09       ` Tassilo Horn
2022-05-18 11:56 ` Eli Zaretskii
2022-05-18 12:28   ` Robert Pluim
2022-05-18 20:01     ` Joost Kremers [this message]

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

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

  git send-email \
    --in-reply-to=871qwq7gk0.fsf@fastmail.fm \
    --to=joostkremers@fastmail.fm \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rpluim@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.