* Easier way to port packages to older Emacsen
@ 2017-10-22 6:28 Radon Rosborough
2017-10-22 9:06 ` João Távora
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Radon Rosborough @ 2017-10-22 6:28 UTC (permalink / raw)
To: emacs-devel
I maintain some Emacs packages that work on Emacs 25. It's been
requested that I adjust them so that they will also work on Emacs 24.
One way to do this is to install Emacs 24, try to use the packages,
and see what errors I get.
Is there a better way than this? For example, some package that scans
my code and checks if I use any variables or functions that were only
added in recent versions of Emacs.
Thanks,
Radon Rosborough
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Easier way to port packages to older Emacsen
2017-10-22 6:28 Easier way to port packages to older Emacsen Radon Rosborough
@ 2017-10-22 9:06 ` João Távora
2017-10-22 9:31 ` Phillip Lord
2017-10-22 17:33 ` Basil L. Contovounesios
2 siblings, 0 replies; 4+ messages in thread
From: João Távora @ 2017-10-22 9:06 UTC (permalink / raw)
To: Radon Rosborough; +Cc: emacs-devel
Radon Rosborough <radon.neon@gmail.com> writes:
> Is there a better way than this? For example, some package that scans
> my code and checks if I use any variables or functions that were only
> added in recent versions of Emacs.
How about emacs-24's byte compiler?
João
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Easier way to port packages to older Emacsen
2017-10-22 6:28 Easier way to port packages to older Emacsen Radon Rosborough
2017-10-22 9:06 ` João Távora
@ 2017-10-22 9:31 ` Phillip Lord
2017-10-22 17:33 ` Basil L. Contovounesios
2 siblings, 0 replies; 4+ messages in thread
From: Phillip Lord @ 2017-10-22 9:31 UTC (permalink / raw)
To: Radon Rosborough; +Cc: emacs-devel
Well, I use EVM and Cask to test the packages on old versions. Strictly
this is still "install them and use them", but it's easier than doing it
manually.
Phil
On Sun, October 22, 2017 6:28 am, Radon Rosborough wrote:
> I maintain some Emacs packages that work on Emacs 25. It's been
> requested that I adjust them so that they will also work on Emacs 24. One
> way to do this is to install Emacs 24, try to use the packages, and see
> what errors I get.
>
> Is there a better way than this? For example, some package that scans
> my code and checks if I use any variables or functions that were only added
> in recent versions of Emacs.
>
> Thanks,
> Radon Rosborough
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Easier way to port packages to older Emacsen
2017-10-22 6:28 Easier way to port packages to older Emacsen Radon Rosborough
2017-10-22 9:06 ` João Távora
2017-10-22 9:31 ` Phillip Lord
@ 2017-10-22 17:33 ` Basil L. Contovounesios
2 siblings, 0 replies; 4+ messages in thread
From: Basil L. Contovounesios @ 2017-10-22 17:33 UTC (permalink / raw)
To: emacs-devel
On Sat, Oct 21 2017, at 23:28, Radon Rosborough <radon.neon@gmail.com> wrote:
> Is there [...] some package that scans my code and checks
> if I use any variables or functions that were only added
> in recent versions of Emacs
FWIW, I saw a comment[1] on the use-package project page
which makes it look like the package-lint[2] package may be
helpful. I have not used it, so I cannot comment any
further.
Footnotes:
[1] https://github.com/jwiegley/use-package/issues/457#issuecomment-304185824
[2] https://github.com/purcell/package-lint
HTH,
--
Basil
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-10-22 17:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-22 6:28 Easier way to port packages to older Emacsen Radon Rosborough
2017-10-22 9:06 ` João Távora
2017-10-22 9:31 ` Phillip Lord
2017-10-22 17:33 ` Basil L. Contovounesios
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).