Hi

I see that Vim-7.3.3 help files refer to the following error
numbers which no longer exist in source code:

  E106 E260 E489 E565

Looking at non-maintained po files, these errors were:

msgid "E106: Unknown variable: \"%s\""
msgid "E260: cscope connection not found"
msgid "E565: error reading cscope connection %d"
(and can't find E489 anywhere)

E106 was removed in Vim-7.0.48 (changelist: 159:389c8abd5925)

I think E106 should be replaced by E121 in the doc.

What surprises me, is that src/testdir/test49.vim still
contained E106 and yet all tests passed.  The test checks
that E106 does not happen and E488 does happen when running
":let novar #".  I changed E106 into E121 in test49.vim but it does
not seem very useful anyway to me to check that E121 does not happen.

E260, E489 and E565 were already removed in Vim-7.0.0 (oldest
version in Mercurial, so I did not try to check in which
version those error messages were removed from Vim.

It seems that E260 has been replaced by E261:
  "E261: cscope connection %s not found"

Attached patch removes E106 E260 E489 E565 from documentation.
and updates test case 49.

Regards
-- Dominique

-- 
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
diff -r 073ff46fe397 runtime/doc/eval.txt
--- a/runtime/doc/eval.txt	Fri Aug 20 11:11:57 2010 +0200
+++ b/runtime/doc/eval.txt	Wed Aug 25 00:18:08 2010 +0200
@@ -1115,7 +1115,7 @@
 
 
 ==============================================================================
-3. Internal variable				*internal-variables* *E121*
+3. Internal variable				*internal-variables*
 									*E461*
 An internal variable name can be made up of letters, digits and '_'.  But it
 cannot start with a digit.  It's also possible to use curly braces, see
@@ -6741,7 +6741,7 @@
 :let [{name}, ..., ; {lastname}] -= {expr1}
 			Like above, but append/add/subtract the value for each
 			|List| item.
-							*E106*
+							*E121*
 :let {var-name}	..	List the value of variable {var-name}.	Multiple
 			variable names may be given.  Special names recognized
 			here:				*E738*
diff -r 073ff46fe397 runtime/doc/if_cscop.txt
--- a/runtime/doc/if_cscop.txt	Fri Aug 20 11:11:57 2010 +0200
+++ b/runtime/doc/if_cscop.txt	Wed Aug 25 00:18:08 2010 +0200
@@ -112,8 +112,7 @@
 	    :cscope add /projects/vim/cscope.out /usr/local/vim
 	    :cscope add cscope.out /usr/local/vim -C
 <
-				      *cscope-find* *cs-find*
-						*E565* *E567*
+				      *cscope-find* *cs-find* *E567*
     find  : Query cscope.  All cscope query options are available
 	    except option #5 ("Change this grep pattern").
 
@@ -198,7 +197,7 @@
 
 	    USAGE   :cs help
 
-						*E260* *E261*
+						*E261*
     kill  : Kill a cscope connection (or kill all cscope connections).
 
 	    USAGE   :cs kill {num|partial_name}
diff -r 073ff46fe397 src/testdir/test49.vim
--- a/src/testdir/test49.vim	Fri Aug 20 11:11:57 2010 +0200
+++ b/src/testdir/test49.vim	Wed Aug 25 00:18:08 2010 +0200
@@ -8711,7 +8711,7 @@
 		endif
 	    else
 		if cmd == "let"
-		    let match = MATCH(0, thrmsg, 'E106', "Unknown variable")
+		    let match = MATCH(0, thrmsg, 'E121', "Undefined variable")
 		elseif cmd == "unlet"
 		    let match = MATCH(0, thrmsg, 'E108', "No such variable")
 		endif

Raspunde prin e-mail lui