Ron Aaron wrote:

> 0x0811c8db in utf_ptr2char (p=0xbfffef24 "ילוציי") at mbyte.c:1704
> 1704              return ((p[0] & 0x1f) << 6) + (p[1] & 0x3f);
> (gdb) bt
> #0  0x0811c8db in utf_ptr2char (p=0xbfffef24 "ילוציי") at mbyte.c:1704
> #1  0x0811ccb8 in utf_composinglike (p1=0xbfffef22 "אילוציי", p2=0xbfffef24 
> "ילוציי") at mbyte.c:1869
> #2  0x0811d147 in utfc_ptr2len (p=0xbfffef22 "אילוציי") at mbyte.c:2085
> #3  0x08112290 in vim_strchr (string=0xbfffef22 "אילוציי", c=1493) at 
> misc2.c:1893
> #4  0x0816224c in cstrchr (s=0xbfffef22 "אילוציי", c=1493) at regexp.c:7142
> #5  0x0816b97d in skip_to_start (c=1493, colp=0xbfffdbc0) at regexp_nfa.c:4835
> #6  0x0816e90b in nfa_regexec_both (line=0xbfffef22 "אילוציי", startcol=0) at 
> regexp_nfa.c:6362
> #7  0x0816ecba in nfa_regexec (rmp=0xbfffdc48, line=0xbfffef22 "אילוציי", 
> col=0) at regexp_nfa.c:6556
> #8  0x0816ef04 in vim_regexec (rmp=0xbfffdc48, line=0xbfffef22 "אילוציי", 
> col=0) at regexp.c:8038
> #9  0x081907e1 in valid_word_prefix (totprefcnt=25, arridx=216, 
> flags=83886112, word=0xbfffef22 "אילוציי", slang=0x83a66e0, cond_req=0)
>     at spell.c:1958
> #10 0x081adbe0 in dump_prefixes (slang=0x83a66e0, word=0xbfffef22 "אילוציי", 
> pat=0x87c152a "compl", dir=0xbffff064, dumpflags=0, 
>     flags=83886112, startlnum=0) at spell.c:15950
> #11 0x081ad3c6 in spell_dump_compl (pat=0x87c152a "compl", ic=0, 
> dir=0xbffff064, dumpflags_arg=0) at spell.c:15761
> #12 0x08067c2a in ins_compl_dictionaries (dict_start=0x87badf5 "spell", 
> pat=0x87c1528 "\\<compl", flags=1, thesaurus=0) at edit.c:3120
> #13 0x08069ade in ins_compl_get_exp (ini=0x8351e58 <compl_startpos>) at 
> edit.c:4308
> #14 0x0806a6f3 in ins_compl_next (allow_get_expansion=1, count=1, 
> insert_match=1) at edit.c:4715
> #15 0x0806ba6d in ins_complete (c=16) at edit.c:5386
> #16 0x080653e5 in edit (cmdchar=111, startln=1, count=1) at edit.c:1410
> #17 0x0812d666 in invoke_edit (cap=0xbffff3ac, repl=0, cmd=111, startln=1) at 
> normal.c:9228
> #18 0x0812c7f5 in n_opencmd (cap=0xbffff3ac) at normal.c:8540
> #19 0x0812df77 in nv_open (cap=0xbffff3ac) at normal.c:9574
> #20 0x08120aba in normal_cmd (oap=0xbffff430, toplevel=1) at normal.c:1200
> #21 0x081fb57c in main_loop (cmdwin=0, noexmode=0) at main.c:1329
> #22 0x081faf26 in main (argc=3, argv=0xbffff644) at main.c:1020
> 
> 
> Some time later:
> 
> 0x0819076d in valid_word_prefix (totprefcnt=25, arridx=216, flags=83886112, 
> word=0xbfffef22 "במאיתה", slang=0x83a66e0, cond_req=0)
>     at spell.c:1940
> 1940          pidx = slang->sl_pidxs[arridx + prefcnt];
> (gdb) bt
> #0  0x0819076d in valid_word_prefix (totprefcnt=25, arridx=216, 
> flags=83886112, word=0xbfffef22 "במאיתה", slang=0x83a66e0, cond_req=0)
>     at spell.c:1940
> #1  0x081adbe0 in dump_prefixes (slang=0x83a66e0, word=0xbfffef22 "במאיתה", 
> pat=0x87c152a "compl", dir=0xbffff064, dumpflags=0, 
>     flags=83886112, startlnum=0) at spell.c:15950
> #2  0x081ad3c6 in spell_dump_compl (pat=0x87c152a "compl", ic=0, 
> dir=0xbffff064, dumpflags_arg=0) at spell.c:15761
> #3  0x08067c2a in ins_compl_dictionaries (dict_start=0x87badf5 "spell", 
> pat=0x87c1528 "\\<compl", flags=1, thesaurus=0) at edit.c:3120
> #4  0x08069ade in ins_compl_get_exp (ini=0x8351e58 <compl_startpos>) at 
> edit.c:4308
> #5  0x0806a6f3 in ins_compl_next (allow_get_expansion=1, count=1, 
> insert_match=1) at edit.c:4715
> #6  0x0806ba6d in ins_complete (c=16) at edit.c:5386
> #7  0x080653e5 in edit (cmdchar=111, startln=1, count=1) at edit.c:1410
> #8  0x0812d666 in invoke_edit (cap=0xbffff3ac, repl=0, cmd=111, startln=1) at 
> normal.c:9228
> #9  0x0812c7f5 in n_opencmd (cap=0xbffff3ac) at normal.c:8540
> #10 0x0812df77 in nv_open (cap=0xbffff3ac) at normal.c:9574
> #11 0x08120aba in normal_cmd (oap=0xbffff430, toplevel=1) at normal.c:1200
> #12 0x081fb57c in main_loop (cmdwin=0, noexmode=0) at main.c:1329
> #13 0x081faf26 in main (argc=3, argv=0xbffff644) at main.c:1020

OK, so it doesn't really hang, it's just terribly slow.
The Hebrew spell file isn't made for this.
Recommentation: don't use it.

-- 
hundred-and-one symptoms of being an internet addict:
204. You're being audited because you mailed your tax return to the IRC.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui