tmalsburg / guess-language.el

Emacs minor mode that detects the language you're typing in. Automatically switches spell checker. Supports multiple languages per document.
115 stars 14 forks source link

"advice" dependency not found #22

Closed wedens closed 5 years ago

wedens commented 5 years ago

After some recent changes (d2a13303027e32ca33d05253f6d287c8c21ddd5f) guess-language depends on advice 0.1 package which is not on melpa, and consequently guess-language fails to build.

tmalsburg commented 5 years ago

advice.el is part of Emacs. I would have thought that MELPA understands this. I also don't experience this problem on my system. Could you please give me the precise error message?

TimSoethout commented 5 years ago

Same issue here:

Found 1 new package(s) to install...
--> refreshing package archive: gnu... [3/3]
--> installing package: guess-language@dotfile... [1/1]
Package advice is unavailable. Is the package name misspelled?

An error occurred while installing guess-language (error: (error Package ‘advice-0.1’ is unavailable))

Error in dotspacemacs/user-config: Cannot open load file: No such file or directory, guess-language

I am using spacemacs, using Emacs Version 26.1 (9.0) on OSX

tmalsburg commented 5 years ago

What code is producing these messages? Is this plain package.el or some configuration system (e.g., spacemacs). I can of course remove the dependency but I think there's nothing wrong with it and the problem lies elsewhere.

TimSoethout commented 5 years ago

I used dotspacemacs-additional-packages '(guess-language) and

  (setq guess-language-languages '(en nl))
  (setq guess-language-min-paragraph-length 35)

in dotspacemacs/user-config.

For now I commented all of this, and am not using guess-language.

tmalsburg commented 5 years ago

Hm. I removed the dependency for now as a stopgap solution. It was suggested by an Emacs core developer but I don't fully understand this business.