emacsorphanage/req-package

'Recursion' problems

Closed this issue · 4 comments

I would like to switch to req-package…
And simplify my students setups with it
However there are 'recursion' problems:
req-package is needed to manage packages
But it 'requires' dash, log4e, use-package
So this has to be done by hand.

Hence my request:
Bundle these requirements into req-package itself so only following is needed

  • download req-package
  • setup load-path
  • (require 'req-package)

[I believe this is related to issue #14 ]

I do not surely understand your problem problem. If you're using elpa or
el-get, req-package dependencies will be installed automatically. Why do
you need this kind of bundle?

On Sat, Aug 8, 2015, 11:24 AM Rusi Mody notifications@github.com wrote:

I would like to switch to req-package
And simplify my students setups with it
However there are 'recursion' problems
We need req-package to manage packages
But it 'requires' dash, log4e req-package
So this has to be done by hand
So my request
Provide a bundle with all these setup in the path so only

  • download req-package
  • setup load-path is needed


Reply to this email directly or view it on GitHub
#16.

I think if you close #14 this will also be answered :-)
IOW How to best use req-package with elpa/melpa/marmalade?
[el-get I am not familiar with]

Or put differently, the README says that this is (all that is) needed
(require 'req-package)

Obviously that (alone) does not work.
What works?

As always you need to install the package.

  1. add melpa repo as described at https://github.com/milkypostman/melpa
  2. M-x package-install -- req-package
  3. (require 'req-package)

The idea is that req-package is the only one package you need to install manually.
All req-package forms will download required packages automatically.
You can see, how I deal with it here https://github.com/edvorg/emacs-configs/blob/master/init-real.el