Comments (9)
Yes and no. Precedence is not directly supported by package.el
, but there's a workaround -- see the "Customizations" section of the documentation on http://melpa.milkbox.net/
from emacs.d.
Thank you for the pointer. I have set (setq package-archive-exclude-alist '("marmalade" . slime))
as detailed there, to prevent the installation of package slime@marmalade, but it still gets installed instead of the melpa's one. Where am I getting it wrong?
from emacs.d.
Have you also installed and initialised melpa.el
, as described on that page?
from emacs.d.
Sorry I can't make it work (I feel like a dufus.)
I installed melpa.el as described, and initialised it. Then evaluated (setq package-archive-exclude-alist '("marmalade" . slime))
. Finally M-x package-install RET slime RET
.
Still installing from marmalade. (I probably am a dufus).
from emacs.d.
Hang on, I think I misread your original message - sorry. If you have both Marmalade and Melpa in your package-archives
list, then you shouldn't need to do anything further -- Melpa will always appear to have the highest-numbered package versions, so its packages will always have precedence over those from Marmalade.
So in this case you can ignore my advice about melpa.el, though it may prove useful to you at some point.
Given the behaviour you've reported, my guess is that you need to update your list of available packages. You can do this most easily by running M-x package-list-packages RET
. The version of Slime listed there should then be the one from Melpa, which you can then install by pressing i
then x
.
Apologies for my confusion.
from emacs.d.
Alas, I run that command but no luck. the list of packages shows no sign of slime 20120501
(from melpa), but only the one installed by default, slime 20100404.1
from marmalade.
I was wondering , if that priority mechanism is already in place, why .emacs.d
would download the marmalade one the first time anyway?
from emacs.d.
Wow... I'm really being an idiot today. I didn't even notice that this was filed as an "emacs.d" issue, and so I answered it as if it was a Melpa issue!
So the final answer is that this behaviour is according to my personal preferences, because I use the old Slime version in order to be compatible with Clojure.
If you want to change this in your fork, look at line 77 of init-elpa.el
. There's a list of packages in that block of code, and if you remove "slime" from the list then re-evaluate the block of code, you should be able to see the Melpa version of Slime in the package list. :-)
(No guarantees that the rest of the emacs.d is compatible with that newer slime, though!)
Thanks for your patience,
-Steve
from emacs.d.
Wonderful, it works perfectly now.
Your .emacs.d is indeed a treasure trove of interesting code.
Thank you so much for your help and all your time.
-priyadarshan
from emacs.d.
Glad you got it working! Have a great day.
from emacs.d.
Related Issues (20)
- strange character HOT 2
- How to disable auto-completion? HOT 3
- custom theme not work in init-local HOT 1
- about : init-python.el HOT 2
- about:init-org.el HOT 2
- Corfu-doc has been merged into Corfu HOT 1
- mc/mark-next-like-this not working HOT 2
- Lost fringe indicators left window HOT 1
- presses one key to turn into many keys HOT 7
- About flymake-flycheck HOT 10
- Got error message, about function of sanityinc/make-read-only, pp-display-expression in .el file in emacs 29.0.60 HOT 3
- Won't load after init-local.el is created and/or removed HOT 2
- Using wdired to change file name, got error message. HOT 6
- projectile configuration make projectile's candidate display error in emacs 29 HOT 3
- support for copilot HOT 2
- keybinding issues with paredit HOT 4
- Disable Parenthese and quote autocompletion when the cursor is just before a word or characters HOT 8
- Multiple Python flymake checkers HOT 4
- treesit config not load on startup HOT 1
- treesit-extra-load-path error when start emacs HOT 14
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 emacs.d.