Jason Franklin wrote:

> I'm just wondering why duplicate error messages are printed for the
> command...
> 
>   :echo %
> 
> I've looked at the code, but I can't figure out if this is on purpose
> or by mistake.
> 
> If you look at the ex_echo() function, you can see that aborting()
> returns false even after the expression evaluation fails.
> 
> What could be the reason for this?

Both the expression evaluation and :echo give this error.  We can skip
the second one if we know an error was already givin.  I'll make a patch
for :echo, there might be other situations where this happens, let me
know.

-- 
Yesterday, all my deadlines seemed so far away
now it looks as though it's freeze in four days
oh I believe in cvs..
    [ CVS log "Beatles style" for FreeBSD ports/INDEX, Satoshi Asami ]

 /// 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/d/optout.

Raspunde prin e-mail lui