unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* ELPA and older emacs package updates
@ 2018-11-26  9:24 Jakob Viketoft
  2018-11-26 14:09 ` Dmitry Gutov
  2018-11-26 14:15 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: Jakob Viketoft @ 2018-11-26  9:24 UTC (permalink / raw)
  To: emacs-devel

Hello,

Just found out about ELPA and I think it's great. However, would it be possible to also add packages to ELPA that's introduced in later Emacs versions? E.g. I'm currently on my distribution-packaged version of Emacs 25, but would really like to use the mhtml-mode introduced in Emacs 26. Wouldn't it make sense to add these type of packages in ELPA as well for all the older Emacs versions out there?

Best regards,

       /Jakob



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ELPA and older emacs package updates
  2018-11-26  9:24 ELPA and older emacs package updates Jakob Viketoft
@ 2018-11-26 14:09 ` Dmitry Gutov
  2018-11-26 14:15 ` Stefan Monnier
  1 sibling, 0 replies; 4+ messages in thread
From: Dmitry Gutov @ 2018-11-26 14:09 UTC (permalink / raw)
  To: Jakob Viketoft, emacs-devel

Hi!

On 26.11.2018 11:24, Jakob Viketoft wrote:

> Just found out about ELPA and I think it's great. However, would it be possible to also add packages to ELPA that's introduced in later Emacs versions? E.g. I'm currently on my distribution-packaged version of Emacs 25, but would really like to use the mhtml-mode introduced in Emacs 26. Wouldn't it make sense to add these type of packages in ELPA as well for all the older Emacs versions out there?

Sometimes we can do that, but IIRC mhtml-mode depends on the newer 
versions of several built-in packages, so it's a more difficult case.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ELPA and older emacs package updates
  2018-11-26  9:24 ELPA and older emacs package updates Jakob Viketoft
  2018-11-26 14:09 ` Dmitry Gutov
@ 2018-11-26 14:15 ` Stefan Monnier
  2018-11-26 14:31   ` Dmitry Gutov
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2018-11-26 14:15 UTC (permalink / raw)
  To: emacs-devel

> Just found out about ELPA and I think it's great. However, would it be
> possible to also add packages to ELPA that's introduced in later Emacs
> versions?

We do do that for some packages, yes.

> E.g. I'm currently on my distribution-packaged version of Emacs 25,
> but would really like to use the mhtml-mode introduced in Emacs 26.
> Wouldn't it make sense to add these type of packages in ELPA as well
> for all the older Emacs versions out there?

I'd be happy to make such a package, but I have the impression that
mhtml-mode.el won't work as-is in Emacs-25 because it relies on changes to
html-mode, css-mode, ...

Maybe we can make it work by exporting some of Emacs's builtin packages
(like css-mode.el and html-mode.el) to GNU ELPA and then to export
mhtml-mode.el as well, with dependencies on those newer versions.

Could you try it on your Emacs-25?  I.e. take Emacs-26's mhtml-mode.el
see if it works, if it doesn't see if copying Emacs-26's css-mode.el or
html-mode.el (or other) improves things...

Once you found a set of files that do work, we can see about making
the corresponding packages.


        Stefan




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ELPA and older emacs package updates
  2018-11-26 14:15 ` Stefan Monnier
@ 2018-11-26 14:31   ` Dmitry Gutov
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Gutov @ 2018-11-26 14:31 UTC (permalink / raw)
  To: Stefan Monnier, emacs-devel

On 26.11.2018 16:15, Stefan Monnier wrote:

> I'd be happy to make such a package, but I have the impression that
> mhtml-mode.el won't work as-is in Emacs-25 because it relies on changes to
> html-mode, css-mode, ...

prog-mode.el too.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-26 14:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-26  9:24 ELPA and older emacs package updates Jakob Viketoft
2018-11-26 14:09 ` Dmitry Gutov
2018-11-26 14:15 ` Stefan Monnier
2018-11-26 14:31   ` Dmitry Gutov

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).