On Nov 5, 2013 11:16 PM, "zhaocai" <[email protected]> wrote:
>>
>> (char_u *)_(“") is *translated* empty string casted to unsigned char.
What do you need translation of an empty string for?
>
>
> If it is NULL, vim prints “back to original” message.

*Translated*. I do not ask why you need *empty* string and not NULL. I ask
why are you translating empty string. _() is gettext function that
translates its argument.

>
>> I am against this patch though as I do want to receive these messages.
This should be fixed by adding appropriate flag (such as s//e) to whatever
method that is giving these messages if you are sure there are no ways to
use other methods (e.g. :silent). Links you gave does not show the code
which is giving these messages, and without them discussion of proper ways
to fix the problem is pointless. The fact that YCM upstream said it is a
vim bug does not actually make this a vim bug.
>
> On second thought, I agree that using **verbose** to suppress this
message is inappropriate. Maybe a proper solution is to add a separate flag
to temporally disable this message.
>
>> By the way, FAQ you referenced talks about "User defined completion <bla
bla> back at original" messages and you are silencing "Pattern not found"
ones. I do not understand why.
>
>
> --
> --
> 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.

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