[redirected from vim_use to vim_dev] Christian Brabandt wrote:
> On Sa, 12 Mai 2012, Christian Brabandt wrote: > > > > I think it's better than, instead of adding a ! to :diffupdate, that > > > command would always check the timestamp on the files involved. Like > > > using ":checktime N" on the buffers involved. That is probably what > > > most users expect to happen and prompts the user what to do about files > > > changed externally. > > > > Hmm, I started using buf_check_timestamp(), and it prompts to reload the > > buffer. But once you didn't reload the buffer, the next time you > > checked, it wouldn't prompt again. > > here is an updated patch, using buf_check_timestamp() this time. Which > should prompt everytime, :diffupdat! has been called (even when the > prompt was only acknowledged the last time, but the buffer not > reloaded). Thanks. As mentioned in another message I think buf_check_timestamp() should always be used. And when the user doesn't reload, not to ask again. I think that works best for most users. > + /* :diffupdate! */ > + if (eap!=NULL && eap->forceit) Spaces around != please. -- This message contains 78% recycled characters. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- 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
