This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-17
Channels
- # announcements (2)
- # asami (3)
- # babashka (30)
- # beginners (23)
- # calva (28)
- # cider (3)
- # clj-kondo (16)
- # clj-on-windows (7)
- # cljs-dev (7)
- # clojure (47)
- # clojure-austin (3)
- # clojure-europe (25)
- # clojure-gamedev (3)
- # clojure-greece (1)
- # clojure-nl (1)
- # clojure-uk (3)
- # clojurescript (54)
- # community-development (24)
- # conjure (16)
- # duct (1)
- # emacs (8)
- # events (1)
- # figwheel-main (4)
- # fulcro (13)
- # gratitude (20)
- # helix (3)
- # honeysql (8)
- # hyperfiddle (12)
- # introduce-yourself (1)
- # jobs (6)
- # lambdaisland (1)
- # lsp (35)
- # malli (1)
- # meander (27)
- # minecraft (11)
- # off-topic (12)
- # pathom (1)
- # portal (11)
- # releases (1)
- # remote-jobs (1)
- # ring (11)
- # sci (1)
- # shadow-cljs (53)
- # specter (5)
- # xtdb (20)
Did anything change in the recent scoop clojure shims? I hadn't updated in awhile and now I just updated to the latest and am getting errors. Can't figure out where on the stack this is though. I have an elisp config var set as
'(inf-clojure-custom-startup
"cmd-clojure -Sdeps '{:mvn/local-repo \"\"/r\"\"}' -Sforce -Sverbose -M:dev:windows")
yet somewhere along the line the quotes are being removed because when I go to start a repl I get
Error while parsing option \"--config-data {:mvn/local-repo /r }\": java.lang.RuntimeException: Invalid token: /r\n"
Calling this from powershell works for me:
clojure -Sdeps '{:mvn/local-repo ""/r""}' -Sforce -Sverbose -M:dev:windows
But when I add the cmd-
prefix to clojure I get
The string is missing the terminator: ".
Also this:
cmd-clojure -Sdeps '{:mvn/local-repo \"\"/r\"\"}' -Sforce -Sverbose -M:dev:windows
# crashes with:
Unknown option: "-i"
Unknown option: "-n"
Unknown option: "-p"
Unknown option: "-u"
Unknown option: "-t"
Unknown option: "-F"
Unknown option: "-o"
Unknown option: "-r"
Unknown option: "-m"
Unknown option: "-a"
Unknown option: "-t"
Unknown option: "-o"
Unknown option: "-u"
Unknown option: "-t"
Unknown option: "-p"
Unknown option: "-u"
Unknown option: "-t"
Unknown option: "-F"
Unknown option: "-o"
Unknown option: "-r"
Unknown option: "-m"
Unknown option: "-a"
Unknown option: "-t"
Update: I realized this was a problem with the latest inf-clojure
update:
https://github.com/clojure-emacs/inf-clojure/pull/198#issuecomment-1130121102
@jjttjj How quoting works, heavily depends on which shell you are calling this from. Is this cmd.exe or powershell?
It's what inf-clojure
in emacs to start the process, I had always assumed that was the same as powershell can't immediately track that down though
that's just to counter this other windows issue 😔 https://github.com/littleli/scoop-clojure/wiki/Notes-on-java-Command-Line-Argument-Files#example-of-a-backslash-character-escaped-with-another-backslash-character-in-an-argument-file
Update: I realized this was a problem with the latest inf-clojure
update:
https://github.com/clojure-emacs/inf-clojure/pull/198#issuecomment-1130121102