home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.0.249 < prev    next >
Encoding:
Internet Message Format  |  2002-02-20  |  2.6 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.249
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.0.249
  11. Problem:    "vim -t edit -c 'sta ex_help'" doesn't move cursor to edit().
  12. Solution:   Don't set the cursor on the first line for "-c" arguments when
  13.         there also is a "-t" argument.
  14. Files:        src/main.c
  15.  
  16.  
  17. *** ../vim60.248/src/main.c    Thu Feb 21 17:14:51 2002
  18. --- src/main.c    Thu Feb 21 17:36:55 2002
  19. ***************
  20. *** 1774,1780 ****
  21.        * Need to jump to the tag before executing the '-c command'.
  22.        * Makes "vim -c '/return' -t main" work.
  23.        */
  24. !     if (tagname)
  25.       {
  26.       STRCPY(IObuff, "ta ");
  27.   
  28. --- 1774,1780 ----
  29.        * Need to jump to the tag before executing the '-c command'.
  30.        * Makes "vim -c '/return' -t main" work.
  31.        */
  32. !     if (tagname != NULL)
  33.       {
  34.       STRCPY(IObuff, "ta ");
  35.   
  36. ***************
  37. *** 1791,1797 ****
  38.        * pattern on line 1.
  39.        */
  40.       msg_scroll = TRUE;
  41. !     curwin->w_cursor.lnum = 0;
  42.       sourcing_name = (char_u *)"command line";
  43.       for (i = 0; i < n_commands; ++i)
  44.           do_cmdline_cmd(commands[i]);
  45. --- 1791,1798 ----
  46.        * pattern on line 1.
  47.        */
  48.       msg_scroll = TRUE;
  49. !     if (tagname == NULL)
  50. !         curwin->w_cursor.lnum = 0;
  51.       sourcing_name = (char_u *)"command line";
  52.       for (i = 0; i < n_commands; ++i)
  53.           do_cmdline_cmd(commands[i]);
  54. ***************
  55. *** 1803,1809 ****
  56.           msg_scroll = FALSE;
  57.   
  58.   #ifdef FEAT_QUICKFIX
  59. !     /* When started with "-q errorfile" jump to first again. */
  60.       if (edit_type == EDIT_QF)
  61.           qf_jump(0, 0, FALSE);
  62.   #endif
  63. --- 1804,1810 ----
  64.           msg_scroll = FALSE;
  65.   
  66.   #ifdef FEAT_QUICKFIX
  67. !     /* When started with "-q errorfile" jump to first error again. */
  68.       if (edit_type == EDIT_QF)
  69.           qf_jump(0, 0, FALSE);
  70.   #endif
  71. *** ../vim60.248/src/version.c    Thu Feb 21 17:27:24 2002
  72. --- src/version.c    Thu Feb 21 17:38:49 2002
  73. ***************
  74. *** 608,609 ****
  75. --- 608,611 ----
  76.   {   /* Add new patch number below this line */
  77. + /**/
  78. +     249,
  79.   /**/
  80.  
  81. -- 
  82. Sometimes you can protect millions of dollars in your budget simply by buying
  83. a bag of cookies, dropping it on the budget anylyst's desk, and saying
  84. something deeply personal such as "How was your weekend, big guy?"
  85.                 (Scott Adams - The Dilbert principle)
  86.  
  87.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  88. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  89. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  90.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  91.