hinrik / perl6-mode

Emacs major mode for Perl 6
GNU General Public License v3.0
36 stars 4 forks source link

Apparently use-package needs 24.4 #15

Closed JJ closed 7 years ago

JJ commented 8 years ago

Is there any other way to use this without use-package?

hinrik commented 8 years ago

The README mentions how to install it manually from MELPA. But I haven't tested perl6-mode with anything older than 24.4, so I can't guarantee it'll work.

JJ commented 8 years ago

But can whatever is done via use-pckage be done in some other way? As far as I see it, perl6-mode does not have a problem, it is that single configuration line what seems to need it a specific emacs version.

JJ commented 8 years ago

Can you give a hint on how to use it without use-package so that I can test it myself?

hinrik commented 8 years ago

If you have installed it (e.g. with M-x package-install RET perl6-mode), then perl6-mode should be automatically activated on most Perl 6 source files. You can also manually turn it on with M-x perl6-mode RET.

JJ commented 8 years ago

Apparently I can't even install it if it's not from emacs 24.4, it issues an error if I do what you just said. Is it using some specific feature of that version?

hinrik commented 8 years ago

Is it using some specific feature of that version?

Could be, I don't remember exactly. And I don't have an older emacs to test on. You could clone the repository and change your load-path (https://www.emacswiki.org/emacs/LoadPath) to load it directly from there and see whether it works.

JJ commented 8 years ago

Will try that. Thanks for the feedback.

hadenpike commented 7 years ago

Does this still depend on use-package? I cloned perl6-mode from Github and adjusted my configuration appropriately. It works just fine.

hinrik commented 7 years ago

It never depended on use-package. That's just one of the installation examples provided in the README.

hadenpike commented 7 years ago

The readme states, "this package requires GNU Emacs 24.4." use-package was the only dependency I could find. It runs fine in my Emacs 25.1. Am I missing something?

npostavs commented 7 years ago

@hadenpike In the Emacs world "requires Foo x.y" usually means "x.y or later".

JJ commented 7 years ago

I will simply close this. I am now running it in 25.1 without a problem.