[opensuse-factory] vim/gvim session and KDE
Hi, I am not sure whether this is the right mailing list for this issue. I looked through the list of mailing lists on opensuse.org and felt like this one might fit. I am using vim/gvim for several years in connection with suse linux running kde. One issue that always annoyed me was that when I have gvim open with some files loaded and I log out from kde and log in again, gvim will come up with an empty session. 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. On and off I was searching the web for this issue and ran now across some documentation that talked about that: http://vimdoc.sourceforge.net/htmldoc/gui_x11.html#GNOME There it says that if gvim is compiled as gnome gui, it works together with the gnome session manager and also should work together with the kde session manager. I looked for information on my 10.1 gvim installation and it says: :version VIM - Vi IMproved 6.4 (2005 Oct 15, compiled May 2 2006 09:59:09) Included patches: 1-6 Compiled by abuild@blacher Big version with GTK2 GUI. [...] So it looks like that gvim is compiled for GTK2 and according to the documentation then does not support the kde session manager? I am no expert here and maybe there are other ways to get it going. I was just wondering whether anyone know whether that would be a solution to add session support to gvim and whether that could be an option to compile gvim that way in future releases? Cheers, Guenter --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
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?
So it looks like that gvim is compiled for GTK2 and according to the documentation then does not support the kde session manager?
I am no expert here and maybe there are other ways to get it going.
Nor am I.
I was just wondering whether anyone know whether that would be a solution to add session support to gvim and whether that could be an option to compile gvim that way in future releases?
The mandrake sources know for sure :-) cheers, Jw. -- o \ Juergen Weigert paint it green! __/ _=======.=======_ <V> | jw@suse.de wide open suse_/ _---|____________\/ \ | 0911 74053-508 (tm)__/ (____/ /\ (/) | __________________________/ _/ \_ vim:set sw=2 wm=8 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
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
On Dec 14, 06 21:19:13 +0100, Günter Dannoritzer wrote:
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 \
perhaps it's this --enable-gui=gnome2 --enable-gtk2-check
Does that help?
I'll give it a try at: http://build.opensuse.org/package/show?package=vim&project=home:jnweiger Check out the binaries found at http://software.opensuse.org/download/home:/jnweiger/SUSE_Factory/repodata/P... Wow, if this works, then Buildservice rocks. cheers, Jw. -- o \ Juergen Weigert paint it green! __/ _=======.=======_ <V> | jw@suse.de wide open suse_/ _---|____________\/ \ | 0911 74053-508 (tm)__/ (____/ /\ (/) | __________________________/ _/ \_ vim:set sw=2 wm=8 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Juergen Weigert wrote:
Check out the binaries found at http://software.opensuse.org/download/home:/jnweiger/SUSE_Factory/repodata/P...
Wow, if this works, then Buildservice rocks.
cheers, Jw.
Seems like there is a problem with the web site, as I am getting an Object not found error. Even when trying to access the page: http://software.opensuse.org/repositories/ I will try it later again. Cheers, Guenter --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Fri, Dec 15, 2006 at 10:40:46PM +0100, Günter Dannoritzer wrote:
Juergen Weigert wrote:
Check out the binaries found at http://software.opensuse.org/download/home:/jnweiger/SUSE_Factory/repodata/P...
^^ The URL is broken -- it should read:
http://software.opensuse.org/download/home:/jnweiger/SUSE_Factory/repodata/r...
Wow, if this works, then Buildservice rocks.
cheers, Jw.
Seems like there is a problem with the web site, as I am getting an Object not found error. Even when trying to access the page: http://software.opensuse.org/repositories/
I will try it later again.
There is no http://software.opensuse.org/repositories/ -- it's http://software.opensuse.org/download/ Best, Christoph --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Hi, On Fri, 15 Dec 2006, Christoph Thiel wrote:
There is no http://software.opensuse.org/repositories/ -- it's http://software.opensuse.org/download/
Please think about setting a symlink. The mirrors have it named "repositories". Cheers -e -- Eberhard Moenkeberg (emoenke@gwdg.de, em@kki.org) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Dec 15, 06 23:16:19 +0100, Christoph Thiel wrote:
On Fri, Dec 15, 2006 at 10:40:46PM +0100, Günter Dannoritzer wrote:
Juergen Weigert wrote:
Check out the binaries found at http://software.opensuse.org/download/home:/jnweiger/SUSE_Factory/repodata/P...
^^ The URL is broken -- it should read:
http://software.opensuse.org/download/home:/jnweiger/SUSE_Factory/repodata/r...
My bad. E_URL_NOT_LONG_ENOUGH Thanks Christoph. Jw. -- o \ Juergen Weigert paint it green! __/ _=======.=======_ <V> | jw@suse.de wide open suse_/ _---|____________\/ \ | 0911 74053-508 (tm)__/ (____/ /\ (/) | __________________________/ _/ \_ vim:set sw=2 wm=8 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Juergen Weigert wrote:
On Dec 15, 06 23:16:19 +0100, Christoph Thiel wrote:
On Fri, Dec 15, 2006 at 10:40:46PM +0100, Günter Dannoritzer wrote:
Juergen Weigert wrote:
Check out the binaries found at http://software.opensuse.org/download/home:/jnweiger/SUSE_Factory/repodata/P... ^^ The URL is broken -- it should read:
http://software.opensuse.org/download/home:/jnweiger/SUSE_Factory/repodata/r...
Juergen, Thanks for providing the binaries. I did not update to 10.2 yet and was not able to install gvim. Vim worked just fine, just gvim had some dependencies on my 10.1 installation that did not get meat. Is there a simple way with the build services to run the build for 10.1? If not I am planning to upgrade to 10.2 in the next weeks and will test it then. I forwarded the link to a friend who has already 10.2 installed, but haven't heard back from him yet. Maybe someone else tried it out and can provide some feedback whether sessions are restored properly now when logging into kde? Cheers, Guenter --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Dec 18, 06 14:49:37 +0100, Günter Dannoritzer wrote:
Juergen Weigert wrote:
On Dec 15, 06 23:16:19 +0100, Christoph Thiel wrote:
On Fri, Dec 15, 2006 at 10:40:46PM +0100, Günter Dannoritzer wrote:
Juergen Weigert wrote:
Check out the binaries found at http://software.opensuse.org/download/home:/jnweiger/SUSE_Factory/repodata/P... ^^ The URL is broken -- it should read:
http://software.opensuse.org/download/home:/jnweiger/SUSE_Factory/repodata/r...
Juergen, Thanks for providing the binaries.
I did not update to 10.2 yet and was not able to install gvim. Vim worked just fine, just gvim had some dependencies on my 10.1 installation that did not get meat.
Already done: http://software.opensuse.org/download/home:/jnweiger/SUSE_Linux_10.1/repodat... (I'd love to have an alternative URL with package name first, then targets and versions below that.) cheers, Jw. -- o \ Juergen Weigert paint it green! __/ _=======.=======_ <V> | jw@suse.de wide open suse_/ _---|____________\/ \ | 0911 74053-508 (tm)__/ (____/ /\ (/) | __________________________/ _/ \_ vim:set sw=2 wm=8 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Juergen Weigert wrote:
Already done: http://software.opensuse.org/download/home:/jnweiger/SUSE_Linux_10.1/repodat...
I am getting the same dependency error as with the earlier gvim version: Unresolved dependencies: Installing vim-7.0-10.1.x86_64[Local packages] There are no installable providers of libpython2.5.so.1.0()(64bit) for vim-7.0-10.1.x86_64[Local packages] I think 10.1 still uses Python 2.4 as standard package doesn't it? Cheers, Guenter --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Juergen Weigert wrote:
I did not update to 10.2 yet and was not able to install gvim. Vim worked just fine, just gvim had some dependencies on my 10.1 installation that did not get meat.
Already done: http://software.opensuse.org/download/home:/jnweiger/SUSE_Linux_10.1/repodat...
(I'd love to have an alternative URL with package name first, then targets and versions below that.)
I did upgrade to 10.2 now, is there actually a 10.2 version available as well? Thanks, Guenter --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (5)
-
Christoph Thiel
-
dannoritzer
-
Eberhard Moenkeberg
-
Günter Dannoritzer
-
Juergen Weigert