Hi Bram,

2017/10/7 Sat 4:54:40 UTC+9 Bram Moolenaar wrote:
> Ken Takata wrote:
> 
> > 2017/10/5 Thu 21:49:30 UTC+9 Ken Takata wrote:
> > > Hi,
> > > 
> > > 2017/10/4 Wed 21:41:15 UTC+9 Ken Takata wrote:
> > > > Hi,
> > > > 
> > > > Attached patch fixes some issues in the documents:
> > > > 
> > > > * Use `{foo} [, {bar}]` style instead of `{foo}[, {bar}]`.
> > > >   Insert space between "}" and "[," for readability.
> > > >   https://groups.google.com/d/msg/vim_dev/fM1-H3VrJs0/wFNcUVo0AwAJ
> > > > * Update description of empty(). Write about a String parameter.
> > > > * "{" and "}" were missing in screenattr() and screenchar().
> > > > * Replace "gVim" with "gvim".
> > > > * Fix alignment.
> > > > * Remove old items from todo.txt.
> > > 
> > > And here is an additional patch.
> > > Some help files are missing from the list in help.txt.
> > > (Actually, if_sniff.txt is also missing, but I don't think it needs to be
> > > added now.)
> > 
> > And one more...
> > *non-zero-arg* in eval.txt says "thus cause the mode to be cleared."
> > It doesn't make sense, because this part was copied from visualmode() and
> > was not updated properly.
> > 
> > How about the following change?
> > 
> > --- a/runtime/doc/eval.txt
> > +++ b/runtime/doc/eval.txt
> > @@ -120,9 +120,8 @@ To test for a non-empty string, use empt
> >  Function arguments often behave slightly different from |TRUE|: If the
> >  argument is present and it evaluates to a non-zero Number, |v:true| or a
> >  non-empty String, then the value is considered to be TRUE.
> > -Note that " " and "0" are also non-empty strings, thus cause the mode to be
> > -cleared.  A List, Dictionary or Float is not a Number or String, thus
> > -evaluates to FALSE.
> > +Note that " " and "0" are also non-empty strings, thus considered to be 
> > TRUE.
> > +A List, Dictionary or Float is not a Number or String, thus evaluates to 
> > FALSE.
> >  
> >             *E745* *E728* *E703* *E729* *E730* *E731* *E908* *E910* *E913*
> >  List, Dictionary, Funcref, Job and Channel types are not automatically
> 
> Thanks!

"isnot" is missing from E691 and E735.
Please check the attached patch.

Regards,
Ken Takata

-- 
-- 
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/d/optout.
# HG changeset patch
# Parent  c5227bca725fdd88837aa82a19f0119547b69bb8

diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -814,14 +814,15 @@ Examples:
 "abc" == "Abc"	  evaluates to 1 if 'ignorecase' is set, 0 otherwise
 
 							*E691* *E692*
-A |List| can only be compared with a |List| and only "equal", "not equal" and
-"is" can be used.  This compares the values of the list, recursively.
-Ignoring case means case is ignored when comparing item values.
+A |List| can only be compared with a |List| and only "equal", "not equal",
+"is" and "isnot" can be used.  This compares the values of the list,
+recursively.  Ignoring case means case is ignored when comparing item values.
 
 							*E735* *E736*
 A |Dictionary| can only be compared with a |Dictionary| and only "equal", "not
-equal" and "is" can be used.  This compares the key/values of the |Dictionary|
-recursively.  Ignoring case means case is ignored when comparing item values.
+equal", "is" and "isnot" can be used.  This compares the key/values of the
+|Dictionary| recursively.  Ignoring case means case is ignored when comparing
+item values.
 
 							*E694*
 A |Funcref| can only be compared with a |Funcref| and only "equal", "not

Raspunde prin e-mail lui