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

Re[2]: BufReadPost: surprising behavior?

Expand Messages
  • Alan G Isaac
    ... Thanks! Alan Isaac
    Message 1 of 4 , Jun 2, 2002
      On Sun, 02 Jun 2002 20:25:29 +0200 Bram Moolenaar <Bram@...> wrote:
      > The reason is that reloading the file is done by reading the new file
      > contents into the existing buffer and then deleting the old lines. This
      > avoids that the current buffer contents is lost when reading the file
      > fails for some reason.

      > Obviously your BufRead autocommands change the old text unexpectedly.
      > The code isn't prepared for this. I'll think about a solution to avoid
      > this problem.

      Alan Isaac
    Your message has been successfully submitted and would be delivered to recipients shortly.