hi nicholas! my apologies for the late reply...
Nicholas Seckar <[email protected]> writes: > 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? > well, it seems to work, so it's fine by me. yes, it'd be nicer to have a specific slot for that... maybe slava could add it for us? :) > Jose, your opinion on this would be great, let me know if there is a > better way to do this. :-) i cannot think of a better way, and i think that, as it stands, your patch is useful. so, if slava has no objection, i think it'd be nice to merge it in master. thanks a lot for taking the time to do this! :) cheers, jao ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
