Re: [PATCH] bbdb-search: make `string-match' customizable.

2015-06-02 Thread ????
> Perhaps there should be a standard string-match-loose which is used for > potentially-approximate matches like this and which has a > double handful of > configuration options and tweaks that can be fiddled with by prefixes in the > search string. In my opinion, i think it is a kind of "abbr

Re: [PATCH] bbdb-search: make `string-match' customizable.

2015-06-02 Thread ????
> believe, was concerned > that typing Chinese names can be cumbersome so that he wanted an > ascii-based shortcut. Yes, This is my main focus... Nearly every contacts manager in China have this feature.--

Re: [PATCH] bbdb-search: make `string-match' customizable.

2015-06-01 Thread Roland Winkler
On Tue Jun 2 2015 Roland Winkler wrote: > Any approximate search will give you yet more matches than what you > get otherwise. So it might not always simplify life if you have a > large BBDB file. The examples at the bottom of lisp/soundex.el illustrate this quite well. -

Re: [PATCH] bbdb-search: make `string-match' customizable.

2015-06-01 Thread Roland Winkler
On Mon Jun 1 2015 Barak A. Pearlmutter wrote: > To put a slightly different perspective on this, I have a sizable > bbdb file, and sometimes I can't find someone because I'm spelling > their name wrong. Maybe Steven vs Stephen. The classic way to deal > with this is to do a SOUNDEX search, or one o

Re: [PATCH] bbdb-search: make `string-match' customizable.

2015-05-31 Thread Roland Winkler
On Sun May 31 2015 Feng Shu wrote: > I just use `pyim-hanzi2pinyin' function, which do such work: > > "你好 BBDB" -> "nihao BBDB" > > so, what I want to do is like this, for example: > 1. I have a contact record, which name is "你好 BBDB" > 2. If use `string-match', I need type "你好" to search this

Re: [PATCH] bbdb-search: make `string-match' customizable.

2015-05-31 Thread Feng Shu
"Roland Winkler" writes: > On Sat May 30 2015 Feng Shu wrote: >> This patch make `string-match' used by `bbdb-search' >> customizable. I use this feature to search Chinese contacts names with >> pinyin. this is a very useful feature for CJK users. > > ...I am surprised: what is the purpose of rep

Re: [PATCH] bbdb-search: make `string-match' customizable.

2015-05-30 Thread Roland Winkler
On Sat May 30 2015 Feng Shu wrote: > This patch make `string-match' used by `bbdb-search' > customizable. I use this feature to search Chinese contacts names with > pinyin. this is a very useful feature for CJK users. ...I am surprised: what is the purpose of replacing string-match with something

[PATCH] bbdb-search: make `string-match' customizable.

2015-05-30 Thread ????
Hello: This patch make `string-match' used by `bbdb-search' customizable. I use this feature to search Chinese contacts names with pinyin. this is a very useful feature for CJK users. Suggest merge to master, thanks! 0001-bbdb-search-make-string-match-customizable.patch Description: Binary data