Have one problem with file finding in path.

1. List files in directory
s...@skip:~/work/breakout2/TlkMessageExchange$ LANG=C ls -l include/
total 36
-rw-rw-r-- 1 skip skip 5852 Jul 21 16:11 lib.h
-rw-rw-r-- 1 skip skip 1059 Jul 16 16:15 log.h
-rw-rw-r-- 1 skip skip 3964 Jul 19 10:17 messager_name_conv.h
-rw-rw-r-- 1 skip skip 1276 Jul 19 10:17 prog.h
-rw-rw-r-- 1 skip skip  621 Jul 16 16:15 recv.h
-rw-rw-r-- 1 skip skip  843 Jul 16 16:15 reg.h
-rw-rw-r-- 1 skip skip  501 Jul 16 16:16 stat.h
-rw-r--r-- 1 skip skip   94 Aug  2 09:10 version.h

2. s...@skip:~/work/breakout2/TlkMessageExchange$ LANG=C vim -u NONE -
U NONE .

3. input :set nocompatible

4. input :set path=./include

5. input :find lib.h
   E345: Can't find file "lib.h" in path

6. input :set path=include

7. input :find lib.h
   File successfully opened.


:version
VIM - Vi IMproved 7.3e BETA (2010 Aug 4, compiled Aug  5 2010
08:35:17)
Compiled by Skip <[email protected]>
Huge version without 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 +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 +multi_byte +multi_lang -mzscheme +netbeans_intg
-osfiletype +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"
  fall-back for $VIM: "/home/skip/bin/vim_editor_console/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -
mtune=native -D_FORTIFY_SOURCE=1
Linking: gcc   -L/usr/local/lib -o vim    -lXt -lm -lncurses -lselinux
-lacl

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