GNU bug report logs - #7923
23.2; Shell PATH environment variable problem

Previous Next

Package: emacs;

Reported by: John McHugh <mchugh <at> cs.unc.edu>

Date: Wed, 26 Jan 2011 21:30:03 UTC

Severity: normal

Found in version 23.2

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: John McHugh <mchugh <at> cs.unc.edu>
Cc: 7923 <at> debbugs.gnu.org
Subject: bug#7923: 23.2; Shell PATH environment variable problem
Date: Wed, 26 Jan 2011 23:10:29 -0500
> from MacTeX-2010.  I noticed that tex programs were in the PATH in a
> terminal shell, but not in an emacs shell.  Ultimately, I discovered

IIUC the difference is because Terminal.app runs the shell as a login
shell (which is a somewhat unusual choice, for an old Unix guy), whereas
Emacs's M-x shell doesn't.

You can make your .bashrc to source /etc/profile.

Tho maybe your better choice will be to try and make Emacs's own PATH to
be set properly (i.e. have it run your path_helper somehow).


        Stefan




This bug report was last modified 9 years and 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.