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

Re: error message issue

Expand Messages
  • Christian Brabandt
    Hi shawn! ... Here is a patch, allowing :o! diff --git a/src/ex_cmds.h b/src/ex_cmds.h ... +++ b/src/ex_cmds.h @@ -662,7 +662,7 @@ EX(CMD_nunmenu,
    Message 1 of 1 , Aug 5, 2012
      Hi shawn!

      On Sa, 04 Aug 2012, shawn wilson wrote:

      > so, i go to open a file:
      > :o t2.pl
      > E37: No write since last change (add ! to override)
      >
      > ok, fine:
      > :o! t2.pl
      > E477: No ! allowed
      >
      > so, what is the issue and shouldn't the error be better / more descriptive?

      Here is a patch, allowing :o!

      diff --git a/src/ex_cmds.h b/src/ex_cmds.h
      --- a/src/ex_cmds.h
      +++ b/src/ex_cmds.h
      @@ -662,7 +662,7 @@
      EX(CMD_nunmenu, "nunmenu", ex_menu,
      EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
      EX(CMD_open, "open", ex_open,
      - RANGE|EXTRA),
      + RANGE|EXTRA|BANG),
      EX(CMD_oldfiles, "oldfiles", ex_oldfiles,
      BANG|TRLBAR|SBOXOK|CMDWIN),
      EX(CMD_omap, "omap", ex_map,


      regards,
      Christian

      --
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.