[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [prettify-symbols-mode] Two consecutive matches don't work?
From: |
Robert Pluim |
Subject: |
Re: [prettify-symbols-mode] Two consecutive matches don't work? |
Date: |
Wed, 18 May 2022 12:07:01 +0200 |
>>>>> On Wed, 18 May 2022 11:32:07 +0200, Joost <joostkremers@fastmail.fm> said:
Joost> Hi,
Joost> I'm dealing with some `.xml` files that contain data which uses the
Joost> sequence `<<!` as some sort of operator. Because it's XML, the
Joost> LESS-THAN sign needs to be encoded as `<`, yielding `<<!`.
Joost> So I thought this would be the ideal use case for
Joost> `prettify-symbols-mode`. I added `("<" . ?<)` to
Joost> `prettify-symbols-alist` and activated the mode.
Joost> Unfortunately, only the first `<` in each sequence is
Joost> prettified. This seems to be due to the fact that the second `<`
is
Joost> followed by the exclamation mark: if I insert a space in between,
Joost> prettification works.
Joost> Is there any way to remedy this?
Looks like a bug to me. I tried "<<", but exhibits the same
behaviour.
Robert
--