Martin Martin wrote:

> > > Problem: sub-replace-\= is not consistent with other substitute tags
> > 
> > > Solution: Add s/\= tag
> > 
> > > Files:  runtime/doc/change.txt
> > 
> > > 
> > 
> > > *** 826,828 ***
> > 
> > >  Substitute with an expression                    *sub-replace-expression*
> > 
> > > -                                         *sub-replace-\=*
> > 
> > > +                                         *sub-replace-\=* *s/\=*
> > 
> > >  When the substitute string starts with "\=" the remainder is interpreted 
> > > as an
> > 
> > > --- 826,828 ---
> > 
> > 
> > 
> > Thanks for the hint.  I think it needs to be:s/\=, since it's for the
> > 
> > ":s" command.
> > 
> > 
> > 
> > -- 
> > 
> > Some of the well known MS-Windows errors:
> > 
> >     EMULTI          Multitasking attempted, system confused
> > 
> >     EKEYBOARD       Keyboard locked, try getting out of this one!
> > 
> >     EXPLAIN         Unexplained error, please tell us what happened
> > 
> >     EFUTURE         Reserved for our future mistakes
> > 
> > 
> > 
> >  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
> > 
> > ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
> > 
> > \\\  an exciting new programming language -- http://www.Zimbu.org        ///
> > 
> >  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
> 
> That would be inconsistent with the 20 or tags above it. It's been my
> understanding (just from using :help not documented anywhere) that
> /<atom> is a tag for searching and s/<atom> is a tag for substituting.

But all other Ex command have a tag starting with :.  Thus it wasn't
consistent before.  Oh well, let's add both for now.

> Perhaps this should be standardized throughout and documented at
> help-context.

Well, that's a lot of effort for a tiny problem.

-- 
hundred-and-one symptoms of being an internet addict:
199. You read this entire list of symptoms, looking for something
     that doesn't describe you.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui