Yukihiro Nakadaira wrote:

> On Wed, Feb 22, 2012 at 8:43 AM, raf <[email protected]> wrote:
> > behaviour 1 = E426: tag not found: .BC
> > behaviour 2 = E434: Can't find tag pattern
> >
> >                 macosx      ubuntu
> > my vim           1           1
> > system vim       2           2
> > macports Vim     2
> > macports MacVim  2
> 
> I think that "E434: Can't find tag pattern" means that the running Vim
> is old and doesn't contain patch 7.3.386.
> On my ubuntu 11.10 pc, /usr/bin/vim is 7.3.154 and result is same.
> "/usr/bin/vim -u unix.vim -s dotest.in test83.in" hangs.
> 
> "E426: tag not found: .BC" seems iconv doesn't work.  But in that
> case, test83 should successfully finish without running test case.
> Hmm...

iconv works. i tested that with:

  :set encoding=utf-8
  :echo iconv("\x82\x60", "cp932", "utf-8") == "\uff21"

although i just realised that my system vim on ubuntu (which i don't use)
was the vim-tiny package that didn't like that :echo iconv command so i've
replaced it with the vim package instead which does. it still produces
behaviour 2.

> Could you show me the output of :version command on ubuntu?  And what is
> your configure command?
> -- 
> Yukihiro Nakadaira - [email protected]

ubuntu configure command:
-------------------------
./configure \
    --with-x \
    --enable-gui=motif \
    --enable-multibyte

ubuntu version:
---------------
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 13 2012 12:09:56)
Included patches: 1-443
Compiled by [email protected]
Normal version with X11-Motif GUI.  Features included (+) or not (-):
-arabic +autocmd +balloon_eval +browse +builtin_terms +byte_offset +cindent 
+clientserver +clipboard +cmdline_compl
+cmdline_hist +cmdline_info +comments -conceal +cryptv -cscope +cursorbind 
+cursorshape +dialog_con_gui +diff +digraphs
 -dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path 
+find_in_path +float +folding -footer
+fork() +gettext -hangul_input +iconv +insert_expand +jumplist -keymap -langmap 
+libcall +linebreak +lispindent
+listcmds +localmap -lua +menu +mksession +modify_fname +mouse +mouseshape 
-mouse_dec -mouse_gpm -mouse_jsbterm
-mouse_netterm -mouse_sysmouse +mouse_xterm -mouse_urxvt +multi_byte 
+multi_lang -mzscheme +netbeans_intg +path_extra
-perl +persistent_undo +postscript +printer -profile -python -python3 +quickfix 
+reltime -rightleft -ruby +scrollbind
+signs +smartindent -sniff +startuptime +statusline -sun_workshop +syntax 
+tag_binary +tag_old_static -tag_any_white
-tcl +terminfo +termresponse +textobjects +title +toolbar +user_commands 
+vertsplit +virtualedit +visual +visualextra
+viminfo +vreplace +wildignore +wildmenu +windows +writebackup +X11 +xfontset 
+xim +xsmp_interact +xterm_clipboard
-xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF -DFUNCPROTO=15 
-DNARROWPROTO    -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L/usr/local/lib -Wl,--as-needed -o vim  -lXp -lXext -lXm -lXt 
-lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -ldl -lm -lncurses -lnsl

macosx configure command:
-------------------------
./configure \
    --disable-darwin \
    --with-x \
    --enable-gui=motif \
    --enable-multibyte \
    --with-mac-arch=current \
    --with-features=huge \
    --disable-acl \
    "$@"

macosx version:
---------------
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 22 2012 11:51:57)
Included patches: 1-443
Compiled by [email protected]
Huge version with X11-Motif GUI.  Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent 
+clientserver +clipboard +cmdline_compl
+cmdline_hist +cmdline_info +comments +conceal +cryptv +cscope +cursorbind 
+cursorshape +dialog_con_gui +diff +digraphs
 -dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path 
+find_in_path +float +folding -footer
+fork() -gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap 
+libcall +linebreak +lispindent
+listcmds +localmap -lua +menu +mksession +modify_fname +mouse +mouseshape 
+mouse_dec -mouse_gpm -mouse_jsbterm
+mouse_netterm -mouse_sysmouse +mouse_xterm +mouse_urxvt +multi_byte 
+multi_lang -mzscheme +netbeans_intg +path_extra
-perl +persistent_undo +postscript +printer +profile -python -python3 +quickfix 
+reltime +rightleft -ruby +scrollbind
+signs +smartindent -sniff +startuptime +statusline -sun_workshop +syntax 
+tag_binary +tag_old_static -tag_any_white
-tcl +terminfo +termresponse +textobjects +title +toolbar +user_commands 
+vertsplit +virtualedit +visual +visualextra
+viminfo +vreplace +wildignore +wildmenu +windows +writebackup +X11 +xfontset 
+xim +xsmp_interact +xterm_clipboard
-xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF  
-I/opt/local/include   -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1   
-I/opt/local/include
Linking: gcc -L/opt/local/lib -L/opt/local/lib -R/opt/local/lib   
-L/usr/local/lib -o vim  -lXmu -lXext -lXm -lXpm -lXt -lX11 -lSM -lICE -lm 
-lncurses  -liconv

-- 
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

Raspunde prin e-mail lui