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

minor typo and an error in autoload/netrw.vim v134

Expand Messages
  • Karsten Hopp
    The current autoload/netrw.vim (version 134) on ftp.vim.org has a typo in line 7569, call Netrw#ErrorMsg(s:WARNING, delete( .path. ) failed! ,71) needs to be
    Message 1 of 2 , Dec 1, 2008
    • 0 Attachment
      The current autoload/netrw.vim (version 134) on ftp.vim.org has a typo in line 7569,

      call Netrw#ErrorMsg(s:WARNING,"delete(".path.") failed!",71)

      needs to be replaced with

      call netrw#ErrorMsg(s:WARNING,"delete(".path.") failed!",71)


      Otherwise you'll get an error with p.e.
      vim "http://www.vim.org/scripts/script.php?script_id=1528"

      That error points out a problem with filename escaping.
      tmpfile is already escaped and will be escaped the second time in line 997,
      drop the fnameescape and it'll work.


      Karsten

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Charles Campbell
      ... Thank you for the feedback! Version v135d of netrw already had the Netrw# vs netrw# problem fixed; you can get it from
      Message 2 of 2 , Dec 1, 2008
      • 0 Attachment
        Karsten Hopp wrote:
        > The current autoload/netrw.vim (version 134) on ftp.vim.org has a typo in line 7569,
        >
        > call Netrw#ErrorMsg(s:WARNING,"delete(".path.") failed!",71)
        >
        > needs to be replaced with
        >
        > call netrw#ErrorMsg(s:WARNING,"delete(".path.") failed!",71)
        >
        >
        > Otherwise you'll get an error with p.e.
        > vim "http://www.vim.org/scripts/script.php?script_id=1528"
        >
        > That error points out a problem with filename escaping.
        > tmpfile is already escaped and will be escaped the second time in line 997,
        > drop the fnameescape and it'll work.
        >
        Thank you for the feedback! Version v135d of netrw already had the
        Netrw# vs netrw# problem fixed; you can get it from
        http://mysite.verizon.net/astronaut/vim/index.html#NETRW . I tried the
        vim "http:..." and it seems to work (under v135d). Perhaps I should
        release it...

        Regards,
        Chip Campbell


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