Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-06 Fir de Conversatie zhaocai
Thanks to @Shougo. This issue is resolved. https://github.com/Valloric/YouCompleteMe/pull/651 On Nov 5, 2013, at 21:58, zhaocai zhao...@gmx.com wrote: On Nov 5, 2013, at 19:37, Shougo shougo.ma...@gmail.com wrote: Hi, I'm the author of neocomplete. Disable Pattern not found message

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie zhaocai
Slight change to the patch to avoid “pointer type mismatch warning” From 8c376bdb5e6d22ab56044bd07f4f631eaa40855d Mon Sep 17 00:00:00 2001 From: Zhao Cai caizha...@gmail.com Date: Sun, 27 Oct 2013 22:05:23 -0400 Subject: [PATCH] Disable Pattern not found message unless verbose 0 --- src

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie Manuel Ortega
## Reason It is quite annoying when you use auto-completion plugins like YouCompleteMe or neocomplete. ## Related Discussion: - https://github.com/Valloric/YouCompleteMe/issues/642#issuecomment-27711342 -

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie Nikolay Pavlov
-annoying-messages-in-vims-status-area-when-i-type From 8c376bdb5e6d22ab56044bd07f4f631eaa40855d Mon Sep 17 00:00:00 2001 From: Zhao Cai caizha...@gmail.com Date: Sun, 27 Oct 2013 22:05:23 -0400 Subject: [PATCH] Disable Pattern not found message unless verbose 0 --- src/edit.c | 3 ++- 1

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie zhaocai
(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. I am against this patch though as I do want to receive these messages. This should be fixed by adding appropriate

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie Christian Brabandt
On Di, 05 Nov 2013, zhaocai wrote: 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.

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie Nikolay Pavlov
On Nov 5, 2013 11:16 PM, zhaocai zhao...@gmx.com 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

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie Nikolay Pavlov
On Nov 5, 2013 11:16 PM, zhaocai zhao...@gmx.com 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. I am against this patch though as I do want to receive

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie zhaocai
On Di, 05 Nov 2013, zhaocai wrote: 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.

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie Ben Fritz
On Tuesday, November 5, 2013 1:56:56 PM UTC-6, Zhao Cai wrote: What is wrong with using silent? **silent!** does not suppress this message because internally YouCompleteMe or neocomplete send key ‘C-xX-o’ on CursorMoved to invoke ins-completion. And how does that cause an error? Does

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie zhaocai
On Tuesday, November 5, 2013 1:56:56 PM UTC-6, Zhao Cai wrote: What is wrong with using silent? **silent!** does not suppress this message because internally YouCompleteMe or neocomplete send key ‘C-xX-o’ on CursorMoved to invoke ins-completion. And how does that cause an error?

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie zhaocai
How about add “silent” to **completeopt**? Any suggestions? *'completeopt'* *'cot'* 'completeopt' 'cot' string (default: menu,preview) ……… preview Show extra information about the currently selected completion

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie Ben Fritz
On Tuesday, November 5, 2013 2:24:09 PM UTC-6, Zhao Cai wrote: On Tuesday, November 5, 2013 1:56:56 PM UTC-6, Zhao Cai wrote: What is wrong with using silent? **silent!** does not suppress this message because internally YouCompleteMe or neocomplete send key ‘C-xX-o’ on

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie Nikolay Pavlov
On Nov 6, 2013 1:00 AM, Ben Fritz fritzophre...@gmail.com wrote: On Tuesday, November 5, 2013 2:24:09 PM UTC-6, Zhao Cai wrote: On Tuesday, November 5, 2013 1:56:56 PM UTC-6, Zhao Cai wrote: What is wrong with using silent? **silent!** does not suppress this message

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie zhaocai
On Nov 5, 2013, at 16:00, Ben Fritz fritzophre...@gmail.com wrote: On Tuesday, November 5, 2013 2:24:09 PM UTC-6, Zhao Cai wrote: On Tuesday, November 5, 2013 1:56:56 PM UTC-6, Zhao Cai wrote: What is wrong with using silent? **silent!** does not suppress this message because

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie Nikolay Pavlov
On Nov 6, 2013 12:16 AM, zhaocai zhao...@gmx.com wrote: On Nov 5, 2013 11:16 PM, zhaocai zhao...@gmx.com wrote: (char_u *)_(“) is *translated* empty string casted to unsigned char. What do you need translation of an empty string for? Sorry! I do not know _() is for gettext. Just to follow

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie Shougo
Hi, I'm the author of neocomplete. Disable Pattern not found message unless verbose 0 I think you wants to disable Pattern not found message in command line. This feature is already implemented. You should read :help complete-functions. The message is completion mode(CTRL-X mode) message. So

Re: [PATCH] Disable Pattern not found message unless verbose 0

2013-11-05 Fir de Conversatie zhaocai
On Nov 5, 2013, at 19:37, Shougo shougo.ma...@gmail.com wrote: Hi, I'm the author of neocomplete. Disable Pattern not found message unless verbose 0 I think you wants to disable Pattern not found message in command line. This feature is already implemented. You should read :help

[PATCH] Disable Pattern not found message unless verbose 0

2013-11-04 Fir de Conversatie Zhao Cai
...@gmail.com Date: Sun, 27 Oct 2013 22:05:23 -0400 Subject: [PATCH] Disable Pattern not found message unless verbose 0 --- src/edit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/edit.c b/src/edit.c index 88a82ed..30f88fa 100644 --- a/src/edit.c +++ b/src/edit.c

[PATCH] Disable Pattern not found message unless verbose 0

2013-11-04 Fir de Conversatie zhaocai
-when-i-type From 8c376bdb5e6d22ab56044bd07f4f631eaa40855d Mon Sep 17 00:00:00 2001 From: Zhao Cai caizha...@gmail.com Date: Sun, 27 Oct 2013 22:05:23 -0400 Subject: [PATCH] Disable Pattern not found message unless verbose 0 --- src/edit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion