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.1.032 < prev    next >
Encoding:
Internet Message Format  |  2002-04-22  |  4.1 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.032
  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.1.032
  11. Problem:    Can't specify a quickfix file without jumping to the first error.
  12. Solution:   Add the ":cgetfile" command. (Yegappan Lakshmanan)
  13. Files:        runtime/doc/index.txt, runtime/doc/quickfix.txt, src/ex_cmds.h,
  14.         src/quickfix.c
  15.  
  16. *** ../vim61.031/runtime/doc/index.txt    Fri Mar 22 21:18:37 2002
  17. --- runtime/doc/index.txt    Tue Apr 23 22:35:42 2002
  18. ***************
  19. *** 1,4 ****
  20. ! *index.txt*     For Vim version 6.1.  Last change: 2002 Mar 09
  21.   
  22.   
  23.             VIM REFERENCE MANUAL    by Bram Moolenaar
  24. --- 1,4 ----
  25. ! *index.txt*     For Vim version 6.1.  Last change: 2002 Apr 23
  26.   
  27.   
  28.             VIM REFERENCE MANUAL    by Bram Moolenaar
  29. ***************
  30. *** 1036,1043 ****
  31.   |:cclose|    :ccl[ose]    close quickfix window
  32.   |:cd|        :cd        change directory
  33.   |:center|    :ce[nter]    format lines at the center
  34. ! |:cfile|    :cf[ile]    read the file with error messages
  35.   |:cfirst|    :cfir[st]    go to the specified error, default first one
  36.   |:chdir|    :chd[ir]    change directory
  37.   |:checkpath|    :che[ckpath]    list included files
  38.   |:checktime|    :checkt[ime]    check timestamp of loaded buffers
  39. --- 1036,1044 ----
  40.   |:cclose|    :ccl[ose]    close quickfix window
  41.   |:cd|        :cd        change directory
  42.   |:center|    :ce[nter]    format lines at the center
  43. ! |:cfile|    :cf[ile]    read file with error messages and jump to first
  44.   |:cfirst|    :cfir[st]    go to the specified error, default first one
  45. + |:cgetfile|    :cg[etfile]    read file with error messages
  46.   |:chdir|    :chd[ir]    change directory
  47.   |:checkpath|    :che[ckpath]    list included files
  48.   |:checktime|    :checkt[ime]    check timestamp of loaded buffers
  49. *** ../vim61.031/runtime/doc/quickfix.txt    Fri Mar 22 21:18:38 2002
  50. --- runtime/doc/quickfix.txt    Tue Apr 23 22:34:17 2002
  51. ***************
  52. *** 1,4 ****
  53. ! *quickfix.txt*  For Vim version 6.1.  Last change: 2001 Sep 21
  54.   
  55.   
  56.             VIM REFERENCE MANUAL    by Bram Moolenaar
  57. --- 1,4 ----
  58. ! *quickfix.txt*  For Vim version 6.1.  Last change: 2002 Apr 23
  59.   
  60.   
  61.             VIM REFERENCE MANUAL    by Bram Moolenaar
  62. ***************
  63. *** 101,106 ****
  64. --- 101,111 ----
  65.               keep Vim running while compiling.  If you give the
  66.               name of the errorfile, the 'errorfile' option will
  67.               be set to [errorfile].  See |:cc| for [!].
  68. +                             *:cg* *:cgetfile*
  69. + :cg[etfile][!] [errorfile]
  70. +             Read the error file.  Just like ":cfile" but don't
  71. +             jump to the first error.
  72.   
  73.                               *:cl* *:clist*
  74.   :cl[ist] [from] [, [to]]
  75. *** ../vim61.031/src/ex_cmds.h    Sat Dec 15 18:24:11 2001
  76. --- src/ex_cmds.h    Tue Apr 23 22:32:18 2002
  77. ***************
  78. *** 198,203 ****
  79. --- 198,205 ----
  80.               TRLBAR|FILE1|BANG),
  81.   EX(CMD_cfirst,        "cfirst",    ex_cc,
  82.               RANGE|NOTADR|COUNT|TRLBAR|BANG),
  83. + EX(CMD_cgetfile,    "cgetfile",    ex_cfile,
  84. +             TRLBAR|FILE1|BANG),
  85.   EX(CMD_chdir,        "chdir",    ex_cd,
  86.               FILE1|TRLBAR|CMDWIN),
  87.   EX(CMD_checkpath,    "checkpath",    ex_checkpath,
  88. *** ../vim61.031/src/quickfix.c    Mon Nov  5 21:34:43 2001
  89. --- src/quickfix.c    Tue Apr 23 22:31:07 2002
  90. ***************
  91. *** 2020,2026 ****
  92.   {
  93.       if (*eap->arg != NUL)
  94.       set_string_option_direct((char_u *)"ef", -1, eap->arg, OPT_FREE);
  95. !     if (qf_init(p_ef, p_efm, TRUE) > 0)
  96.       qf_jump(0, 0, eap->forceit);        /* display first error */
  97.   }
  98.   
  99. --- 2020,2026 ----
  100.   {
  101.       if (*eap->arg != NUL)
  102.       set_string_option_direct((char_u *)"ef", -1, eap->arg, OPT_FREE);
  103. !     if (qf_init(p_ef, p_efm, TRUE) > 0 && eap->cmdidx == CMD_cfile)
  104.       qf_jump(0, 0, eap->forceit);        /* display first error */
  105.   }
  106.   
  107. *** ../vim61.031/src/version.c    Tue Apr 23 22:25:55 2002
  108. --- src/version.c    Tue Apr 23 22:37:11 2002
  109. ***************
  110. *** 608,609 ****
  111. --- 608,611 ----
  112.   {   /* Add new patch number below this line */
  113. + /**/
  114. +     32,
  115.   /**/
  116.  
  117. -- 
  118. Just think of all the things we haven't thought of yet.
  119.  
  120.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  121. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  122. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  123.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  124.