[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51755] [PATCH 1/1] gnu: proof-general: Adjust autoloads for Emacs.
From: |
Nicolas Goaziou |
Subject: |
[bug#51755] [PATCH 1/1] gnu: proof-general: Adjust autoloads for Emacs. |
Date: |
Sun, 21 Nov 2021 19:40:56 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
zimoun <zimon.toutoune@gmail.com> writes:
> * gnu/packages/coq.scm (proof-general)[native-inputs]: Remove 'which'.
> [inputs]: Remove 'coq' and 'emacs'.
> [arguments]<#:make-flags>: Adjust to find 'emacs'.
> Set 'ELISP' and 'DEST_LISP'.
> <#:modules, #:imported-modules>: Remove.
> <#:phases>: Remove call to 'which' in Makefile.
> Add copy file allowing Emacs autoloads.
> Clean unnecessary code.
Thanks.
> + (add-after 'install 'allow-subfolders-autoloads
> + (lambda* (#:key outputs #:allow-other-keys)
> + (let ((out (assoc-ref outputs "out")))
> + ;; Make it visible by Emacs
> + (copy-file "proof-general.el"
> + (string-append out ,base-directory
> +
> "/proof-general-autoloads.el")))))))))
So, IIUC, the above is basically a hack: you disguise the main file into
an autoloads file because no autoloads file is generated from the code
base? If so, this might deserve a longer comment, IMO.
Otherwise, LGTM.
Regards,
--
Nicolas Goaziou
- [bug#51755] [PATCH 0/1] Fix ProofGeneral (emacs front-end for Coq), zimoun, 2021/11/10
- [bug#51755] [PATCH 1/1] gnu: proof-general: Adjust autoloads for Emacs., zimoun, 2021/11/10
- [bug#51755] [PATCH 1/1] gnu: proof-general: Adjust autoloads for Emacs.,
Nicolas Goaziou <=
- [bug#51755] [PATCH 1/1] gnu: proof-general: Adjust autoloads for Emacs., Liliana Marie Prikler, 2021/11/21
- [bug#51755] [PATCH 1/1] gnu: proof-general: Adjust autoloads for Emacs., Nicolas Goaziou, 2021/11/21
- [bug#51755] [PATCH 1/1] gnu: proof-general: Adjust autoloads for Emacs., zimoun, 2021/11/21
- bug#51755: [PATCH 1/1] gnu: proof-general: Adjust autoloads for Emacs., Nicolas Goaziou, 2021/11/22
- [bug#51755] [PATCH 1/1] gnu: proof-general: Adjust autoloads for Emacs., zimoun, 2021/11/22
[bug#51755] [PATCH 0/1] Fix ProofGeneral (emacs front-end for Coq), zimoun, 2021/11/19