Hi all,

The module system introduced 2010-03-19 had a fatal flaw in its design.
We have known about this for quite some time, but fixing it was a complex
undertaking.  Now the 'in_module' procedure has been removed from the
program, because it doesn't work, and a new module system has been added,
the jsx module system.

Anybody who has written a module that is not part of Conkeror will need to
update their code.  Remove uses of 'in_module'.  If you only did
'in_module(null);' then you can just remove that line and you are done.
If you used 'in_module("module_name");' you will need to remove that, and
rename your file to have the extension ".jsx".  The rest of the filename
should match the name of the module, except using hyphens to separate
words.

Anybody who regularly reads or edits the Conkeror source will want to make
their editor aware of the ".jsx" extension.  Here is how to do it for
Emacs:

  (add-to-list 'auto-mode-alist '("\\.jsx$" . js-mode))

As an aside, we also looked into using Mozilla's ".jsm" modules instead of
inventing our own kind, but they introduce a number of complexities into
the development workflow that made them undesirable, at least for Conkeror
1.0.

Any questions?

-- 
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to