Fuel doesn't use the current USINGS: to decide which ones to autouse, and
thus if you use a word that is defined in more than one vocab (e.g. write --
io and unix) it will prompt you to choose one of the vocabs each time you
run fuel-update-usings.

I pushed a fix for this to git://github.com/seckar/factor.git -- if a word
is defined in one of the existing USINGS:, fuel will invoke the restart for
it automatically.

The code is pretty hackish though: since the restarts don't have a slot
containing which vocab they will USE: if called, I parse it from the name
slot... which kinda sucks. It works fine, but maybe it would be better to
add a slot to the auto-use restarts?

Jose, your opinion on this would be great, let me know if there is a better
way to do this. :-)

-Nicholas
------------------------------------------------------------------------------
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to