As music, or as score to help a movie work?
As music, TMP is magnitudes beyond TWOK ... as a score, TMP certainly achieves a lot more, but there are some aspects that don't measure up ... David Gerrold has mentioned the vger music has a grinding quality to it, and while that is a truthful and intelligent approach to scoring for vger, it isn't all that easy on the ear. (for me it is fine, but I like listening to the CD called RITUAL STRUCTURES, which other people think of as akin to chinese water torture.)
TWOK works, but it works because it evokes other things (the TOS tv series, various nautical movies, Prokofiev, THE WOLFEN, BATTLE BEYOND THE STARS, Goldsmith's THE GREAT TRAIN ROBBERY and PATTON, John Williams' TOWERING INFERNO), not out of any brilliance.
I think it is more interesting to compare TWOK with SFS, because Horner's hyping of the action in SFS is more obvious (and necessary), since the action visuals and cutting are so lame in Nimoy's pic.
Then compare SFS with TFF ... Goldsmith has to 'save' a lot of stuff there, just like Horner tries to do in SFS, but Goldsmith does a lot more than just save things, he delivers some brilliance along with RamboRehash, and that is no mean trick since he is still having to repeat a lot of his earlier trek themes as well, whereas Horner could come up with his own faux Klingon tune.