fsharp / emacs-fsharp-mode

F# Emacs mode
Apache License 2.0
206 stars 62 forks source link

No such file or directory, eglot #265

Closed jcs090218 closed 3 years ago

jcs090218 commented 3 years ago

I am getting the error this message while installing.

eglot-fsharp.el:30:1:Error: Cannot open load file: No such file or directory, eglot

I think we are still downloading the file eglot-fsharp.el even we have splitted up the package?

juergenhoetzel commented 3 years ago

I am getting the error this message while installing.

eglot-fsharp.el:30:1:Error: Cannot open load file: No such file or directory, eglot

I think we are still downloading the file eglot-fsharp.el even we have splitted up the package?

Would you mind to check/update to the latest fsharp-mode from melpa:

fsharp-mode-20210126.454

I could not reproduces this on a fresh Emacs installation using (use-package fsharp-mode :ensure t)

jcs090218 commented 3 years ago

Would you mind to check/update to the latest fsharp-mode from melpa:

I did it again and the error stills appear? I am not sure but I think we need to exclude the file eglot-fsharp.el while installing fsharp-mode? It's weird that we have already splitted up the package but the file eglot-fsharp.el still get included.

juergenhoetzel commented 3 years ago

fsharp-mode? It's weird that we have already splitted up the package but the file eglot-fsharp.el still get included.

Indeed the melpa recipe needs to exclude this file. I'm preparing a PR.

juergenhoetzel commented 3 years ago

@juergenhoetzel juergenhoetzel mentioned this issue yesterday Exclude eglot-fsharp (multiple packages repository) melpa/melpa#7389

melpa recipe is updated. But it seems we need a commit in this repo to trigger a melpa-update.

I still can't understand why the eglot-fsharp.el is loaded automatically for you. Would you mind pasting a backtrace?

jcs090218 commented 3 years ago

Ah.. It's gone now! :)

Thanks for fixing this! The only waning I have left is.

fsharp-mode.el:34:1:Warning: Package cl is deprecated

Close this now!