patch 9.1.1698: Some error numbers are not documented
Commit:
https://github.com/vim/vim/commit/5e27058fc4a98dbea16f72bc54e76bbe1d455168
Author: Yegappan Lakshmanan <[email protected]>
Date: Wed Aug 27 18:00:38 2025 +0200
patch 9.1.1698: Some error numbers are not documented
Problem: Some error numbers are not documented
(Restorer)
Solution: Document missing error numbers (Yegappan Lakshmanan).
fixes: #18114
closes: #18135
Signed-off-by: Yegappan Lakshmanan <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index f5ccae214..69f28b95e 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 9.1. Last change: 2025 Aug 23
+*autocmd.txt* For Vim version 9.1. Last change: 2025 Aug 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -546,6 +546,7 @@ BufUnload Before unloading a buffer.
This is when the
NOTE: When this autocommand is executed, the
current buffer "%" may be different from the
buffer being unloaded "<afile>".
+ *E1546*
Don't change to another buffer or window, it
will cause problems!
When exiting and v:dying is 2 or more this
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 8dba6f43b..470326760 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 9.1. Last change: 2025 Aug 23
+*options.txt* For Vim version 9.1. Last change: 2025 Aug 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1746,6 +1746,7 @@ A jump table for the options with a short description can
be found at |Q_op|.
security reasons.
*'chistory'* *'chi'*
+ *E1542* *E1543* *E1544*
'chistory' 'chi' number (default: 10)
global
{only available when compiled with the |+quickfix|
diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt
index ba87b31f1..a3d25a4cf 100644
--- a/runtime/doc/popup.txt
+++ b/runtime/doc/popup.txt
@@ -1,4 +1,4 @@
-*popup.txt* For Vim version 9.1. Last change: 2025 Feb 20
+*popup.txt* For Vim version 9.1. Last change: 2025 Aug 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -285,6 +285,7 @@ popup_create({what}, {options})
*popup_create()*
an existing swap file, it is silently opened read-only, as if
a |SwapExists| autocommand had set |v:swapchoice| to 'o'.
This is because we assume the buffer is only used for viewing.
+ The buffer number cannot refer to a closing buffer. *E1551*
{options} is a dictionary with many possible entries.
See |popup_create-arguments| for details.
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
index 248b68d90..02a1a663e 100644
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -1,4 +1,4 @@
-*quickfix.txt* For Vim version 9.1. Last change: 2025 Aug 10
+*quickfix.txt* For Vim version 9.1. Last change: 2025 Aug 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -43,7 +43,7 @@ From inside Vim an easy way to run a command and handle the
output is with the
The 'errorformat' option should be set to match the error messages from your
compiler (see |errorformat| below).
- *quickfix-stack* *quickfix-ID*
+ *quickfix-stack* *quickfix-ID* *E1545*
Each quickfix list has a unique identifier called the quickfix ID and this
number will not change within a Vim session. The |getqflist()| function can be
used to get the identifier assigned to a list. There is also a quickfix list
diff --git a/runtime/doc/tags b/runtime/doc/tags
index 8af54eae0..72d2727af 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -4420,6 +4420,7 @@ E1231 map.txt /*E1231*
E1232 builtin.txt /*E1232*
E1233 builtin.txt /*E1233*
E1234 vim9.txt /*E1234*
+E1235 vim9.txt /*E1235*
E1236 vim9.txt /*E1236*
E1237 map.txt /*E1237*
E1238 vim9.txt /*E1238*
@@ -4439,6 +4440,7 @@ E125 userfunc.txt /*E125*
E1250 vim9.txt /*E1250*
E1251 vim9.txt /*E1251*
E1252 vim9.txt /*E1252*
+E1253 vim9.txt /*E1253*
E1254 vim9.txt /*E1254*
E1255 map.txt /*E1255*
E1256 vim9.txt /*E1256*
@@ -4521,6 +4523,7 @@ E1325 vim9class.txt /*E1325*
E1326 vim9class.txt /*E1326*
E1327 vim9class.txt /*E1327*
E1328 vim9class.txt /*E1328*
+E1329 vim9class.txt /*E1329*
E133 userfunc.txt /*E133*
E1330 vim9class.txt /*E1330*
E1331 vim9class.txt /*E1331*
@@ -4602,6 +4605,7 @@ E1400 vim9class.txt /*E1400*
E1401 vim9class.txt /*E1401*
E1402 vim9class.txt /*E1402*
E1403 vim9class.txt /*E1403*
+E1404 vim9class.txt /*E1404*
E1405 vim9class.txt /*E1405*
E1406 vim9class.txt /*E1406*
E1407 vim9class.txt /*E1407*
@@ -4626,8 +4630,12 @@ E1423 vim9class.txt /*E1423*
E1424 vim9class.txt /*E1424*
E1425 vim9class.txt /*E1425*
E1426 vim9class.txt /*E1426*
+E1427 vim9class.txt /*E1427*
+E1428 vim9class.txt /*E1428*
E1429 vim9class.txt /*E1429*
E143 autocmd.txt /*E143*
+E1430 vim9class.txt /*E1430*
+E1431 vim9class.txt /*E1431*
E1432 vim9.txt /*E1432*
E1433 vim9.txt /*E1433*
E1434 vim9.txt /*E1434*
@@ -4687,11 +4695,17 @@ E1539 vim9.txt /*E1539*
E154 helphelp.txt /*E154*
E1540 eval.txt /*E1540*
E1541 vi_diff.txt /*E1541*
+E1542 options.txt /*E1542*
+E1543 options.txt /*E1543*
+E1544 options.txt /*E1544*
+E1545 quickfix.txt /*E1545*
+E1546 autocmd.txt /*E1546*
E1547 various.txt /*E1547*
E1548 wayland.txt /*E1548*
E1549 options.txt /*E1549*
E155 sign.txt /*E155*
E1550 options.txt /*E1550*
+E1551 popup.txt /*E1551*
E1552 vim9.txt /*E1552*
E1553 vim9.txt /*E1553*
E1554 vim9.txt /*E1554*
diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt
index 063c17936..3de4a75e9 100644
--- a/runtime/doc/vim9.txt
+++ b/runtime/doc/vim9.txt
@@ -1,4 +1,4 @@
-*vim9.txt* For Vim version 9.1. Last change: 2025 Jul 21
+*vim9.txt* For Vim version 9.1. Last change: 2025 Aug 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1737,9 +1737,9 @@ argument type checking: >
<
*E1211* *E1217* *E1218* *E1219* *E1220* *E1221*
*E1222* *E1223* *E1224* *E1225* *E1226* *E1227*
- *E1228* *E1238* *E1250* *E1251* *E1252* *E1256*
- *E1297* *E1298* *E1301* *E1528* *E1529* *E1530*
- *E1531* *E1534*
+ *E1228* *E1235* *E1238* *E1250* *E1251* *E1252*
+ *E1253* *E1256* *E1297* *E1298* *E1301* *E1528*
+ *E1529* *E1530* *E1531* *E1534*
Types are checked for most builtin functions to make it easier to spot
mistakes.
diff --git a/runtime/doc/vim9class.txt b/runtime/doc/vim9class.txt
index 82c7573b3..0991c1b77 100644
--- a/runtime/doc/vim9class.txt
+++ b/runtime/doc/vim9class.txt
@@ -1,4 +1,4 @@
-*vim9class.txt* For Vim version 9.1. Last change: 2025 Jul 24
+*vim9class.txt* For Vim version 9.1. Last change: 2025 Aug 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -282,7 +282,7 @@ name.
3. Class Variables and Methods *Vim9-class-member*
- *:static* *E1337* *E1338* *E1368*
+ *:static* *E1329* *E1337* *E1338* *E1368*
Class members are declared with "static". They are used by the name without a
prefix in the class where they are defined: >
@@ -515,12 +515,18 @@ prefix when defining the method: >
<
A static method in an abstract class cannot be an abstract method.
+ *E1404*
+An interface method cannot be an abstract method.
+
*E1373*
A non-abstract class extending the abstract class must implement all the
abstract methods. The signature (arguments, argument types and return type)
must be exactly the same. If the return type of a method is a class, then
that class or one of its subclasses can be used in the extended method.
+ *E1431*
+An abstract method in an abstract super class cannot be invoked.
+
==============================================================================
5. Using an interface *Vim9-using-interface*
@@ -637,6 +643,7 @@ object variable name used in a super class cannot be reused
in a child class.
Object Variable Initialization ~
+ *E1430*
If the type of a variable is not explicitly specified in a class, then it is
set to "any" during class definition. When an object is instantiated from the
class, then the type of the variable is set.
@@ -959,10 +966,10 @@ An enum is a type that can have one of a list of values.
Example: >
Green, Blue, Black
endenum
<
- *enumvalue* *E1422*
+ *enumvalue* *E1422* *E1428*
The enum values are separated by commas. More than one enum value can be
listed in a single line. The final enum value should not be followed by a
-comma.
+comma. Duplicate enum values are not allowed.
An enum value is accessed using the enum name followed by the value name: >
@@ -1021,7 +1028,7 @@ The following example shows an enum with object variables
and methods: >
Enums and their values are immutable. They cannot be utilized as numerical or
string types. Enum values can declare mutable instance variables.
- *enum-name*
+ *enum-name* *E1427*
Each enum value object has a "name" instance variable which contains the name
of the enum value. This is a readonly variable.
diff --git a/src/errors.h b/src/errors.h
index 5d6867464..bc418ff9d 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3224,7 +3224,6 @@ EXTERN char
e_string_list_or_blob_required_for_argument_nr[]
INIT(= N_("E1252: String, List or Blob required for argument %d"));
EXTERN char e_string_list_tuple_or_blob_required_for_argument_nr[]
INIT(= N_("E1253: String, List, Tuple or Blob required for argument
%d"));
-// E1253 unused
EXTERN char e_cannot_use_script_variable_in_for_loop[]
INIT(= N_("E1254: Cannot use script variable in for loop"));
#endif
diff --git a/src/version.c b/src/version.c
index 5a6cac185..9d0d4e83a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -724,6 +724,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1698,
/**/
1697,
/**/
--
--
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].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1urInh-005Y6m-Fa%40256bit.org.