GO:0016405:   CoA-ligase activity
Catalysis of the reaction: substrate + ATP + CoASH = AMP + diphosphate + substrate-CoA.