this post was submitted on 05 Jul 2023
1 points (100.0% liked)

Emacs

2218 readers
1 users here now

Our infinitely powerful editor.

founded 4 years ago
MODERATORS
 

Hey guys, can provide more info later but not at my comp right now.

OS: pop-os latest emacs: 28.2

Ive been having to start emacs from the command line to get it to work nicely, whereas if i start it from the applications menu it simply wont allow dart-lsp to work (among a few other things).

Ill update this later with more info, but in case this is something obvious I'm missing i wanted to ask ASAP!

Thanks guys!

you are viewing a single comment's thread
view the rest of the comments
[–] skami 2 points 1 year ago (3 children)

Only guessing here, it might be related to the fact that your shell init file is loaded in the terminal. So env vars such as PATH might be different if starting from your shell or your app launcher.

[–] beppi 2 points 1 year ago (1 children)

Oh yes.. i think that might be right. Im using zsh, with a zshrc file, and its almost certain that running emacs from applications is using bash... I knew it would be something dumb. Thanks!!!

[–] skami 2 points 1 year ago (1 children)

No problem, I definitely made that mistake multiple times before

[–] beppi 2 points 1 year ago

For completion, i used the exec-path-from-shell package from MELPA, magically solved all my problems

load more comments (1 replies)