Closed useremacs closed 9 years ago
Even if you've installed the package using list-packages
, you'll still have to call exec-path-from-shell-initialize
or similar for it to take effect.
thanks! apologies for being slow to understand this; so if I put in my .emacs file: (load "~/.emacs.d/elpa/exec-path-from-shell-1.7/exec-path-from-shell-autoloads.el") (exec-path-from-shell-initialize)
everything works fine. but it seems strange to need to do this, as when the version number changes I would need to change .emacs. I have auctex installed as an elpa package and just having it there in the elpa directory seems all that's needed to install it. what am I getting wrong? cheers
On Mon, Aug 31, 2015 at 6:46 PM, Steve Purcell notifications@github.com wrote:
Even if you've installed the package using list-packages, you'll still have to call exec-path-from-shell-initialize or similar for it to take effect.
— Reply to this email directly or view it on GitHub https://github.com/purcell/exec-path-from-shell/issues/30#issuecomment-136520500 .
Right, that (load ...)
call certainly shouldn't be necessary. The autoloads will be loaded for you when package-initialize
is called, so you might like to call that explicitly before your other start-up code. Once that is done, it should be enough to call (exec-path-from-shell-initialize)
. :-)
Hello, thanks so much! that worked. Perhaps it would be good to mention this in the comments at the top of the file... anyway, appreciate this, cheers
On Wed, Sep 2, 2015 at 5:03 AM, Steve Purcell notifications@github.com wrote:
Right, that (load ...) call certainly shouldn't be necessary. The autoloads will be loaded for you when package-initialize is called, so you might like to call that explicitly before your other start-up code. Once that is done, it should be enough to call (exec-path-from-shell-initialize). :-)
— Reply to this email directly or view it on GitHub https://github.com/purcell/exec-path-from-shell/issues/30#issuecomment-136983681 .
Hi, I can get this to work by putting the .el file on my path and adding the initialization code to my .emacs as suggested in the comments at the top of the file. but when I use list-packages to list and install the package using elpa, installation goes smoothly, but then it doesn't seem to change the path/exec-path, so am not sure it is activated at all. thanks for a great package... E