Malabarba / names

A Namespace implementation for Emacs-Lisp
250 stars 19 forks source link

Emacs fails to load names package #18

Closed mrkkrp closed 9 years ago

mrkkrp commented 9 years ago

Hi! Recently I got a whim to test my personal configuration with Travis CI. This allowed me to catch something strange. In order to test my configuration Travis first setups Emacs trunk, then it executes very simple Python script.

Now, in my configuration I first install all necessary packages, like this.

This is where interesting things happen. It fails like this: travis log.

First, I can reproduce it on my local machine. It seems like package names is installed but something bad happens when Emacs tries to load it. Why it happens on names? Other packages before it are installed smoothly.

Second, if I start the same script immediately after the fail, the rest of it works fine -- all other packages are downloaded and everything is OK.

Third, I did some testing. I use this command to invoke emacs:

emacs -nw --batch --eval "..."

It doesn't fail without --batch option. I can call the script and end up inside started Emacs with all packages installed.


This is curious. It seems like some sort of bug, but I'm not sure that it's not my fault. What do you think? Why does it happen only with --batch option and only when Emacs is trying to activate names package?

Malabarba commented 9 years ago

Thanks for reporting this. I see what the problem is, and it's not your fault. ;-) I just pushed a fix to the dev branch, and if it passes the tests I'll merge to master and you can test your stuff again.

Malabarba commented 9 years ago

And it's merged. Let me know if it worked.

mrkkrp commented 9 years ago

Perfect! Now everything is fine (all packages are installed successfully, it still fails, but now it's certainly my work to fix that) ;-)