[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-27 60c84ad: ; * etc/TODO: Fix last change.

From: Eli Zaretskii
Subject: Re: emacs-27 60c84ad: ; * etc/TODO: Fix last change.
Date: Mon, 02 Mar 2020 17:34:45 +0200

> From: Robert Pluim <address@hidden>
> Cc: address@hidden
> Date: Mon, 02 Mar 2020 16:06:17 +0100
> Or we could take a leaf out of FE0F's book, and just do:
>  "\N{U+1F3C3}...?\N{U+FE0F}"
> but I thought that since this runs inside redisplay, we should strive
> to make the patterns as specific as possible.

Not sure if it's better to have several rules rather than one which
used regexp conditionals.  The code in composite.c iterates through
the rules one by one, each time calling the regex search, whereas a
single regexp will be compiled once, then matched, and regex-emacs.c
is quite optimized.  So it might be best to have something like (for
the sequences you show)


We use such regexps a lot in composition rules elsewhere.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]