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

Patch 6.0.069

Expand Messages
  • Bram Moolenaar
    Patch 6.0.069 Problem: Using K on a word that includes a ! causes a No previous command error, because the ! is expanded. (Craig Jeffries) Solution:
    Message 1 of 1 , Nov 4, 2001
    • 0 Attachment
      Patch 6.0.069
      Problem: Using "K" on a word that includes a "!" causes a "No previous
      command" error, because the "!" is expanded. (Craig Jeffries)
      Solution: Put a backslash before the "!".
      Files: src/normal.c


      *** ../vim60.68/src/normal.c Thu Nov 1 14:51:27 2001
      --- src/normal.c Sun Nov 4 13:07:22 2001
      ***************
      *** 4669,4675 ****
      if (cmdchar == '*' || cmdchar == '#')
      aux_ptr = (char_u *)(p_magic ? "/?.*~[^$\\" : "/?^$\\");
      else if (cmdchar == 'K' && *p_kp != NUL)
      ! aux_ptr = escape_chars;
      else
      /* Don't escape spaces and Tabs in a tag with a backslash */
      aux_ptr = (char_u *)"\\|\"";
      --- 4669,4675 ----
      if (cmdchar == '*' || cmdchar == '#')
      aux_ptr = (char_u *)(p_magic ? "/?.*~[^$\\" : "/?^$\\");
      else if (cmdchar == 'K' && *p_kp != NUL)
      ! aux_ptr = (char_u *)" \t\\\"|!";
      else
      /* Don't escape spaces and Tabs in a tag with a backslash */
      aux_ptr = (char_u *)"\\|\"";
      *** ../vim60.68/src/version.c Sun Nov 4 13:15:58 2001
      --- src/version.c Sun Nov 4 13:13:41 2001
      ***************
      *** 608,609 ****
      --- 608,611 ----
      { /* Add new patch number below this line */
      + /**/
      + 69,
      /**/

      --
      The budget process was invented by an alien race of sadistic beings who
      resemble large cats.
      (Scott Adams - The Dilbert principle)

      /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
      ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim )))
      \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
    Your message has been successfully submitted and would be delivered to recipients shortly.