flycheck / flycheck-eglot

Flycheck support for eglot
GNU General Public License v3.0
36 stars 4 forks source link

Not installable in Emacs 29 #2

Closed haplo closed 11 months ago

haplo commented 11 months ago

I'm running Emacs 29.1 and I don't see the package as available to install. package-install shows every other package in MELPA but not flycheck-eglot.

package-archives is:

(("gnu" . "https://elpa.gnu.org/packages/")
 ("nongnu" . "https://elpa.nongnu.org/nongnu/")
 ("melpa-stable" . "https://stable.melpa.org/packages/"))

Is this because of the requirement definition? Should it be expanded to >=28.1?

https://github.com/intramurz/flycheck-eglot/blob/9ff8d0068be59b1450964b390349d75a68af21ed/flycheck-eglot.el#L8

Thank you for flycheck-eglot and your support!

intramurz commented 11 months ago

This package is not in the stable MELPA. Maybe this is the point? Try adding ("melpa" . "https://melpa.org/packages/") to package-archives, maybe it will help. Keep in mind that by default melpa will take precedence over melpa-stable.

Thank you for your interest in flycheck-eglot. Good luck.

haplo commented 11 months ago

This package is not in the stable MELPA. Maybe this is the point? Try adding ("melpa" . "https://melpa.org/packages/") to package-archives, maybe it will help. Keep in mind that by default melpa will take precedence over melpa-stable.

Thank you for your interest in flycheck-eglot. Good luck.

Ah, I just assumed that it would be on MELPA stable, sorry for not checking regular MELPA.

I set it up so only flycheck-eglot would be installed from MELPA, while other packages will favor MELPA stable by setting (setq use-package-always-pin "melpa-stable") (see this SO answer), and it worked like a charm. For anyone interested here is the commit in my configuration.

Thank you again!