This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-28
Channels
- # announcements (92)
- # aws (7)
- # babashka (13)
- # beginners (42)
- # clj-kondo (9)
- # cljdoc (25)
- # clojure (156)
- # clojure-europe (19)
- # clojure-italy (3)
- # clojure-nl (3)
- # clojure-sg (1)
- # clojure-spec (3)
- # clojure-uk (6)
- # clojurescript (21)
- # copenhagen-clojurians (1)
- # cryogen (3)
- # cursive (9)
- # datahike (3)
- # datomic (5)
- # emacs (8)
- # graphql (4)
- # introduce-yourself (3)
- # jobs (2)
- # malli (1)
- # meander (8)
- # nrepl (3)
- # off-topic (8)
- # om-next (2)
- # pathom (11)
- # rdf (5)
- # reagent (59)
- # remote-jobs (4)
- # shadow-cljs (8)
- # tools-build (23)
- # vim (16)
Does someone has any idea what is happening with projectile, I try to use projectile-find-file
but then I get this (caught this with debugger on)
Debugger entered--Lisp error: (file-missing "Setting current directory" "No such file or directory" "/Users/janne.sauvala/Dev/mz-dse/\33]4;0;rgb:28/28/28...")
call-process-shell-command("git submodule --quiet foreach 'echo $displaypath' ..." nil (t "/var/folders/bt/6tw4mxlj39b0184334ghrf980000gp/T/s..."))
shell-command("git submodule --quiet foreach 'echo $displaypath' ..." t "*projectile-files-errors*")
projectile-files-via-ext-command("/Users/janne.sauvala/Dev/mz-dse/\33]4;0;rgb:28/28/28..." "git submodule --quiet foreach 'echo $displaypath' ...")
projectile-get-immediate-sub-projects("/Users/janne.sauvala/Dev/mz-dse/\33]4;0;rgb:28/28/28...")
projectile-get-all-sub-projects("/Users/janne.sauvala/Dev/mz-dse/\33]4;0;rgb:28/28/28...")
#f(compiled-function (s) #<bytecode -0x14160e27c49d5a72>)("/Users/janne.sauvala/Dev/mz-dse/\33]4;0;rgb:28/28/28...")
mapcar(#f(compiled-function (s) #<bytecode -0x14160e27c49d5a72>) ("/Users/janne.sauvala/Dev/mz-dse/\33]4;0;rgb:28/28/28..."))
projectile-get-all-sub-projects("/Users/janne.sauvala/Dev/mz-dse/")
projectile-get-sub-projects-files("/Users/janne.sauvala/Dev/mz-dse/" git)
projectile-dir-files-alien("/Users/janne.sauvala/Dev/mz-dse/")
projectile-project-files("/Users/janne.sauvala/Dev/mz-dse/")
projectile--find-file(nil)
projectile-find-file(nil)
funcall-interactively(projectile-find-file nil)
command-execute(projectile-find-file)
I wonder what is causing that \33]4;0;rgb:28/28/28
to appear to the pathI did check projectile issues but didn’t see any obvious duplicates. I’m asking here before opening a new issue.
That looks like a terminal escape sequence - this is a wild guess, but perhaps your shell init file is always injected and prints something to the output? Depending on the tool used for find-file you might get some colors printed, when it shouldn't be
Good point, let me investigate that…
My shell init file calls a plugin to set a theme for the shell and it causes those to be printed. Thanks for the hint!
I have something like this in my bashrc: https://github.com/lukaszkorecki/command-center/blob/master/etc/bashrc#L7-L12 - so you can keep old behavior for interactive sessions only
Luckily that did the trick. I had to also disable also starship prompt since it was spamming “not supported” message in Emacs shell
if [ "$TERM" != "dumb" ]
base16-gruvbox-dark-medium
starship init fish | source
end