Karsten Hopp 845afa
To: vim-dev@vim.org
Karsten Hopp 845afa
Subject: Patch 7.0.002
Karsten Hopp 845afa
Fcc: outbox
Karsten Hopp 845afa
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 845afa
Mime-Version: 1.0
Karsten Hopp 845afa
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 845afa
Content-Transfer-Encoding: 8bit
Karsten Hopp 845afa
------------
Karsten Hopp 845afa
Karsten Hopp 845afa
Patch 7.0.002
Karsten Hopp 845afa
Problem:    C omni completion has a problem with tags files with a path
Karsten Hopp 845afa
	    containing "#" or "%".
Karsten Hopp 845afa
Solution:   Escape these characters. (Sebastian Baberowski)
Karsten Hopp 845afa
Files:	    runtime/autoload/ccomplete.vim
Karsten Hopp 845afa
Karsten Hopp 845afa
Karsten Hopp 845afa
*** ../vim-7.0.001/runtime/autoload/ccomplete.vim	Wed May 10 15:22:54 2006
Karsten Hopp 845afa
--- runtime/autoload/ccomplete.vim	Mon May  8 13:52:07 2006
Karsten Hopp 845afa
***************
Karsten Hopp 845afa
*** 1,7 ****
Karsten Hopp 845afa
  " Vim completion script
Karsten Hopp 845afa
  " Language:	C
Karsten Hopp 845afa
  " Maintainer:	Bram Moolenaar <Bram@vim.org>
Karsten Hopp 845afa
! " Last Change:	2006 May 03
Karsten Hopp 845afa
  
Karsten Hopp 845afa
  
Karsten Hopp 845afa
  " This function is used for the 'omnifunc' option.
Karsten Hopp 845afa
--- 1,7 ----
Karsten Hopp 845afa
  " Vim completion script
Karsten Hopp 845afa
  " Language:	C
Karsten Hopp 845afa
  " Maintainer:	Bram Moolenaar <Bram@vim.org>
Karsten Hopp 845afa
! " Last Change:	2006 May 08
Karsten Hopp 845afa
  
Karsten Hopp 845afa
  
Karsten Hopp 845afa
  " This function is used for the 'omnifunc' option.
Karsten Hopp 845afa
***************
Karsten Hopp 845afa
*** 458,464 ****
Karsten Hopp 845afa
  " member.
Karsten Hopp 845afa
  function! s:StructMembers(typename, items, all)
Karsten Hopp 845afa
    " Todo: What about local structures?
Karsten Hopp 845afa
!   let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
Karsten Hopp 845afa
    if fnames == ''
Karsten Hopp 845afa
      return []
Karsten Hopp 845afa
    endif
Karsten Hopp 845afa
--- 458,464 ----
Karsten Hopp 845afa
  " member.
Karsten Hopp 845afa
  function! s:StructMembers(typename, items, all)
Karsten Hopp 845afa
    " Todo: What about local structures?
Karsten Hopp 845afa
!   let fnames = join(map(tagfiles(), 'escape(v:val, " \\#%")'))
Karsten Hopp 845afa
    if fnames == ''
Karsten Hopp 845afa
      return []
Karsten Hopp 845afa
    endif
Karsten Hopp 845afa
*** ../vim-7.0.001/src/version.c	Wed May 10 15:22:50 2006
Karsten Hopp 845afa
--- src/version.c	Wed May 10 15:24:42 2006
Karsten Hopp 845afa
***************
Karsten Hopp 845afa
*** 668,669 ****
Karsten Hopp 845afa
--- 668,671 ----
Karsten Hopp 845afa
  {   /* Add new patch number below this line */
Karsten Hopp 845afa
+ /**/
Karsten Hopp 845afa
+     2,
Karsten Hopp 845afa
  /**/
Karsten Hopp 845afa
Karsten Hopp 845afa
-- 
Karsten Hopp 845afa
From "know your smileys":
Karsten Hopp 845afa
 =):-)	Uncle Sam
Karsten Hopp 845afa
Karsten Hopp 845afa
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 845afa
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 845afa
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 845afa
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///