[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installe
From: |
Philip Kaludercic |
Subject: |
Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS |
Date: |
Sat, 19 Feb 2022 18:35:10 +0000 |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> --8<---------------cut here---------------start------------->8---
>> (eval-and-compile ;for flymake
>> (require 'autoload)
>> (let* ((backup-inhibited t)
>> (dir (locate-user-emacs-file "site-lisp"))
>> (load (expand-file-name "autoload.el" dir)))
>> (dolist (dir (directory-files dir t "^[^.]"))
>> (when (file-directory-p dir)
>> (add-to-list 'load-path dir)
>> (make-directory-autoloads dir load)
>> (byte-recompile-directory dir)))
>> (add-to-list 'load-path dir)
>> (load load nil t)
>> (kill-buffer (find-buffer-visiting load))))
>> --8<---------------cut here---------------end--------------->8---
>
> I think we could aim to make it easier for users to do this kind of
> thing, but I don't think we want to impose the cost of
> `make-directory-autoloads` and `byte-recompile-directory` at every startup.
In that case, I would suggest considering my site-lisp.el proposal from
last year again. The reason I dropped it was because it was implied
that the functionality should be merged into package.el, but it seems
that this wouldn't be the right way to go about it either.
--
Philip Kaludercic
- Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS, (continued)
- Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS, Philip Kaludercic, 2022/02/14
- Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS, Stefan Monnier, 2022/02/14
- Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS, Philip Kaludercic, 2022/02/14
- Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS, Stefan Monnier, 2022/02/14
- Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS, Philip Kaludercic, 2022/02/15
- Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS, Stefan Monnier, 2022/02/15
- Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS, Philip Kaludercic, 2022/02/16
- Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS, Stefan Monnier, 2022/02/16
- Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS, Philip Kaludercic, 2022/02/17
- Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS, Stefan Monnier, 2022/02/19
- Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS,
Philip Kaludercic <=
- Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS, Stefan Monnier, 2022/02/19
- Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS, Augusto Stoffel, 2022/02/18
- Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS, Stefan Monnier, 2022/02/18