[Top][All Lists]

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

Re: Questions about isearch

From: Artur Malabarba
Subject: Re: Questions about isearch
Date: Fri, 27 Nov 2015 12:03:11 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> No, I meant to ask why it doesn't work already.  AFAIU, the
> decomposition of ff is "ff":
>   (get-char-code-property ?ff 'decomposition)
>     => (compat 102 102)
> but searching for 'f' doesn't match the ligature.

It does for me. In this very buffer, if I isearch for 'f' I can get to
the ligature above. Are you sure char-fold was ON when you tested?

> (æ doesn't have a
> decomposition in the Unicode database, so maybe it's a different
> case.)

True. If people think it makes sense, we can add an ad-hoc rule for 'a'
to match 'æ'

>> > 2. It also doesn't match ä (a single character) with ä (2 characters,
>> > which Emacs correctly composes into 1 grapheme cluster). Should it?

Done now.

reply via email to

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