Alban Crequy wrote:

> My goal was to have a common protocol used by
> several editors (like gedit, kate, vim, emacs).
> 

Then I think that you are on the wrong list. You should go to xdg. 
Similar things have been done for Audio players, notification system on 
the cross desktop lists: having a common dbus interface.

KDE already has the abstraction of a text editor, it's called a 
texteditor kpart. The implementation is very specific to KDE but the 
interface is generic enough that it could be used as basis for a 
cross-dekstop editor interface.

There's probably something similar on the Gnome side.

I recently also found a kind of generic editor interface on MacOs X:
http://www.barebones.com/support/develop/odbsuite.shtml

What you want is define a generic editor interface at the dbus level, 
then every editor could implement it and be remotely controllable by 
DBUS. It could be nice to have that level of unification.

For the specific case of Vim, once you have your dbus interface written, 
it should fairly easy to implement it using the netbeans socket protocol 
of Vim, without even the need to patch Vim.

        cheers,

        Philippe



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui