|
Karsten Hopp |
81c285 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
81c285 |
Subject: Patch 7.2.222
|
|
Karsten Hopp |
81c285 |
Fcc: outbox
|
|
Karsten Hopp |
81c285 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
81c285 |
Mime-Version: 1.0
|
|
Karsten Hopp |
81c285 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
81c285 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
81c285 |
------------
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
Patch 7.2.222
|
|
Karsten Hopp |
81c285 |
Problem: ":mksession" doesn't work properly with 'acd' set.
|
|
Karsten Hopp |
81c285 |
Solution: Make it work. (Yakov Lerner)
|
|
Karsten Hopp |
81c285 |
Files: src/ex_docmd.c
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
*** ../vim-7.2.221/src/ex_docmd.c 2009-05-16 17:29:37.000000000 +0200
|
|
Karsten Hopp |
81c285 |
--- src/ex_docmd.c 2009-07-01 20:18:22.000000000 +0200
|
|
Karsten Hopp |
81c285 |
***************
|
|
Karsten Hopp |
81c285 |
*** 8686,8691 ****
|
|
Karsten Hopp |
81c285 |
--- 8693,8700 ----
|
|
Karsten Hopp |
81c285 |
}
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
#ifdef FEAT_SESSION
|
|
Karsten Hopp |
81c285 |
+ /* Use the short file name until ":lcd" is used. We also don't use the
|
|
Karsten Hopp |
81c285 |
+ * short file name when 'acd' is set, that is checked later. */
|
|
Karsten Hopp |
81c285 |
did_lcd = FALSE;
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
/* ":mkview" or ":mkview 9": generate file name with 'viewdir' */
|
|
Karsten Hopp |
81c285 |
***************
|
|
Karsten Hopp |
81c285 |
*** 10573,10578 ****
|
|
Karsten Hopp |
81c285 |
--- 10582,10590 ----
|
|
Karsten Hopp |
81c285 |
if (buf->b_sfname != NULL
|
|
Karsten Hopp |
81c285 |
&& flagp == &ssop_flags
|
|
Karsten Hopp |
81c285 |
&& (ssop_flags & (SSOP_CURDIR | SSOP_SESDIR))
|
|
Karsten Hopp |
81c285 |
+ #ifdef FEAT_AUTOCHDIR
|
|
Karsten Hopp |
81c285 |
+ && !p_acd
|
|
Karsten Hopp |
81c285 |
+ #endif
|
|
Karsten Hopp |
81c285 |
&& !did_lcd)
|
|
Karsten Hopp |
81c285 |
name = buf->b_sfname;
|
|
Karsten Hopp |
81c285 |
else
|
|
Karsten Hopp |
81c285 |
*** ../vim-7.2.221/src/version.c 2009-07-01 18:04:30.000000000 +0200
|
|
Karsten Hopp |
81c285 |
--- src/version.c 2009-07-01 20:16:19.000000000 +0200
|
|
Karsten Hopp |
81c285 |
***************
|
|
Karsten Hopp |
81c285 |
*** 678,679 ****
|
|
Karsten Hopp |
81c285 |
--- 678,681 ----
|
|
Karsten Hopp |
81c285 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
81c285 |
+ /**/
|
|
Karsten Hopp |
81c285 |
+ 222,
|
|
Karsten Hopp |
81c285 |
/**/
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
--
|
|
Karsten Hopp |
81c285 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
81c285 |
43. You tell the kids they can't use the computer because "Daddy's got work to
|
|
Karsten Hopp |
81c285 |
do" and you don't even have a job.
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
81c285 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
81c285 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
81c285 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|