Emacs, AUC Tex and Tex Live problem on Mac OS

I tried using the environment.plist solution above (did it a few years ago, haven't reinstalled my computer in a while), but couldn't make it work at some point. So I simply inserted the missing paths into emacs, like this:

(setenv "PATH" (concat "/opt/local/bin:/opt/local/sbin:" (getenv "PATH")))
(setq exec-path (append '("/opt/local/bin" "/opt/local/sbin") exec-path))

In this case, I'm adding the paths to the Macports binaries. Probably not the most beautiful solution, but at least it works :)