Hi Lifepillar,

2016-12-11(Sun) 18:52:20 UTC+9 Lifepillar:
> Consider a buffer containing the text foobar. Type ofoo<c-x><c-v><c-x><c-n>. 
> I would expect the pop-up menu to suggest foobar, but Vim stays in 
> command-line completion and does not show anything. I think that this is a 
> bug.

I think so.
How about this patch? (A patch is attached at vim_dev mailing list 
https://groups.google.com/d/forum/vim_dev)

When patch is okay then I'll write a test later.
--
Best regards,
Hirohito Higashi (a.k.a. h_east)

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/edit.c b/src/edit.c
index 0d9e9d4..dbd2bf6 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -2286,8 +2286,7 @@ vim_is_ctrl_x_key(int c)
 	    return (c == Ctrl_D || c == Ctrl_P || c == Ctrl_N);
 #endif
 	case CTRL_X_CMDLINE:
-	    return (c == Ctrl_V || c == Ctrl_Q || c == Ctrl_P || c == Ctrl_N
-		    || c == Ctrl_X);
+	    return (c == Ctrl_V || c == Ctrl_Q || c == Ctrl_P || c == Ctrl_N);
 #ifdef FEAT_COMPL_FUNC
 	case CTRL_X_FUNCTION:
 	    return (c == Ctrl_U || c == Ctrl_P || c == Ctrl_N);

Raspunde prin e-mail lui