From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Joeke de Graaf <joeke@posteo.net>
Cc: 59930@debbugs.gnu.org
Subject: [bug#59930] [PATCH] gnu: Add emacs-islisp-mode
Date: Wed, 14 Dec 2022 17:36:33 +0100 [thread overview]
Message-ID: <875yeegcxa.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87pmcse1fo.fsf@kleptop.mail-host-address-is-not-set> (Joeke de Graaf's message of "Fri, 09 Dec 2022 21:01:47 +0000")
Hello,
Joeke de Graaf <joeke@posteo.net> writes:
> This patch adds emacs-islisp-mode to emacs-xyz.scm
Thank you. Some comments follow.
> + (build-system emacs-build-system)
> + (arguments
> + (list #:phases #~(modify-phases %standard-phases
> + ;; Install Emacs Lisp files from the "advance"
> + ;; and "implementations" directories
> + (add-after 'install 'install-additional-directories
> + (lambda _
> + (let ((site-lisp-dir (string-append #$output
> + "/share/emacs/site-lisp/islisp-mode-"
> + #$version)))
You can use (elpa-directory #$output) instead of (string-append ...)
> + (map (lambda (dir)
> + (with-directory-excursion dir
> + (for-each (lambda (file)
> + (install-file file
> + site-lisp-dir))
> + (find-files "." "\\.el$"))))
> + '("advance" "implementations"))))))))
You can use for-each instead of map since you don't need the return
value. Moreover, `copy-recursively' is probably shorter.
However, this will catch neither the ".el" file nor the ".lsp" file in
"implementations/easy-islisp" directory. What should we do about the
latter ?
You also need to add `eisl' as an input, and patch "easy-islisp.el"
accordingly (see `easy-islisp-executable').
Could you send an updated patch?
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2022-12-14 16:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-09 21:01 [bug#59930] [PATCH] gnu: Add emacs-islisp-mode Joeke de Graaf
2022-12-14 16:36 ` Nicolas Goaziou [this message]
2022-12-16 13:14 ` Joeke de Graaf
2022-12-16 17:54 ` bug#59930: " Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875yeegcxa.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=59930@debbugs.gnu.org \
--cc=joeke@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.