]>
Commit | Line | Data |
---|---|---|
1 | To: vim-dev@vim.org | |
2 | Subject: patch 7.1.010 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.1.010 | |
11 | Problem: The Gnome session file doesn't restore tab pages. | |
12 | Solution: Add SSOP_TABPAGES to the session flags. (Matias D'Ambrosio) | |
13 | Files: src/gui_gtk_x11.c | |
14 | ||
15 | ||
16 | *** ../vim-7.1.009/src/gui_gtk_x11.c Mon May 14 19:35:51 2007 | |
17 | --- src/gui_gtk_x11.c Sat Jun 9 16:54:13 2007 | |
18 | *************** | |
19 | *** 2188,2195 **** | |
20 | escaped_filename = vim_strsave_escaped(filename, escape_chars); | |
21 | if (escaped_filename == NULL) | |
22 | return FALSE; | |
23 | ! mksession_cmdline = g_strconcat("mksession ", (char *)escaped_filename, NULL); | |
24 | vim_free(escaped_filename); | |
25 | /* | |
26 | * Use a reasonable hardcoded set of 'sessionoptions' flags to avoid | |
27 | * unpredictable effects when the session is saved automatically. Also, | |
28 | --- 2188,2197 ---- | |
29 | escaped_filename = vim_strsave_escaped(filename, escape_chars); | |
30 | if (escaped_filename == NULL) | |
31 | return FALSE; | |
32 | ! mksession_cmdline = g_strconcat("mksession ", (char *)escaped_filename, | |
33 | ! NULL); | |
34 | vim_free(escaped_filename); | |
35 | + | |
36 | /* | |
37 | * Use a reasonable hardcoded set of 'sessionoptions' flags to avoid | |
38 | * unpredictable effects when the session is saved automatically. Also, | |
39 | *************** | |
40 | *** 2199,2205 **** | |
41 | */ | |
42 | save_ssop_flags = ssop_flags; | |
43 | ssop_flags = (SSOP_BLANK|SSOP_CURDIR|SSOP_FOLDS|SSOP_GLOBALS | |
44 | ! |SSOP_HELP|SSOP_OPTIONS|SSOP_WINSIZE); | |
45 | ||
46 | do_cmdline_cmd((char_u *)"let Save_VV_this_session = v:this_session"); | |
47 | failed = (do_cmdline_cmd((char_u *)mksession_cmdline) == FAIL); | |
48 | --- 2201,2207 ---- | |
49 | */ | |
50 | save_ssop_flags = ssop_flags; | |
51 | ssop_flags = (SSOP_BLANK|SSOP_CURDIR|SSOP_FOLDS|SSOP_GLOBALS | |
52 | ! |SSOP_HELP|SSOP_OPTIONS|SSOP_WINSIZE|SSOP_TABPAGES); | |
53 | ||
54 | do_cmdline_cmd((char_u *)"let Save_VV_this_session = v:this_session"); | |
55 | failed = (do_cmdline_cmd((char_u *)mksession_cmdline) == FAIL); | |
56 | *** ../vim-7.1.009/src/version.c Tue Jun 19 17:49:12 2007 | |
57 | --- src/version.c Tue Jun 19 18:07:09 2007 | |
58 | *************** | |
59 | *** 668,669 **** | |
60 | --- 668,671 ---- | |
61 | { /* Add new patch number below this line */ | |
62 | + /**/ | |
63 | + 10, | |
64 | /**/ | |
65 | ||
66 | -- | |
67 | GALAHAD: No look, really, this isn't nescess ... | |
68 | PIGLET: We must examine you. | |
69 | GALAHAD: There's nothing wrong with ... that. | |
70 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
71 | ||
72 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
73 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
74 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
75 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |