clojure-europe

For people in Europe... or elsewhere... UGT https://indieweb.org/Universal_Greeting_Time
dharrigan 2021-06-24T06:13:01.184200Z

Good Morning! Hope everyone is doing grand!

RAMart 2021-06-24T06:15:12.184700Z

RAMart 2021-06-24T06:15:16.184900Z

Next :clojureD 2021 talk now online: https://www.youtube.com/watch?v=A0TafHXszgM

🔥 3
mccraigmccraig 2021-06-24T06:28:18.185200Z

maaning

simongray 2021-06-24T06:42:59.185400Z

morning

simongray 2021-06-24T06:54:33.186600Z

Meeting up with all of my actual colleagues for an actual social get-together tomorrow. Kinda weird after all of this time!

👯 1
💇 1
pez 2021-06-24T06:58:43.186800Z

Morning!

borkdude 2021-06-24T07:18:54.187100Z

Hell-o

jkxyz 2021-06-24T08:25:25.187500Z

Morning!

thomas 2021-06-24T09:03:08.188500Z

Morning

2021-06-24T09:22:27.189900Z

Morning

jasonbell 2021-06-24T09:54:17.190100Z

Morning

fel-mazo 2021-06-24T10:32:55.190400Z

Morning !

val_waeselynck 2021-06-24T13:31:17.191100Z

Morning!

raymcdermott 2021-06-24T14:16:36.191500Z

morning

agigao 2021-06-24T15:09:55.193300Z

Hey folks, I’m having and interesting issue - can’t load env. variables into the repl started in Emacs, on the other hand Clojure repl started in terminal loads all variables. Any ideas? Mac OS Emacs 27.2 ZSH

agigao 2021-06-26T07:59:27.218800Z

Yeah and also if I provide a var alias in exec-path-from-shell-copy-env then Emacs GUI loads the variable, but the project has dozens of such vars, and I wonder why the library doesn’t automatically load login shell env-vars.

djm 2021-06-26T08:04:04.219400Z

Presumably macOS doesn't make those available to applications. Doesn't exec-path-from-shell start a shell process to get them?

djm 2021-06-26T08:07:50.219600Z

If I had a lot of variables, specific to one project, I would put exports for them in .envrc in the project directory, run direnv allow in there in a shell, then use envrc

agigao 2021-06-26T08:11:35.219800Z

Surprisingly enough I encountered the same issue in Emacs GUI in Manjaro Linux machine :thinking_face: I thought MacOS/M1 was to blame

agigao 2021-06-26T08:12:28.220Z

Yeah, me too, but that’s how the client has it done across all projects.

agigao 2021-06-26T08:13:08.220200Z

Regarding shell process - not sure, is there a way to check?

djm 2021-06-26T08:14:38.220500Z

On Linux, I think it depends on where you set them. Possibly /.profile is sourced when Xorg starts, but not /.bashrc (or the latter might exit early when not being used in an interactive shell).

djm 2021-06-26T08:14:55.220700Z

Use the source, Luke 😁

agigao 2021-06-28T08:23:32.297100Z

@djm_uk Thanks! it turns out zsh keeps env variables in .zshenv and Emacs GUI managed to eventually source those vars.

👍 1
1
2021-06-28T08:25:32.297700Z

@chokheli how did you fix it in the end?

agigao 2021-06-28T08:26:18.297900Z

@otfrom added vars to .zshenv

2021-06-28T08:26:54.298100Z

🆒

2021-06-28T08:26:55.298300Z

thx

agigao 2021-06-30T05:21:58.432600Z

Cheers!

javahippie 2021-06-24T15:15:35.193500Z

Is Emacs started from the Shell or as a standalone application?

djm 2021-06-24T15:17:11.194Z

I just have (setenv "FOO" "bar") in my emacs config on macOS. I think there is another way to do it on macOS, but I forget what it is

agigao 2021-06-24T15:18:04.194600Z

@javahippie Standalone app

2021-06-24T15:18:39.194800Z

This might help https://github.com/purcell/exec-path-from-shell

djm 2021-06-24T15:19:38.195100Z

This plus direnv also seems to work for the case when I use that https://github.com/purcell/envrc

djm 2021-06-24T15:20:39.195500Z

(use-package envrc
 :config
 (envrc-global-mode))
or whatever

agigao 2021-06-24T20:14:45.195800Z

Couldn’t solve the issue 🤷 tried all packages and configurations. Trying terminal-based emacs.