Karsten Hopp 3adf03
To: vim_dev@googlegroups.com
Karsten Hopp 3adf03
Subject: Patch 7.3.359
Karsten Hopp 3adf03
Fcc: outbox
Karsten Hopp 3adf03
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 3adf03
Mime-Version: 1.0
Karsten Hopp 3adf03
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 3adf03
Content-Transfer-Encoding: 8bit
Karsten Hopp 3adf03
------------
Karsten Hopp 3adf03
Karsten Hopp 3adf03
Patch 7.3.359
Karsten Hopp 3adf03
Problem:    Command line completion shows dict functions.
Karsten Hopp 3adf03
Solution:   Skip dict functions for completion. (Yasuhiro Matsumoto)
Karsten Hopp 3adf03
Files:	    src/eval.c
Karsten Hopp 3adf03
Karsten Hopp 3adf03
Karsten Hopp 3adf03
*** ../vim-7.3.358/src/eval.c	2011-10-26 13:19:23.000000000 +0200
Karsten Hopp 3adf03
--- src/eval.c	2011-11-30 14:53:38.000000000 +0100
Karsten Hopp 3adf03
***************
Karsten Hopp 3adf03
*** 875,881 ****
Karsten Hopp 3adf03
  
Karsten Hopp 3adf03
  #ifdef EBCDIC
Karsten Hopp 3adf03
      /*
Karsten Hopp 3adf03
!      * Sort the function table, to enable binary sort.
Karsten Hopp 3adf03
       */
Karsten Hopp 3adf03
      sortFunctions();
Karsten Hopp 3adf03
  #endif
Karsten Hopp 3adf03
--- 875,881 ----
Karsten Hopp 3adf03
  
Karsten Hopp 3adf03
  #ifdef EBCDIC
Karsten Hopp 3adf03
      /*
Karsten Hopp 3adf03
!      * Sort the function table, to enable binary search.
Karsten Hopp 3adf03
       */
Karsten Hopp 3adf03
      sortFunctions();
Karsten Hopp 3adf03
  #endif
Karsten Hopp 3adf03
***************
Karsten Hopp 3adf03
*** 21737,21742 ****
Karsten Hopp 3adf03
--- 21737,21745 ----
Karsten Hopp 3adf03
  	    ++hi;
Karsten Hopp 3adf03
  	fp = HI2UF(hi);
Karsten Hopp 3adf03
  
Karsten Hopp 3adf03
+ 	if (fp->uf_flags & FC_DICT)
Karsten Hopp 3adf03
+ 	    return NULL; /* don't show dict functions */
Karsten Hopp 3adf03
+ 
Karsten Hopp 3adf03
  	if (STRLEN(fp->uf_name) + 4 >= IOSIZE)
Karsten Hopp 3adf03
  	    return fp->uf_name;	/* prevents overflow */
Karsten Hopp 3adf03
  
Karsten Hopp 3adf03
*** ../vim-7.3.358/src/version.c	2011-11-30 14:47:12.000000000 +0100
Karsten Hopp 3adf03
--- src/version.c	2011-11-30 14:56:57.000000000 +0100
Karsten Hopp 3adf03
***************
Karsten Hopp 3adf03
*** 716,717 ****
Karsten Hopp 3adf03
--- 716,719 ----
Karsten Hopp 3adf03
  {   /* Add new patch number below this line */
Karsten Hopp 3adf03
+ /**/
Karsten Hopp 3adf03
+     359,
Karsten Hopp 3adf03
  /**/
Karsten Hopp 3adf03
Karsten Hopp 3adf03
-- 
Karsten Hopp 3adf03
'Psychologist' -- Someone who looks at everyone else when
Karsten Hopp 3adf03
an attractive woman enters the room.
Karsten Hopp 3adf03
Karsten Hopp 3adf03
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 3adf03
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 3adf03
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 3adf03
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///