emacs-devel
[Top][All Lists]
Advanced

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

Re: Questions about isearch


From: Eli Zaretskii
Subject: Re: Questions about isearch
Date: Fri, 27 Nov 2015 16:36:48 +0200

> From: Artur Malabarba <address@hidden>
> Cc: address@hidden
> Date: Fri, 27 Nov 2015 12:03:11 +0000
> 
> 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.

Right, it does.  I think I tried "ff", not "f".  Is that supposed to
work?

> Are you sure char-fold was ON when you tested?

It was in "emacs -Q", so yes.

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

Thanks.

But if this now work, why doesn't "ff" find ff or vice versa?  Isn't
that the same case?




reply via email to

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