Comments (7)
Interesting; for this to work you actually need the version of package.el from the emacs 24 repository: http://repo.or.cz/w/emacs.git/blob_plain/HEAD:/lisp/emacs-lisp/package.el
The version of package.el on tromey.com doesn't have a package-archives
variable.
(setq el-get-sources '((:name package :url "http://repo.or.cz/w/emacs.git/blob_plain/HEAD:/lisp/emacs-lisp/package.el")))
from el-get.
Also, I note that you have to add a trailing slash to that URL or it breaks:
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
from el-get.
I further note that fully using package.el from emacs24 requires one more elisp file, package-x.el
from the same repo, and that it doesn't include the original elpa package archive by default. So you may also need:
(add-to-list
'package-archives
'("tromey" . "http://tromey.com/elpa/"))
from el-get.
One of you should probably send us the full working new recipe of package.el, using the Emacs24 code and with support for tromey and marmalade archives. I'll be happy to apply such a change.
Also, has some testing been done wrt the packages.el from Emacs24 working fine with previous Emacs version, at least emacs 23?
from el-get.
Yeah, it'd be nice to make sure that this works emacs 23.
from el-get.
I'm using this recipe to get package.el working with emacs 23, the issue is that 'package-subdirectory-regexp' is not defined in package.el, I don't know where it went, it used to be there :) Anyway this recipe would work as a hack for emacs versions prior to 24. Marmelade support could be added in the post-init hook. I also commented the same snippet on #209
(:name aj-package
:type http
:url "http://repo.or.cz/w/emacs.git/blob_plain/HEAD:/lisp/emacs-lisp/package.el"
:features package
:post-init (lambda ()
(unless (boundp 'package-subdirectory-regexp)
(defconst package-subdirectory-regexp
"^\\([^.].*\\)-\\([0-9]+\\(?:[.][0-9]+\\)*\\)$"
"Regular expression matching the name of a package subdirectory. The first subexpression is the package name. The second subexpression is the version string."))
(setq package-archives '(("ELPA" . "http://tromey.com/elpa/")
("gnu" . "http://elpa.gnu.org/packages/")))
;; Don't init, elpa packages installed by el-get is initialized from loaddefs
;;(package-initialize)
))
from el-get.
I merged your post-init into the package24 recipe from el-get, and added the marmelade URL in package-archives. Is it ok enough this way?
from el-get.
Related Issues (20)
- Byte compilation should be separately done for each file
- Usage of 'go get' for recipes of type "go" is broken with golang 1.16+
- company-mode.rcp out of date HOT 1
- (el-get-bundle elpa:magit) fails to resolve correct dependencies
- Using ~/.config/emacs instead of ~/.emacs.d HOT 3
- el-get from melpa does not include info documentation for el-get. WTF?
- Continuous integration for el-get packages HOT 6
- adoc-mode has moved/been adopted
- Unable to activate lsp-docker
- better-defaults repo url is invalid
- Incorrect recipe for git-timemachine HOT 1
- Recipe for scratch package is out of date
- Depends deprecated `autoload` package HOT 1
- missing :files directive in systemd-mode recipe
- mastodon recipe points to incorrect repository
- el-get-self-update fails to update (melpa directory)
- Problem when installing el-get on emacs 29.1 HOT 11
- Sync raises error in Emacs 29.1 HOT 1
- A way to have a subfolder in recipe HOT 1
- `profile-dotemacs` recipe URL returns 404
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from el-get.