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

[patch] "ga" on ^J shows 0x0d instead of 0x0a if 'ff' is "mac"

Expand Messages
  • Lech Lorens
    The attached patch fixes the problem with displaying the value of the NL character in files edited with ff set to mac . The solution was to replace CARs
    Message 1 of 2 , Jan 4, 2009
    • 0 Attachment
      The attached patch fixes the problem with displaying the value of the NL
      character in files edited with 'ff' set to "mac". The solution was to
      replace CARs with NLs when printing their values for mac-format files.

      --
      Cheers,
      Lech

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Bram Moolenaar
      ... Thanks. I ll look into it later. -- ... /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net /// sponsor Vim, vote for
      Message 2 of 2 , Jan 4, 2009
      • 0 Attachment
        Lech Lorens wrote:

        > The attached patch fixes the problem with displaying the value of the NL
        > character in files edited with 'ff' set to "mac". The solution was to
        > replace CARs with NLs when printing their values for mac-format files.

        Thanks. I'll look into it later.

        --
        Why I like vim:
        > I like VIM because, when I ask a question in this newsgroup, I get a
        > one-line answer. With xemacs, I get a 1Kb lisp script with bugs in it ;-)

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