Here's the patch again, this time with the updated runtime/doc/todo.txt
included.

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


diff -r ad7bbe9ea65b runtime/doc/todo.txt
--- a/runtime/doc/todo.txt	Tue Feb 26 22:54:11 2013 +0100
+++ b/runtime/doc/todo.txt	Mon Mar 04 09:56:50 2013 +0100
@@ -2284,8 +2284,6 @@
     the :catch commands are always executed, also when the file is edited
     normally.  Should reset did_emsg and undo side effects.  Also make sure
     the ATTENTION message shows up.  Servatius Brandt works on this.
-8   ":g//" gives "Pattern not found error" with E486.  Should not use the
-    error number, it's not a regular error message.
 7   Vimtutor leaves escape sequence in terminal. This is the xterm response to
     requesting the version number.  (Yasuhiro Matsumoto)
 8   When redirecting and using ":silent" the current column for displaying and
diff -r ad7bbe9ea65b src/ex_cmds.c
--- a/src/ex_cmds.c	Tue Feb 26 22:54:11 2013 +0100
+++ b/src/ex_cmds.c	Mon Mar 04 09:56:50 2013 +0100
@@ -5409,9 +5409,9 @@
     else if (ndone == 0)
     {
 	if (type == 'v')
-	    smsg((char_u *)_("Pattern found in every line: %s"), pat);
+	    EMSG2(_("E489: Pattern found in every line: %s"), pat);
 	else
-	    smsg((char_u *)_(e_patnotf2), pat);
+	    EMSG2(_(e_patnotf2), pat);
     }
     else
 	global_exe(cmd);

Raspunde prin e-mail lui