From patchwork Thu Sep 7 04:14:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Charles X-Patchwork-Id: 16667 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E94B827BBE9; Thu, 7 Sep 2023 05:15:30 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4912527BBE2 for ; Thu, 7 Sep 2023 05:15:29 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qe6QA-0007yS-V7; Thu, 07 Sep 2023 00:15:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qe6Q2-0007li-1f for guix-patches@gnu.org; Thu, 07 Sep 2023 00:15:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qe6Q0-00023A-N1 for guix-patches@gnu.org; Thu, 07 Sep 2023 00:15:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qe6Q2-0001Wd-4A for guix-patches@gnu.org; Thu, 07 Sep 2023 00:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65767] No prefix on lisp-xyz module References: In-Reply-To: Resent-From: Charles Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Sep 2023 04:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65767 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: "65767@debbugs.gnu.org" <65767@debbugs.gnu.org> Received: via spool by 65767-submit@debbugs.gnu.org id=B65767.16940600975839 (code B ref 65767); Thu, 07 Sep 2023 04:15:02 +0000 Received: (at 65767) by debbugs.gnu.org; 7 Sep 2023 04:14:57 +0000 Received: from localhost ([127.0.0.1]:38266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qe6Pw-0001W6-Hp for submit@debbugs.gnu.org; Thu, 07 Sep 2023 00:14:56 -0400 Received: from mail-40130.protonmail.ch ([185.70.40.130]:55107) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qe6Pr-0001Vm-Ii for 65767@debbugs.gnu.org; Thu, 07 Sep 2023 00:14:54 -0400 Date: Thu, 07 Sep 2023 04:14:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1694060083; x=1694319283; bh=Xe+Mh19n9reEtvEZnNsygmiOEwjQtOzCnS5AETR0KKY=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=Qrzv8I7qoUSTWey0Yy1b2dbmnxp8hgRMRGK52Zunl8jRTCdOxUGmWQTvM0CmZKF73 DcQ93DOBYmTAFPW5sa+ZHdBJvNf0NyEcdlN8yxMwlzJ8pR9LrxvGNfi4BVrfKFzIUe lQ8CjucFIGVvPoFqnfGAbubgBKQnUeoiwZTQ4MaEG/pN2zUP1U21YehZ7eprZW0zHg 3FtD+U7GKwjG5o0tjP1ecINvif0nVxCFPyxhb/AdCkMXx49AtYz3jxs/Qjwh7eZICH +CAh9d46oTOkrkxhOhB08iPl2eXRaFVDYuHJfo7F2p4APYYttPh6AXJ2inFm7vhvAs p6X30WU8F9ncg== Message-ID: Feedback-ID: 46146749:user:proton MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Charles X-ACL-Warn: , Charles via Guix-patches X-Patchwork-Original-From: Charles via Guix-patches via From: Charles Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches I think I sent the previous email to the wrong place. My apologies. This is a newer patch meant to replace the previous one. The only difference is that that lisp-xyz module doesn't have a prefix. From 83ffb0fff0ebdcc73e656efd97c28c8bd1f520cc Mon Sep 17 00:00:00 2001 Message-Id: <83ffb0fff0ebdcc73e656efd97c28c8bd1f520cc.1694059834.git.charles.b.jackson@protonmail.com> From: Charles Jackson Date: Tue, 5 Sep 2023 18:42:05 -0500 Subject: [PATCH] gnu: Add vim-vlime. * gnu/packages/vim.scm (vim-vlime): New variable. --- gnu/packages/vim.scm | 56 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index d58b022123..6c464154db 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2021 Tissevert ;;; Copyright © 2021 Foo Chuan Wei ;;; Copyright © 2022, 2023 Luis Henrique Gomes Higino +;;; Copyright © 2023 Charles Jackson ;;; ;;; This file is part of GNU Guix. ;;; @@ -30,7 +31,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages vim) - #:use-module ((guix licenses) #:prefix license:) + #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix gexp) #:use-module (guix utils) @@ -60,6 +61,7 @@ (define-module (gnu packages vim) #:use-module (gnu packages jemalloc) #:use-module (gnu packages libevent) #:use-module (gnu packages linux) + #:use-module (gnu packages lisp-xyz) #:use-module (gnu packages lua) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) @@ -1113,6 +1115,58 @@ (define-public vim-slime to Lisp.") (license license:expat)))) +(define-public vim-vlime + ;; last tag is very outdated + (let ((commit "c1ac16c1a50bec4c30da87cd4ce2af12e26fb022") + (revision "1")) + (package + (name "vim-vlime") + (version (git-version "0.4.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vlime/vlime") + (commit commit))) + (sha256 + (base32 "1dfc1wyjsgkckrklkzvk4whaz3ahaka59rvm7rc724mabmk83pmp")) + (file-name (git-file-name name version)))) + (build-system copy-build-system) + (arguments + '(#:install-plan + '(("vim/autoload" "share/vim/vimfiles/") + ("vim/doc" "share/vim/vimfiles/") + ("vim/ftplugin" "share/vim/vimfiles/") + ("vim/syntax" "share/vim/vimfiles/") + ("vim/test" "share/vim/vimfiles/") + ;; This is so the Vimscript part of Vlime can find the lisp files + ("lisp" "share/vim/") + ;; This is so lisp can load Vlime without the Vim part + ("lisp" "share/common-lisp/source/vlime")) + #:phases + (modify-phases %standard-phases + ;; Create a symbolic link to the .asd file so that + ;; (asdf:load-system "vlime") finds the system. + (add-after 'install 'link-asd + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (mkdir-p (string-append out "/share/common-lisp/systems/")) + (symlink (string-append out "/share/common-lisp/source/vlime/vlime.asd") + (string-append out "/share/common-lisp/systems/vlime.asd")))))))) + (propagated-inputs + (list cl-alexandria + cl-slime-swank + cl-usocket + cl-vom + cl-yason)) + (home-page "https://github.com/vlime/vlime") + (synopsis "Common Lisp dev environment for Vim (and Neovim)") + (description "Vlime is similar to SLIME for Emacs and SLIMV for Vim. It +provides REPL integration, as well as omni-completions, cross reference +utilities, a nice inspector, debugger support, and many other great facilities +to aid you in your glorious Common Lisp hacking quest.") + (license license:expat)))) + (define-public vim-paredit ;; The last tagged version is from August 2013. (let ((commit "97d51d099523b37bb35cbcf3564cbfb46e66e4ec") base-commit: e365c26a34fa485f9af46538fcea128db681c33d -- 2.34.1