[OS X Emacs] latex + dvips + ps2pdf from Aquamacs

Peter Dyballa Peter_Dyballa at Web.DE
Mon Nov 2 09:42:14 EST 2020

> Am 2.11.2020 um 14:03 schrieb Ettore Aldrovandi <ealdrov at math.fsu.edu>:
> /etc/paths
> /etc/zprofile
> /etc/zshrc
> ~/.zshenv
> ~/.zshrc
> ~/.zprofile
> ~/.profile
> And (unlikely)
> ~/.login

None of these files is read when some macOS application is launched. One exception is Terminal. To initialise its shell interpreter some files are read by the latter.

The environment an application in macOS inherits is set once when its user logs in.

Emacs allows to alter its own environment, as contained in the variable  process-environment, by use of function  setenv. This, put into its init file, might help to correct in its environment the faulty PATH setting – in case anything else fails.

If one creates a *shell* buffer inside Emacs, Emacs passes the contents of the file ~/.emacs_<shell name> to the shell interpreter. This does *not* alter process-environment, this just sets up the shell's environment and behaviour as wished.

Launching Terminal might give more clue what is not correctly set for setup of zsh.



Behold the warranty … the bold print giveth and the fine print taketh away.

More information about the MacOSX-Emacs mailing list