GNU bug report logs -
#61762
[PATCH 0/4] Fixing emacs-julia-snail.
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Fri, 24 Feb 2023 16:57:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61762 in the body.
You can then email your comments to 61762 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#61762
; Package
guix-patches
.
(Fri, 24 Feb 2023 16:57:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nicolas Graves <ngraves <at> ngraves.fr>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 24 Feb 2023 16:57:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Here are 4 patches I needed to use to be able to use emacs-julia-snail
properly.
--
Best regards,
Nicolas Graves
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61762
; Package
guix-patches
.
(Fri, 24 Feb 2023 17:00:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 61762 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/julia-xyz.scm (julia-tokenize): New variable.
---
gnu/packages/julia-xyz.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 82429c957d..ea2c9aa704 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -5928,6 +5928,26 @@ (define-public julia-testimages
package.")
(license license:expat)))
+(define-public julia-tokenize
+ (package
+ (name "julia-tokenize")
+ (version "0.5.24")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaLang/Tokenize.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1l3dy6nad0viavzy26lfnhzpd3gcxgaq7yvm7h1ja280xsh60p3i"))))
+ (build-system julia-build-system)
+ (home-page "https://github.com/JuliaGPU/Tokenize.jl")
+ (synopsis "Tokenize a string or buffer containing Julia code")
+ (description "This package allows to to take a string or buffer containing
+Julia code, perform lexical analysis and return a stream of tokens.")
+ (license license:expat)))
+
(define-public julia-tracker
(package
(name "julia-tracker")
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61762
; Package
guix-patches
.
(Fri, 24 Feb 2023 17:00:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 61762 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs-xyz.scm (emacs-julia-snail): Update include list.
---
gnu/packages/emacs-xyz.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4e40b22426..e4bf8e2102 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12282,7 +12282,9 @@ (define-public emacs-julia-snail
"04nh37izz04lxkvkxhsig8khbrrgdl4p6pkjsv5bxymnp84zwlw7"))))
(build-system emacs-build-system)
(arguments
- (list #:include #~(cons "^JuliaSnail\\.jl" %default-include)))
+ (list
+ #:include
+ #~(append (list "^JuliaSnail\\.jl" "extensions") %default-include)))
(inputs
(list emacs-dash emacs-s emacs-spinner emacs-xref))
(propagated-inputs
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61762
; Package
guix-patches
.
(Fri, 24 Feb 2023 17:00:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 61762 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/julia-xyz.scm (julia-cstparser): New variable.
---
gnu/packages/julia-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index ea2c9aa704..c5ecb21d80 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1252,6 +1252,40 @@ (define-public julia-crayons
styles available to terminals.")
(license license:expat)))
+(define-public julia-cstparser
+ (package
+ (name "julia-cstparser")
+ (version "3.3.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/julia-vscode/CSTParser.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "162jpcdph26ybg7rajbvfcbpnngygybpzk5bry4c4ppda3m1dl1i"))))
+ (build-system julia-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-or-ignore-tests
+ (lambda _
+ (substitute* "test/iterate.jl"
+ (("parser.jl")
+ (string-append #$output "/share/julia/loadpath/CSTParser/test/parser.jl"))
+ (("../src")
+ (string-append #$output "/share/julia/loadpath/CSTParser/src")))
+ (substitute* "test/check_base.jl"
+ (("testset.*" all)
+ (string-append all "return\n"))))))))
+ (inputs (list julia-tokenize))
+ (home-page "https://github.com/julia-vscode/CSTParser.jl")
+ (synopsis "Parser for Julia")
+ (description "This package provides a parser for Julia code.")
+ (license license:expat)))
+
(define-public julia-csv
(package
(name "julia-csv")
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61762
; Package
guix-patches
.
(Fri, 24 Feb 2023 17:00:04 GMT)
Full text and
rfc822 format available.
Message #17 received at 61762 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs-xyz.scm (emacs-julia-snail): Update propagated-inputs.
---
gnu/packages/emacs-xyz.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e4bf8e2102..94c6c7d7ea 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -180,6 +180,7 @@ (define-module (gnu packages emacs-xyz)
#:use-module (gnu packages haskell-apps)
#:use-module (gnu packages ibus)
#:use-module (gnu packages java)
+ #:use-module (gnu packages julia-xyz)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages python)
@@ -12291,7 +12292,9 @@ (define-public emacs-julia-snail
(list libvterm
emacs-julia-mode ;required by parser
emacs-parsec ;required by parser
- emacs-vterm))
+ emacs-vterm
+ julia-tokenize
+ julia-cstparser))
(home-page "https://github.com/gcv/julia-snail")
(synopsis "Development environment and REPL interaction package for Julia")
(description "This package provides a development environment and REPL
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61762
; Package
guix-patches
.
(Wed, 15 Mar 2023 23:28:02 GMT)
Full text and
rfc822 format available.
Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org> writes:
> * gnu/packages/emacs-xyz.scm (emacs-julia-snail): Update include list.
Applied. Thank you.
> (arguments
> - (list #:include #~(cons "^JuliaSnail\\.jl" %default-include)))
> + (list
> + #:include
> + #~(append (list "^JuliaSnail\\.jl" "extensions")
> %default-include)))
I used cons* here.
Regards,
--
Nicolas Goaziou
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Wed, 15 Mar 2023 23:28:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Nicolas Graves <ngraves <at> ngraves.fr>
:
bug acknowledged by developer.
(Wed, 15 Mar 2023 23:28:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 13 Apr 2023 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 30 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.