Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce some kind of multi-package syntax. #4

Open
jaccarmac opened this issue Apr 1, 2016 · 0 comments
Open

Introduce some kind of multi-package syntax. #4

jaccarmac opened this issue Apr 1, 2016 · 0 comments
Assignees

Comments

@jaccarmac
Copy link
Owner

See https://github.com/jaccarmac/dot-emacs-dot-d/blob/e8f0b1fad81d82d6952f214396f67d1fce096ee3/init.el#L150-L153 for an example of what I consider to be bad syntax.

In the case that a package needs to be required with a different name than the recipe and/or multiple times, it would be nice to have a syntax to do so.

It's a bit weird to integrate this kind of behavior with the current syntax of the quse-package macro, but I have a couple ideas.

  1. Introduce a cond-like section of the macro. But I wouldn't want to overwrite any names.
  2. Add a second macro to the package, something like multiquse-package, which would take a single recipe and several cond-like branches with package names/use-package forms.
@jaccarmac jaccarmac self-assigned this Apr 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant