I ran into a bug that involved an interaction between several packages. In order to report the bug, I need to provide a reproducible recipe illustrating the problem. This requires loading the appropriate packages, but nothing else from my init, and no other packages. What is the best way to do this?
To clarify, I am familiar with the concept of sifting through my .emacs in a binary search to identify the code causing a problem. In this situation, I know exactly what packages are causing the problem already. What I don't know, is how to use the
package- system to load just those few packages.
(package-initialize) will load the packages, but also everything else in my
package-load-list allows me to specify particular versions of packages to load, or particular packages to explicitly exclude. I need the reverse - how to supply Emacs with a list of packages to include, without loading any other packages in the elpa/package system.