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

Re: Bug with setglobal

Expand Messages
  • Bram Moolenaar
    ... Yes, one more for the todo list. When modifiable is off, that is. -- If your company is not involved in something called ISO 9000 you probably have no
    Message 1 of 4 , Feb 4, 2008
    • 0 Attachment
      Ben Schmidt wrote:

      > Hi, Bram,
      >
      > Another one for the todo list, I think (can't spot it on there).
      >
      > If you issue setglobal in a read-only buffer for an option that
      > locally would change the buffer, it fails with an error. E.g. in a
      > help window issue
      >
      > :setglobal fenc=anything
      >
      > and you get
      >
      > E21: Cannot make changes, 'modifiable' is off: fenc=anything
      >
      > Obviously neither the failure nor the message is appropriate.

      Yes, one more for the todo list. When 'modifiable' is off, that is.

      --
      If your company is not involved in something called "ISO 9000" you probably
      have no idea what it is. If your company _is_ involved in ISO 9000 then you
      definitely have no idea what it is.
      (Scott Adams - The Dilbert principle)

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --~--~---------~--~----~------------~-------~--~----~
      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.