Karsten Hopp c679be
To: vim_dev@googlegroups.com
Karsten Hopp c679be
Subject: Patch 7.3.257
Karsten Hopp c679be
Fcc: outbox
Karsten Hopp c679be
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp c679be
Mime-Version: 1.0
Karsten Hopp c679be
Content-Type: text/plain; charset=UTF-8
Karsten Hopp c679be
Content-Transfer-Encoding: 8bit
Karsten Hopp c679be
------------
Karsten Hopp c679be
Karsten Hopp c679be
Patch 7.3.257
Karsten Hopp c679be
Problem:    Not all completions are available to user commands.
Karsten Hopp c679be
Solution:   Add "color", "compiler", "file_in_path" and "locale". (Dominique
Karsten Hopp c679be
	    Pelle)
Karsten Hopp c679be
Files:	    src/ex_docmd.c, runtime/doc/map.txt
Karsten Hopp c679be
Karsten Hopp c679be
Karsten Hopp c679be
*** ../vim-7.3.256/src/ex_docmd.c	2011-07-20 15:04:52.000000000 +0200
Karsten Hopp c679be
--- src/ex_docmd.c	2011-07-20 16:10:28.000000000 +0200
Karsten Hopp c679be
***************
Karsten Hopp c679be
*** 5297,5303 ****
Karsten Hopp c679be
--- 5297,5305 ----
Karsten Hopp c679be
  {
Karsten Hopp c679be
      {EXPAND_AUGROUP, "augroup"},
Karsten Hopp c679be
      {EXPAND_BUFFERS, "buffer"},
Karsten Hopp c679be
+     {EXPAND_COLORS, "color"},
Karsten Hopp c679be
      {EXPAND_COMMANDS, "command"},
Karsten Hopp c679be
+     {EXPAND_COMPILER, "compiler"},
Karsten Hopp c679be
  #if defined(FEAT_CSCOPE)
Karsten Hopp c679be
      {EXPAND_CSCOPE, "cscope"},
Karsten Hopp c679be
  #endif
Karsten Hopp c679be
***************
Karsten Hopp c679be
*** 5310,5319 ****
Karsten Hopp c679be
--- 5312,5326 ----
Karsten Hopp c679be
      {EXPAND_EVENTS, "event"},
Karsten Hopp c679be
      {EXPAND_EXPRESSION, "expression"},
Karsten Hopp c679be
      {EXPAND_FILES, "file"},
Karsten Hopp c679be
+     {EXPAND_FILES_IN_PATH, "file_in_path"},
Karsten Hopp c679be
      {EXPAND_FILETYPE, "filetype"},
Karsten Hopp c679be
      {EXPAND_FUNCTIONS, "function"},
Karsten Hopp c679be
      {EXPAND_HELP, "help"},
Karsten Hopp c679be
      {EXPAND_HIGHLIGHT, "highlight"},
Karsten Hopp c679be
+ #if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \
Karsten Hopp c679be
+         && (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE))
Karsten Hopp c679be
+     {EXPAND_LOCALES, "locale"},
Karsten Hopp c679be
+ #endif
Karsten Hopp c679be
      {EXPAND_MAPPINGS, "mapping"},
Karsten Hopp c679be
      {EXPAND_MENUS, "menu"},
Karsten Hopp c679be
      {EXPAND_OWNSYNTAX, "syntax"},
Karsten Hopp c679be
*** ../vim-7.3.256/runtime/doc/map.txt	2011-05-19 17:25:36.000000000 +0200
Karsten Hopp c679be
--- runtime/doc/map.txt	2011-07-20 16:10:28.000000000 +0200
Karsten Hopp c679be
***************
Karsten Hopp c679be
*** 1202,1221 ****
Karsten Hopp c679be
--- 1211,1236 ----
Karsten Hopp c679be
  
Karsten Hopp c679be
  	-complete=augroup	autocmd groups
Karsten Hopp c679be
  	-complete=buffer	buffer names
Karsten Hopp c679be
+ 	-complete=color		color schemes
Karsten Hopp c679be
  	-complete=command	Ex command (and arguments)
Karsten Hopp c679be
+ 	-complete=compiler	compilers
Karsten Hopp c679be
+ 	-complete=cscope	|:cscope| suboptions
Karsten Hopp c679be
  	-complete=dir		directory names
Karsten Hopp c679be
  	-complete=environment	environment variable names
Karsten Hopp c679be
  	-complete=event		autocommand events
Karsten Hopp c679be
  	-complete=expression	Vim expression
Karsten Hopp c679be
  	-complete=file		file and directory names
Karsten Hopp c679be
+ 	-complete=file_in_path	file and directory names in |'path'|
Karsten Hopp c679be
  	-complete=filetype	filetype names |'filetype'|
Karsten Hopp c679be
  	-complete=function	function name
Karsten Hopp c679be
  	-complete=help		help subjects
Karsten Hopp c679be
  	-complete=highlight	highlight groups
Karsten Hopp c679be
+ 	-complete=locale	locale names (as output of locale -a)
Karsten Hopp c679be
  	-complete=mapping	mapping name
Karsten Hopp c679be
  	-complete=menu		menus
Karsten Hopp c679be
  	-complete=option	options
Karsten Hopp c679be
  	-complete=shellcmd	Shell command
Karsten Hopp c679be
+ 	-complete=sign		|:sign| suboptions
Karsten Hopp c679be
  	-complete=syntax	syntax file names |'syntax'|
Karsten Hopp c679be
  	-complete=tag		tags
Karsten Hopp c679be
  	-complete=tag_listfiles	tags, file names are shown when CTRL-D is hit
Karsten Hopp c679be
*** ../vim-7.3.256/src/version.c	2011-07-20 15:09:38.000000000 +0200
Karsten Hopp c679be
--- src/version.c	2011-07-20 16:30:31.000000000 +0200
Karsten Hopp c679be
***************
Karsten Hopp c679be
*** 711,712 ****
Karsten Hopp c679be
--- 711,714 ----
Karsten Hopp c679be
  {   /* Add new patch number below this line */
Karsten Hopp c679be
+ /**/
Karsten Hopp c679be
+     257,
Karsten Hopp c679be
  /**/
Karsten Hopp c679be
Karsten Hopp c679be
-- 
Karsten Hopp c679be
I have to exercise early in the morning before my brain
Karsten Hopp c679be
figures out what I'm doing.
Karsten Hopp c679be
Karsten Hopp c679be
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp c679be
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp c679be
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp c679be
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///