|
Karsten Hopp |
ab00e2 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
ab00e2 |
Subject: patch 7.1.010
|
|
Karsten Hopp |
ab00e2 |
Fcc: outbox
|
|
Karsten Hopp |
ab00e2 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
ab00e2 |
Mime-Version: 1.0
|
|
Karsten Hopp |
ab00e2 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
ab00e2 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
ab00e2 |
------------
|
|
Karsten Hopp |
ab00e2 |
|
|
Karsten Hopp |
ab00e2 |
Patch 7.1.010
|
|
Karsten Hopp |
ab00e2 |
Problem: The Gnome session file doesn't restore tab pages.
|
|
Karsten Hopp |
ab00e2 |
Solution: Add SSOP_TABPAGES to the session flags. (Matias D'Ambrosio)
|
|
Karsten Hopp |
ab00e2 |
Files: src/gui_gtk_x11.c
|
|
Karsten Hopp |
ab00e2 |
|
|
Karsten Hopp |
ab00e2 |
|
|
Karsten Hopp |
ab00e2 |
*** ../vim-7.1.009/src/gui_gtk_x11.c Mon May 14 19:35:51 2007
|
|
Karsten Hopp |
ab00e2 |
--- src/gui_gtk_x11.c Sat Jun 9 16:54:13 2007
|
|
Karsten Hopp |
ab00e2 |
***************
|
|
Karsten Hopp |
ab00e2 |
*** 2188,2195 ****
|
|
Karsten Hopp |
ab00e2 |
escaped_filename = vim_strsave_escaped(filename, escape_chars);
|
|
Karsten Hopp |
ab00e2 |
if (escaped_filename == NULL)
|
|
Karsten Hopp |
ab00e2 |
return FALSE;
|
|
Karsten Hopp |
ab00e2 |
! mksession_cmdline = g_strconcat("mksession ", (char *)escaped_filename, NULL);
|
|
Karsten Hopp |
ab00e2 |
vim_free(escaped_filename);
|
|
Karsten Hopp |
ab00e2 |
/*
|
|
Karsten Hopp |
ab00e2 |
* Use a reasonable hardcoded set of 'sessionoptions' flags to avoid
|
|
Karsten Hopp |
ab00e2 |
* unpredictable effects when the session is saved automatically. Also,
|
|
Karsten Hopp |
ab00e2 |
--- 2188,2197 ----
|
|
Karsten Hopp |
ab00e2 |
escaped_filename = vim_strsave_escaped(filename, escape_chars);
|
|
Karsten Hopp |
ab00e2 |
if (escaped_filename == NULL)
|
|
Karsten Hopp |
ab00e2 |
return FALSE;
|
|
Karsten Hopp |
ab00e2 |
! mksession_cmdline = g_strconcat("mksession ", (char *)escaped_filename,
|
|
Karsten Hopp |
ab00e2 |
! NULL);
|
|
Karsten Hopp |
ab00e2 |
vim_free(escaped_filename);
|
|
Karsten Hopp |
ab00e2 |
+
|
|
Karsten Hopp |
ab00e2 |
/*
|
|
Karsten Hopp |
ab00e2 |
* Use a reasonable hardcoded set of 'sessionoptions' flags to avoid
|
|
Karsten Hopp |
ab00e2 |
* unpredictable effects when the session is saved automatically. Also,
|
|
Karsten Hopp |
ab00e2 |
***************
|
|
Karsten Hopp |
ab00e2 |
*** 2199,2205 ****
|
|
Karsten Hopp |
ab00e2 |
*/
|
|
Karsten Hopp |
ab00e2 |
save_ssop_flags = ssop_flags;
|
|
Karsten Hopp |
ab00e2 |
ssop_flags = (SSOP_BLANK|SSOP_CURDIR|SSOP_FOLDS|SSOP_GLOBALS
|
|
Karsten Hopp |
ab00e2 |
! |SSOP_HELP|SSOP_OPTIONS|SSOP_WINSIZE);
|
|
Karsten Hopp |
ab00e2 |
|
|
Karsten Hopp |
ab00e2 |
do_cmdline_cmd((char_u *)"let Save_VV_this_session = v:this_session");
|
|
Karsten Hopp |
ab00e2 |
failed = (do_cmdline_cmd((char_u *)mksession_cmdline) == FAIL);
|
|
Karsten Hopp |
ab00e2 |
--- 2201,2207 ----
|
|
Karsten Hopp |
ab00e2 |
*/
|
|
Karsten Hopp |
ab00e2 |
save_ssop_flags = ssop_flags;
|
|
Karsten Hopp |
ab00e2 |
ssop_flags = (SSOP_BLANK|SSOP_CURDIR|SSOP_FOLDS|SSOP_GLOBALS
|
|
Karsten Hopp |
ab00e2 |
! |SSOP_HELP|SSOP_OPTIONS|SSOP_WINSIZE|SSOP_TABPAGES);
|
|
Karsten Hopp |
ab00e2 |
|
|
Karsten Hopp |
ab00e2 |
do_cmdline_cmd((char_u *)"let Save_VV_this_session = v:this_session");
|
|
Karsten Hopp |
ab00e2 |
failed = (do_cmdline_cmd((char_u *)mksession_cmdline) == FAIL);
|
|
Karsten Hopp |
ab00e2 |
*** ../vim-7.1.009/src/version.c Tue Jun 19 17:49:12 2007
|
|
Karsten Hopp |
ab00e2 |
--- src/version.c Tue Jun 19 18:07:09 2007
|
|
Karsten Hopp |
ab00e2 |
***************
|
|
Karsten Hopp |
ab00e2 |
*** 668,669 ****
|
|
Karsten Hopp |
ab00e2 |
--- 668,671 ----
|
|
Karsten Hopp |
ab00e2 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
ab00e2 |
+ /**/
|
|
Karsten Hopp |
ab00e2 |
+ 10,
|
|
Karsten Hopp |
ab00e2 |
/**/
|
|
Karsten Hopp |
ab00e2 |
|
|
Karsten Hopp |
ab00e2 |
--
|
|
Karsten Hopp |
ab00e2 |
GALAHAD: No look, really, this isn't nescess ...
|
|
Karsten Hopp |
ab00e2 |
PIGLET: We must examine you.
|
|
Karsten Hopp |
ab00e2 |
GALAHAD: There's nothing wrong with ... that.
|
|
Karsten Hopp |
ab00e2 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
ab00e2 |
|
|
Karsten Hopp |
ab00e2 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
ab00e2 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
ab00e2 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
ab00e2 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|