[prev in list] [next in list] [prev in thread] [next in thread]
List: vim-dev
Subject: Re: using vim with gtk2, gnome2, bonobo
From: Neil Bird <neil () fnxweb ! com>
Date: 2002-11-21 10:08:00
[Download RAW message or body]
Around about 20/11/2002 17:14, Mickael Marchand typed ...
> If we could fix the event loop stuff in Vim GUI then we could make a
> common
> XPart that we could use in gnome and in kde and other toolkits and we
> could
> do everything we wants with Vim, controlling directly Vim without the
> need of
> a communication system.
You got any links to xpart docs.?
> Vim is far from usable as a component even if you can graphically show
> it as
> an embedded component. The worst problem will be the control of Vim.
> Quick example : the component asks Vim to open a file, the user works
> on it,
> then opens another file with :e myfile.txt, hey :) the component can't
> know
> it and still believe you are on the first file ;). I let you imagine
> what can
> happen after that when the component sends other commands :).
Sounds like we need an extended stdin/stderr I/F to a 'remote' vim;
taking ex commands (with which we can do anything we want in vim) [these
would have to be 'run' by the remote vim uponreceipt of the <cr>, with
maybe a fake preceeeding <c-o> [would have to be raw, in case user has
mapped that!] if user's in INSERT mode, and other caveats], and sending
some standardised feedback via stdout (opened file blah, saved file
blah, etc.).
The app. would have to cope with vim doing the splits (as it were :)
), though - it's not as simple as 'not edit the original file anymore'.
--
[neil@fnx ~]# rm -f .signature
[neil@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil@fnx ~]# exit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic