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!

  • skami
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    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.

    • 🅱🅴🅿🅿🅸OP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      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
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        No problem, I definitely made that mistake multiple times before

        • 🅱🅴🅿🅿🅸OP
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

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