1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: ":set backspace+=eol" doesn't work when 'backspace' has a
12 backwards compatible value of 2.
13 Solution: Convert the number to a string. (Hirohito Higashi)
17 *** ../vim-7.3.353/src/option.c 2011-10-12 16:57:07.000000000 +0200
18 --- src/option.c 2011-11-30 11:11:15.000000000 +0100
25 + * Convert 'backspace' number to string, for
26 + * adding, prepending and removing string.
28 + else if (varp == (char_u *)&p_bs
29 + && VIM_ISDIGIT(**(char_u **)varp))
31 + i = getdigits((char_u **)varp);
35 + *(char_u **)varp = empty_option;
38 + *(char_u **)varp = vim_strsave(
39 + (char_u *)"indent,eol");
42 + *(char_u **)varp = vim_strsave(
43 + (char_u *)"indent,eol,start");
47 + oldval = *(char_u **)varp;
50 * Convert 'whichwrap' number to string, for
51 * backwards compatibility with Vim 3.0.
52 * Misuse errbuf[] for the resulting string.
53 *** ../vim-7.3.353/src/version.c 2011-10-26 23:48:17.000000000 +0200
54 --- src/version.c 2011-11-30 11:14:44.000000000 +0100
58 { /* Add new patch number below this line */
64 hundred-and-one symptoms of being an internet addict:
65 206. You religiously respond immediately to e-mail, while ignoring
66 your growing pile of snail mail.
68 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
69 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
70 \\\ an exciting new programming language -- http://www.Zimbu.org ///
71 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///