[Vimperator] RFC: default namespace change
Martin Stubenschrott
stubenschrott at gmx.net
Fri Feb 29 07:37:11 PST 2008
Hi all,
as some of you know, vimperator is being ported to Thunderbird as well.
Therefore there are some options:
Currently the plan is to keep both extensions seperate, but share about
90% of the code. The browser extension would keep the name "vimperator",
and the other one would be called "muttator".
With this approach, the millions of occurences of the "vimperator."
namespace just don't make sense anymore. So for this idea, we need to
rename that, possible suggetions were instead of vimperator.echo(""):
*) VIM.echo("")
*) VI.echo("")
*) VIMP.echo("")
*) VIMOZ.echo(""); (for vim + mozilla)
Do you (developers, patch writers, etc.) have better suggestions or what
do you prefer from them?
The other idea would be to create a "Vimperator Suite" with seperate
applications like "Vimperator Browser", "Vimperator Mail".
The drawback of this, that:
*) the config files need to be moved to ~/.vimperator/{browser,mail}rc
and to ~/.vimperator/{browser,mail}/plugins/
*) It's probably impossible to seperate the source, so there would only
be one big(ger) *.xpi file which could be installed for all supported
apps. (90% of the code is shared anyway, so it wouldn't get much bigger).
Advantages are:
*) Easier to maintain the build system as there are just unified release
cycles and a single CVS account.
*) Much easier to keep documentation + web site up to date with just a
single extension.
If you have even other/better ideas, please tell me! (especially Doug
and Viktor, which I haven't heared anything yet about the issue).
--
Martin
More information about the Vimperator
mailing list