Loading ...
Sorry, an error occurred while loading the content.
 

Re: [PATCH] Fixes, viminfo, scrollbind

Expand Messages
  • björn
    ... It struck me that this will still render Quickstart useless in situations where you close a (GUI-) window and open a new one immediately, since the
    Message 1 of 6 , Jan 12, 2009
      2009/1/10 Jonathon Mah:
      >>
      >> I understand what the problem is and I think the best way to deal with
      >> it is the same way I deal with [g]vimrc files. All you have to do is
      >> to add a couple of lines to -[MMAppController rcFilesModificationDate]
      >> (it should be completely straightforward so please send me a patch
      >> that you have tested yourself).
      >
      > Good idea, I've done this. The viminfo file is written on exit
      > (although luckily not when exiting by being cleared from the preload
      > cache), so this will invalidate preloaded processes more often. I
      > added a check for this on close, though, so a new process can be
      > prepared in advance.

      It struck me that this will still render Quickstart useless in
      situations where you close a (GUI-) window and open a new one
      immediately, since the .viminfo file changes pretty much every time a
      window is closed. Hence, every time you close a window the preload
      cache is cleared and a new process is preloaded.

      I'm not sure if anything can be done about it...the only thing that
      comes to mind is re-reading .viminfo just before a preloaded process
      is to be used but this is already more complicated than I'd wish for
      it to be. Implementing it will be tricky and who knows what kind of
      side-effects it may have. (Any thoughts?)

      Björn

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_mac" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.