4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: A session file doesn't work when created while the current
12 directory contains a space or the directory of the session files
13 contains a space. (Paolo Giarrusso)
14 Solution: Escape spaces with a backslash.
18 *** ../vim-6.3.088/src/ex_docmd.c Sun Feb 13 20:46:05 2005
19 --- src/ex_docmd.c Wed Sep 28 14:54:14 2005
23 if (ssop_flags & SSOP_SESDIR)
25 ! if (put_line(fd, "exe \"cd \" . expand(\"<sfile>:p:h\")") == FAIL)
28 else if (ssop_flags & SSOP_CURDIR)
30 sname = home_replace_save(NULL, globaldir != NULL ? globaldir : dirnow);
32 ! || fprintf(fd, "cd %s", sname) < 0 || put_eol(fd) == FAIL)
39 if (ssop_flags & SSOP_SESDIR)
41 ! if (put_line(fd, "exe \"cd \" . escape(expand(\"<sfile>:p:h\"), ' ')") == FAIL)
44 else if (ssop_flags & SSOP_CURDIR)
46 sname = home_replace_save(NULL, globaldir != NULL ? globaldir : dirnow);
48 ! || fputs("cd ", fd) < 0
49 ! || ses_put_fname(fd, sname, &ssop_flags) == FAIL
50 ! || put_eol(fd) == FAIL)
58 *** ../vim-6.3.088/src/version.c Sun Sep 25 15:09:52 2005
59 --- src/version.c Wed Sep 28 14:56:23 2005
63 { /* Add new patch number below this line */
69 Permission is granted to read this message out aloud on Kings Cross Road,
70 London, under the condition that the orator is properly dressed.
72 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
73 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
74 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
75 \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///