Juergen Weigert wrote:
On Dec 14, 06 14:06:39 +0100, dannoritzer wrote:
Now I know there is a way to do this by hand, saving the current session in gvim with :mksession <sessionname> and then later restore that session with :source <sessionname>. However, I know from a friend who uses mandrake, that there the session restores automatically under kde.
You say Mandrake has this feature. Can we see how they compiled gvim?
I found the spec file from the current vim build: http://cvs.mandriva.com/cgi-bin/viewvc.cgi/SPECS/vim/vim.spec?view=markup For the gui this seems to be the options they use: %if %buildgui # First build: gvim LOCALEDIR=%localedir CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix \ --enable-pythoninterp \ --enable-perlinterp \ --enable-rubyinterp \ --enable-tclinterp \ --with-features=huge \ --enable-acl --with-x=yes --enable-gui=gnome2 --exec-prefix=%_prefix/X11R6 \ --enable-gtk2-check \ --enable-multibyte --enable-xim --enable-fontset --mandir=%_mandir \ --libdir=%_libdir --with-compiledby="%packager" echo "#define MAX_FEAT 1" >> src/config.h echo "#define FEAT_GUI" >> src/config.h # workaround buggy build system: perl -pi -e 's!/usr/include long!/usr/include !' src/auto/config.mk make mv src/vim src/gvim make -C src clean %endif Does that help? I will see whether I can get the :version output from a Mandrake gvim this worked on. Cheers, Guenter --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org