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

Re: (Not very important) Difference between echo and echon

Expand Messages
  • Bram Moolenaar
    ... I wouldn t want to change the code, that will probably break some scripts. I ll fix the docs to mention that :echo puts the message on a new line. --
    Message 1 of 2 , Jul 1, 2003
      Antoine Mechelynck wrote:

      > In eval.txt, under :help :echo (at lines 3219-3220 in my version dated 2003
      > Jun 01) it is said :echo adds (...) "a terminating <EOL>". It seems to me
      > this should be "an initial <EOL>", since
      >
      > :echon "Hello " | echohl Search | echo "baby " | echohl None | echon
      > "How are you ?"
      >
      > outputs (with proper highlighting)
      >
      > Hello
      > baby How are you ?
      >
      > and not
      >
      > Hello baby
      > How are you ?
      >
      > Not very important, but easy to correct (I suggest leaving the code "as is"
      > and patching the helpfile).

      I wouldn't want to change the code, that will probably break some
      scripts. I'll fix the docs to mention that ":echo" puts the message on
      a new line.

      --
      Error:015 - Unable to exit Windows. Try the door.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.