Hi Bram.
2016-3-16(Wed) 0:54:25 UTC+9 Bram:
> Hirohito Higashi wrote:
>
>
>
> > --------
>
> > src/buffer.c
>
> > @@ -139,14 +139,20 @@ open_buffer(
>
> > #endif
>
> > )
>
> > {
>
> > + int old_msg_silent = msg_silent;
>
> > +
>
> > #ifdef FEAT_NETBEANS_INTG
>
> > int oldFire = netbeansFireChanges;
>
> >
>
> > netbeansFireChanges = 0;
>
> > #endif
>
> > + if (shortmess(SHM_FILEINFO))
>
> > + msg_silent = 1;
>
> > retval = readfile(curbuf->b_ffname, curbuf->b_fname,
>
> > (linenr_T)0, (linenr_T)0, (linenr_T)MAXLNUM, eap,
>
> > flags | READ_NEW);
>
> > + if (shortmess(SHM_FILEINFO))
>
> > + msg_silent = old_msg_silent;
>
> > #ifdef FEAT_NETBEANS_INTG
>
> > netbeansFireChanges = oldFire;
>
> > #endif
>
> > --------
>
> >
>
> > Once because the `shortmess(SHM_FILEINFO)` of the results are likely to
> > change in autocmd in the readfile(), It should set to the variable.
>
> >
>
> >
>
> > int has_shm_fileinfo = shortmess(SHM_FILEINFO);
>
> >
>
> > if (has_shm_fileinfo)
>
> > msg_silent = 1;
>
> > retval = readfile(.......);
>
> > if (has_shm_fileinfo)
>
> > msg_silent = old_msg_silent;
>
>
>
> I had solved that by restoring old_msg_silent always. I don't think
>
> msg_silent should change in readfile().
Yes. Your fix was solved problem.
Thanks.
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.