I work on Mac OS X 10.5.8. I am trying to learn emacs. I am very new to it and today tried to enter shell commands from within emacs. I entered pdflatex filename. H
According to the following article. If you launch emacs from a shell, it will inherit the shell's environment variables. Therefore, just launch emacs from whatever shell you are most comfortable with to automatically set the environment variables. For example: