New answers tagged environment
The loginwindow process sets a user's environment. It sets the variables TMPDIR and PATH, consults Directory Services and sets SHELL HOME USER LOGNAME . PATH is set to /usr/bin:/bin:/usr/sbin:/sbin unless modified by launchd (in the more current versions of OS X). This is the PATH variable available to the user's processes unless modified by that particular ...
Run this: launchctl setenv PATH "$PATH" EDIT: That no longer works. Use this with Bash instead: CURRENT="$(/usr/libexec/PlistBuddy -c "Print PATH" ~/.MacOSX/environment.plist)" /usr/libexec/PlistBuddy -c "Set PATH $CURRENT:/your/path/here:/another/path/maybe" ~/.MacOSX/environment.plist Then log out and log in again. Note: You may want to replace $...
I'm afraid you'll probably need to rebuild emacs. I expect that the one you have is looking for libraries that aren't there any more following the XQuartz update. I had the exact same problem, and solved it with brew upgrade emacs --with-x11 --with-ctags --with-glib --with-gnutls. The relevant command-line for you will differ according to your choice of ...
XQuartz 2.7.9 has multidimensional namespaces. Only a few libraries were patched. Not the ones for gnu emacs as I experienced. Reinstalling 2.7.8 is the first step. The second is to remove the new X11 library that was installed by 2.7.9. In my case this was found at /opt/local/lib/X11 But be careful with this!
Top 50 recent answers are included