GNU bug report logs - #13041
24.2; diacritic-fold-search

Previous Next

Package: emacs;

Reported by: perin <at> acm.org

Date: Fri, 30 Nov 2012 18:31:02 UTC

Severity: wishlist

Found in version 24.2

Fixed in version 25.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #170 received at 13041 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: handa <at> gnu.org, 13041 <at> debbugs.gnu.org, perin <at> panix.com, perin <at> acm.org,
	drew.adams <at> oracle.com
Subject: Re: bug#13041: 24.2; diacritic-fold-search
Date: Thu, 06 Dec 2012 19:50:48 +0200
> Date: Thu, 06 Dec 2012 11:34:26 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> CC: Drew Adams <drew.adams <at> oracle.com>, eliz <at> gnu.org, perin <at> panix.com, 
>  13041 <at> debbugs.gnu.org, perin <at> acm.org
> 
>  > Emacs contains ucs-normailze package which provides various
>  > normalization functions.  For instance,
>  >
>  > (require 'ucs-normalize)
>  > (ucs-normalize-NFKD-string "Äffin") => "Äffin"
>  >
>  > Isn't it usable?
> 
> Actually, the function should do what we need.  But I have no idea how
> to integrate it into a searching algorithm.  And when sorting, it seems
> expensive for comparing buffer substrings.  Also, the use of a temporary
> buffer for normalizing every single string makes its weight quite heavy.

Yes, I don't think this will be possible without changes on the C
level.  Those changes should use code very similar to what we
currently do for case-insensitive search.





This bug report was last modified 8 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.