-
Notifications
You must be signed in to change notification settings - Fork 151
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
Neuter package.el #73
Comments
Perhaps your ire would be better placed on emacs-devel. I have argued against this there before, but my arguments fell on deaf ears. If I cared enough, I'd sneak in a patch doing the right thing instead (generating an init file from a template if there is none and we're not in debug mode), but I'm afraid I don't. |
@wasamasa So what was the primary argument against just doing nothing? I mean, if you're just installing packages interactively, then initializing them after Emacs startup will be fine. And if you're configuring them in your init-file, then one would expect you to understand that that will require calling (I'm pretty sure we're both in agreement here, but I want to understand the situation before I consider making a post on emacs-devel.) |
The argument was that the lack of |
Mmm I see. I would be inclined to say that even generating a template init-file is far too much magic, but it would certainly be better than the current situation and would have a much better chance of passing the emacs-devel gauntlet. I might go ahead and bring this up, if I can persuade myself to subscribe to emacs-devel. |
The generation part could be as simple as copying a template file to |
* New user options `straight-enable-package-integration' and `straight-enable-use-package-integration', in case you don't want straight.el to mess with other packages. * Neuter package.el, see #73. * Add some breathing room to the use-package integration code. * All functions for public interop with other packages should be public. Now `straight-use-package-ensure-function' and `straight-use-package-pre-ensure-function' are as well. * Use `eval-and-compile' more intelligently.
@wasamasa I've started a conversation on emacs-devel: https://lists.gnu.org/archive/html/emacs-devel/2017-08/msg00154.html |
Wow, thanks! I hope you get more than the tl;dr treatment there though, it would be a shame if discussing the issue from someone else's perspective led to nothing again. |
Sorry for the noise, but just also wanted to say thank you for taking the time to write so much about this. I also hope for some more discourse. Because so far I believe no one has given a single reason why a default skeleton init file is not the current behaviour. 🤷♀️ |
It does look like discourse has dried up, indeed. I'll wait one week and then make a pointed inquiry about whether the lack of any objections to my suggestions means that I should start sending patches. |
I'd send patches in any case, simply because discussion on debbugs tends to be a lot less emotional. |
I don't know if this would affect straight.el in the future since I don't know exactly how you neuter package.el, but I saw in emacs NEWs file for 27.1 they have the following two entries:
The main thing I think is it seems to suggest that setting |
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=24acb31c04b4048b85311d794e600ecd7ce60d3b You could say I'm aware of the change ;) |
Ah I figured maybe this change was due to you but didn't have time to go check history, but thought I should at least leave a comment. :) So if I'm using development version of emacs I assume I just set Edit: Seems to work |
Sounds about right. |
package.el
has annoyed me for the last time by sticking yet another stupid call topackage-initialize
into my init-file. Henceforth,straight.el
shall makepackage.el
completely nonfunctional by overriding its most offensive functions with advice. Out of courtesy I will make this behavior optional.The text was updated successfully, but these errors were encountered: