home *** CD-ROM | disk | FTP | other *** search
- To: vim-dev@vim.org
- Subject: Patch 6.0.249
- Fcc: outbox
- From: Bram Moolenaar <Bram@moolenaar.net>
- MIME-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
- ------------
-
- Patch 6.0.249
- Problem: "vim -t edit -c 'sta ex_help'" doesn't move cursor to edit().
- Solution: Don't set the cursor on the first line for "-c" arguments when
- there also is a "-t" argument.
- Files: src/main.c
-
-
- *** ../vim60.248/src/main.c Thu Feb 21 17:14:51 2002
- --- src/main.c Thu Feb 21 17:36:55 2002
- ***************
- *** 1774,1780 ****
- * Need to jump to the tag before executing the '-c command'.
- * Makes "vim -c '/return' -t main" work.
- */
- ! if (tagname)
- {
- STRCPY(IObuff, "ta ");
-
- --- 1774,1780 ----
- * Need to jump to the tag before executing the '-c command'.
- * Makes "vim -c '/return' -t main" work.
- */
- ! if (tagname != NULL)
- {
- STRCPY(IObuff, "ta ");
-
- ***************
- *** 1791,1797 ****
- * pattern on line 1.
- */
- msg_scroll = TRUE;
- ! curwin->w_cursor.lnum = 0;
- sourcing_name = (char_u *)"command line";
- for (i = 0; i < n_commands; ++i)
- do_cmdline_cmd(commands[i]);
- --- 1791,1798 ----
- * pattern on line 1.
- */
- msg_scroll = TRUE;
- ! if (tagname == NULL)
- ! curwin->w_cursor.lnum = 0;
- sourcing_name = (char_u *)"command line";
- for (i = 0; i < n_commands; ++i)
- do_cmdline_cmd(commands[i]);
- ***************
- *** 1803,1809 ****
- msg_scroll = FALSE;
-
- #ifdef FEAT_QUICKFIX
- ! /* When started with "-q errorfile" jump to first again. */
- if (edit_type == EDIT_QF)
- qf_jump(0, 0, FALSE);
- #endif
- --- 1804,1810 ----
- msg_scroll = FALSE;
-
- #ifdef FEAT_QUICKFIX
- ! /* When started with "-q errorfile" jump to first error again. */
- if (edit_type == EDIT_QF)
- qf_jump(0, 0, FALSE);
- #endif
- *** ../vim60.248/src/version.c Thu Feb 21 17:27:24 2002
- --- src/version.c Thu Feb 21 17:38:49 2002
- ***************
- *** 608,609 ****
- --- 608,611 ----
- { /* Add new patch number below this line */
- + /**/
- + 249,
- /**/
-
- --
- Sometimes you can protect millions of dollars in your budget simply by buying
- a bag of cookies, dropping it on the budget anylyst's desk, and saying
- something deeply personal such as "How was your weekend, big guy?"
- (Scott Adams - The Dilbert principle)
-
- /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\
- /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\
- \\\ Project leader for A-A-P -- http://www.a-a-p.org ///
- \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
-