use-package icon indicating copy to clipboard operation
use-package copied to clipboard

compile error on use-package-pkg.el

Open pdagosto opened this issue 4 years ago • 6 comments

OS: CentOS7 emacs version: 24.3.1

Error Message

define-package: Invalid function: ("John Wiegley" . "[email protected]")

Contents of use-package-pkg.el

(define-package "use-package" "20201110.2133" "A configuration macro for simplifying your .emacs"
  '((emacs "24.3")
    (bind-key "2.4"))
  :commit "caa92f1d64fc25480551757d854b4b49981dfa6b" :authors
  (("John Wiegley" . "[email protected]"))
  :maintainer
  ("John Wiegley" . "[email protected]")
  :keywords
  ("dotemacs" "startup" "speed" "config" "package")
  :url "https://github.com/jwiegley/use-package")
;; Local Variables:                                                                                                                                                                           
;; no-byte-compile: t                                                                                                                                                                         
;; End:   

pdagosto avatar Dec 28 '20 16:12 pdagosto

Why do you compile *-pkg.el file when ;; no-byte-compile: t is specified?

conao3 avatar Dec 29 '20 15:12 conao3

All I did was ask the emacs package installer to install the package. The compilation was performed automatically by emacs.

pdagosto avatar Dec 29 '20 18:12 pdagosto

Please tell me(us) the step to reproduce?

conao3 avatar Dec 30 '20 02:12 conao3

Also, backtrace is very useful for this kind of bug report.

conao3 avatar Dec 30 '20 02:12 conao3

I already told you the step - install the package with the package manager. That's all I did.

pdagosto avatar Dec 30 '20 14:12 pdagosto

Emacs 24.3 is almost 8 years old. I don't know what's causing this problem, but few packages maintain compatibility going back 8 years, and few maintainers would be interested in spending the time to investigate software that old. It's just not a good use of their time. So you should probably upgrade Emacs. It's not hard to do.

alphapapa avatar Dec 31 '20 01:12 alphapapa

So we recommend upgrading to Emacs 25.1, and I'm closing this as wontfix. Thanks.

skangas avatar Nov 13 '22 19:11 skangas