Christian Brabandt wrote: > On Sa, 12 Mai 2012, Bram Moolenaar 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.
Well, isn't that what the user expects? If you first skip the loading of the buffer, you can later use ":e" or ":e!" to force the reload. I think that's better than asking every time :diffupdate is used. -- People who want to share their religious views with you almost never want you to share yours with them. /// 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_use" 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
