|
Karsten Hopp |
44c928 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
44c928 |
Subject: Patch 7.3.061
|
|
Karsten Hopp |
44c928 |
Fcc: outbox
|
|
Karsten Hopp |
44c928 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
44c928 |
Mime-Version: 1.0
|
|
Karsten Hopp |
44c928 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
44c928 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
44c928 |
------------
|
|
Karsten Hopp |
44c928 |
|
|
Karsten Hopp |
44c928 |
Patch 7.3.061
|
|
Karsten Hopp |
44c928 |
Problem: Remote ":drop" does not respect 'autochdir'. (Peter Odding)
|
|
Karsten Hopp |
44c928 |
Solution: Don't restore the directory when 'autochdir' is set. (Benjamin
|
|
Karsten Hopp |
44c928 |
Fritz)
|
|
Karsten Hopp |
44c928 |
Files: src/main.c
|
|
Karsten Hopp |
44c928 |
|
|
Karsten Hopp |
44c928 |
|
|
Karsten Hopp |
44c928 |
*** ../vim-7.3.060/src/main.c 2010-09-29 17:26:57.000000000 +0200
|
|
Karsten Hopp |
44c928 |
--- src/main.c 2010-11-16 16:16:11.000000000 +0100
|
|
Karsten Hopp |
44c928 |
***************
|
|
Karsten Hopp |
44c928 |
*** 3817,3822 ****
|
|
Karsten Hopp |
44c928 |
--- 3817,3824 ----
|
|
Karsten Hopp |
44c928 |
/* Check if we have at least one argument. */
|
|
Karsten Hopp |
44c928 |
if (filec <= 0)
|
|
Karsten Hopp |
44c928 |
mainerr_arg_missing((char_u *)filev[-1]);
|
|
Karsten Hopp |
44c928 |
+
|
|
Karsten Hopp |
44c928 |
+ /* Temporarily cd to the current directory to handle relative file names. */
|
|
Karsten Hopp |
44c928 |
if (mch_dirname(cwd, MAXPATHL) != OK)
|
|
Karsten Hopp |
44c928 |
return NULL;
|
|
Karsten Hopp |
44c928 |
if ((p = vim_strsave_escaped_ext(cwd,
|
|
Karsten Hopp |
44c928 |
***************
|
|
Karsten Hopp |
44c928 |
*** 3858,3870 ****
|
|
Karsten Hopp |
44c928 |
ga_concat(&ga, p);
|
|
Karsten Hopp |
44c928 |
vim_free(p);
|
|
Karsten Hopp |
44c928 |
}
|
|
Karsten Hopp |
44c928 |
/* The :drop commands goes to Insert mode when 'insertmode' is set, use
|
|
Karsten Hopp |
44c928 |
* CTRL-\ CTRL-N again. */
|
|
Karsten Hopp |
44c928 |
! ga_concat(&ga, (char_u *)"|if exists('*inputrestore')|call inputrestore()|endif<CR>");
|
|
Karsten Hopp |
44c928 |
! ga_concat(&ga, (char_u *)"<C-\\><C-N>:cd -");
|
|
Karsten Hopp |
44c928 |
if (sendReply)
|
|
Karsten Hopp |
44c928 |
! ga_concat(&ga, (char_u *)"<CR>:call SetupRemoteReplies()");
|
|
Karsten Hopp |
44c928 |
! ga_concat(&ga, (char_u *)"<CR>:");
|
|
Karsten Hopp |
44c928 |
if (inicmd != NULL)
|
|
Karsten Hopp |
44c928 |
{
|
|
Karsten Hopp |
44c928 |
/* Can't use <CR> after "inicmd", because an "startinsert" would cause
|
|
Karsten Hopp |
44c928 |
--- 3860,3879 ----
|
|
Karsten Hopp |
44c928 |
ga_concat(&ga, p);
|
|
Karsten Hopp |
44c928 |
vim_free(p);
|
|
Karsten Hopp |
44c928 |
}
|
|
Karsten Hopp |
44c928 |
+ ga_concat(&ga, (char_u *)"|if exists('*inputrestore')|call inputrestore()|endif<CR>");
|
|
Karsten Hopp |
44c928 |
+
|
|
Karsten Hopp |
44c928 |
/* The :drop commands goes to Insert mode when 'insertmode' is set, use
|
|
Karsten Hopp |
44c928 |
* CTRL-\ CTRL-N again. */
|
|
Karsten Hopp |
44c928 |
! ga_concat(&ga, (char_u *)"<C-\\><C-N>");
|
|
Karsten Hopp |
44c928 |
!
|
|
Karsten Hopp |
44c928 |
! /* Switch back to the correct current directory (prior to temporary path
|
|
Karsten Hopp |
44c928 |
! * switch) unless 'autochdir' is set, in which case it will already be
|
|
Karsten Hopp |
44c928 |
! * correct after the :drop command. */
|
|
Karsten Hopp |
44c928 |
! ga_concat(&ga, (char_u *)":if !exists('+acd')||!&acd|cd -|endif<CR>");
|
|
Karsten Hopp |
44c928 |
!
|
|
Karsten Hopp |
44c928 |
if (sendReply)
|
|
Karsten Hopp |
44c928 |
! ga_concat(&ga, (char_u *)":call SetupRemoteReplies()<CR>");
|
|
Karsten Hopp |
44c928 |
! ga_concat(&ga, (char_u *)":");
|
|
Karsten Hopp |
44c928 |
if (inicmd != NULL)
|
|
Karsten Hopp |
44c928 |
{
|
|
Karsten Hopp |
44c928 |
/* Can't use <CR> after "inicmd", because an "startinsert" would cause
|
|
Karsten Hopp |
44c928 |
*** ../vim-7.3.060/src/version.c 2010-11-16 15:48:57.000000000 +0100
|
|
Karsten Hopp |
44c928 |
--- src/version.c 2010-11-16 16:19:58.000000000 +0100
|
|
Karsten Hopp |
44c928 |
***************
|
|
Karsten Hopp |
44c928 |
*** 716,717 ****
|
|
Karsten Hopp |
44c928 |
--- 716,719 ----
|
|
Karsten Hopp |
44c928 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
44c928 |
+ /**/
|
|
Karsten Hopp |
44c928 |
+ 61,
|
|
Karsten Hopp |
44c928 |
/**/
|
|
Karsten Hopp |
44c928 |
|
|
Karsten Hopp |
44c928 |
--
|
|
Karsten Hopp |
44c928 |
BEDEVERE: Stand by for attack!!
|
|
Karsten Hopp |
44c928 |
[CUT TO enormous army forming up. Trebuchets, rows of PIKEMEN, siege
|
|
Karsten Hopp |
44c928 |
towers, pennants flying, shouts of "Stand by for attack!" Traditional
|
|
Karsten Hopp |
44c928 |
army build-up shots. The shouts echo across the ranks of the army.
|
|
Karsten Hopp |
44c928 |
We see various groups reacting, and stirring themselves in readiness.]
|
|
Karsten Hopp |
44c928 |
ARTHUR: Who are they?
|
|
Karsten Hopp |
44c928 |
BEDEVERE: Oh, just some friends!
|
|
Karsten Hopp |
44c928 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
44c928 |
|
|
Karsten Hopp |
44c928 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
44c928 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
44c928 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
44c928 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|