2014年1月12日日曜日 0時25分42秒 UTC+9 mattn:
> > Thank you for Mr.Bram.
> > I fixed my patch. Because, I had mistake line number in patch...
> > This is minor fix.
>
> Probably, you forgot to attach the patch.
Thanks. I forgot it...
--
--
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.
diff -r 462a4499f9c6 runtime/doc/options.txt
--- a/runtime/doc/options.txt Fri Nov 29 14:24:42 2013 +0900
+++ b/runtime/doc/options.txt Fri Nov 29 18:07:09 2013 +0900
@@ -6259,6 +6259,9 @@
A don't give the "ATTENTION" message when an existing swap file
is found.
I don't give the intro message when starting Vim |:intro|.
+ c don't give the |ins-completion-menu| message. For example,
+ "-- XXX completion (YYY)", "match 1 of 2", "The only match",
+ "Pattern not found", "Back at original", etc.
This gives you the opportunity to avoid that a change between buffers
requires you to hit <Enter>, but still gives as useful a message as
diff -r 462a4499f9c6 src/edit.c
--- a/src/edit.c Fri Nov 29 14:24:42 2013 +0900
+++ b/src/edit.c Fri Nov 29 18:07:09 2013 +0900
@@ -3878,7 +3878,8 @@
ins_compl_free();
compl_started = FALSE;
compl_matches = 0;
- msg_clr_cmdline(); /* necessary for "noshowmode" */
+ if (!shortmess(SHM_COMPLETIONMENU))
+ msg_clr_cmdline(); /* necessary for "noshowmode" */
ctrl_x_mode = 0;
compl_enter_selects = FALSE;
if (edit_submode != NULL)
@@ -5333,7 +5334,8 @@
{
ctrl_x_mode = 0;
edit_submode = NULL;
- msg_clr_cmdline();
+ if (!shortmess(SHM_COMPLETIONMENU))
+ msg_clr_cmdline();
return FAIL;
}
@@ -5594,12 +5596,12 @@
showmode();
if (edit_submode_extra != NULL)
{
- if (!p_smd)
+ if (!p_smd && !shortmess(SHM_COMPLETIONMENU))
msg_attr(edit_submode_extra,
edit_submode_highl < HLF_COUNT
? hl_attr(edit_submode_highl) : 0);
}
- else
+ else if (!shortmess(SHM_COMPLETIONMENU))
msg_clr_cmdline(); /* necessary for "noshowmode" */
/* Show the popup menu, unless we got interrupted. */
diff -r 462a4499f9c6 src/option.h
--- a/src/option.h Fri Nov 29 14:24:42 2013 +0900
+++ b/src/option.h Fri Nov 29 18:07:09 2013 +0900
@@ -212,7 +212,8 @@
#define SHM_SEARCH 's' /* no search hit bottom messages */
#define SHM_ATTENTION 'A' /* no ATTENTION messages */
#define SHM_INTRO 'I' /* intro messages */
-#define SHM_ALL "rmfixlnwaWtToOsAI" /* all possible flags for 'shm' */
+#define SHM_COMPLETIONMENU 'c' /* completion menu messages */
+#define SHM_ALL "rmfixlnwaWtToOsAIc" /* all possible flags for 'shm' */
/* characters for p_go: */
#define GO_ASEL 'a' /* autoselect */
diff -r 462a4499f9c6 src/screen.c
--- a/src/screen.c Fri Nov 29 14:24:42 2013 +0900
+++ b/src/screen.c Fri Nov 29 18:07:09 2013 +0900
@@ -9704,7 +9704,8 @@
}
#endif
#ifdef FEAT_INS_EXPAND
- if (edit_submode != NULL) /* CTRL-X in Insert mode */
+ /* CTRL-X in Insert mode */
+ if (edit_submode != NULL && !shortmess(SHM_COMPLETIONMENU))
{
/* These messages can get long, avoid a wrap in a narrow
* window. Prefer showing edit_submode_extra. */