I don't really see the need for the function theme_js_libs_theme_name()
I think it is still relevant, for adding entire libraries and like my example above, header=> or footer=>
I think that once jquery or any file is specified in the header, it should cancel out any call in the footer.
Basically compile a list of js for the header and one for the footer -> compare and create a unique array for header -> array diff for footer.
Also do we want/need function theme_js_files_foley() and function theme_css_files_foley()
As a theme/plugin developer we should use these as we need, if I add the css/js directly to my templates, or do I utilize the scripts class or both.
CSS is another issue - if not included in the correct order one can overwrite another.
Case would be if my theme had its own jqueryui theme and geeklog included it's default jqueryui theme after it would overwrite the theme's.
I have already been struggling w/ these issues.
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com