[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Drop tarball releases and go ELPA only
From: |
Arash Esbati |
Subject: |
Re: Drop tarball releases and go ELPA only |
Date: |
Wed, 21 Aug 2024 15:12:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Ikumi Keita <ikumi@ikumi.que.jp> writes:
>>>>>> Arash Esbati <arash@gnu.org> writes:
>> Thanks for confirming. So the whole change looks like this, or am I
>> missing something?
>
> [...]
>
>> +;; This can be used for starting up AUCTeX, e.g., when not installed
>> +;; ELPA. The following form should safely be undone using
>> +;; (unload-feature 'tex-site).
>
> Is the second sentence true? With this patch, (unload-feature 'tex-site)
> failed for me with
> Loaded libraries ("/home/keita/repo/auctex/auctex/auctex-autoloads.el"
> "/home/keita/repo/auctex/auctex/auctex.el") depend on
> /home/keita/repo/auctex/auctex/tex-site.el
> for initial code
> (add-to-list 'load-path "~/repo/auctex/auctex")
> (load "auctex.el" nil t t)
> in init.el.
Thanks for catching this, I'm not sure what I've done as I was testing
this :-( Without the patch, it says:
(error "Loaded libraries ("/path/to/auctex/auctex-autoloads.el")
depend on /path/to/auctex/tex-site.elc")
> My understanding is that once a library foo.el is required by other lisp
> file(s), `unload-feature' can not undo it.
Yes, that's true. This is from Emacs Lisp manual[1]:
Ordinarily, unload-feature refuses to unload a library on which other
loaded libraries depend. (A library a depends on library b if a contains
a require for b.) If the optional argument force is non-nil,
dependencies are ignored and you can unload any library.
So the conclusion is apply the patch with the comment adjusted and if
someone wants to unload tex-site, s?he has to use the FORCE arg?
Best, Arash
Footnotes:
[1] https://www.gnu.org/software/emacs/manual/html_mono/elisp.html#Unloading
- Re: Drop tarball releases and go ELPA only, (continued)
- Re: Drop tarball releases and go ELPA only, Uwe Brauer, 2024/08/18
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/18
- Re: Drop tarball releases and go ELPA only, Arash Esbati, 2024/08/18
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/19
- Re: Drop tarball releases and go ELPA only, Arash Esbati, 2024/08/19
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/19
- Re: Drop tarball releases and go ELPA only, Arash Esbati, 2024/08/21
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/21
- Re: Drop tarball releases and go ELPA only, Arash Esbati, 2024/08/21
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/21
- Re: Drop tarball releases and go ELPA only,
Arash Esbati <=
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/21
- Re: Drop tarball releases and go ELPA only, Arash Esbati, 2024/08/22
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/22
- Re: Drop tarball releases and go ELPA only, Arash Esbati, 2024/08/22
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/23
- Re: Drop tarball releases and go ELPA only, Arash Esbati, 2024/08/24
Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/09