Thanks, Jeffro.
I finally got back to this. The "j_dump_array()" really helped. It turns out that the "j_fully_qualify_filenames_in_array()" call in "j_search_path()" was prepending the current working directory, but the files in the array were already fully qualified. For my purposes, I am only getting files from the project list, so I just changed the line: "files = absolute (files);" to "files = absolute (files,'/');" in "j_fully_qualify_filenames_in_array()" so that the path always starts with '/'. I'm not sure how this would work for other files in the list obtained via ENV variables (or on Windows, I'm on Linux). I probably could just take out this call, but this works ok.
Thanks for sharing your macros.
Now I just need to change the list from Project files, to Workspace files.
-Jeff