unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* install old version of ELPA package
@ 2022-06-01 16:29 Stephen Leake
  2022-06-01 20:13 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Leake @ 2022-06-01 16:29 UTC (permalink / raw)
  To: emacs-devel

I have an ada-mode user with an old Ada compiler, so I'm trying to tell
xer how to install an old version of ada-mode that is compatible.

Xi can download an old tarball from
https://elpa.gnu.org/packages/ada-mode.html, but package.el doesn't
provide a function to install from that. Is there some simple
combination of functions that will work?
-- 
-- Stephe



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

* Re: install old version of ELPA package
  2022-06-01 16:29 install old version of ELPA package Stephen Leake
@ 2022-06-01 20:13 ` Stefan Monnier
  2022-06-02  0:50   ` Stephen Leake
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2022-06-01 20:13 UTC (permalink / raw)
  To: Stephen Leake; +Cc: emacs-devel

> I have an ada-mode user with an old Ada compiler, so I'm trying to tell
> xer how to install an old version of ada-mode that is compatible.
>
> Xi can download an old tarball from
> https://elpa.gnu.org/packages/ada-mode.html, but package.el doesn't
> provide a function to install from that. Is there some simple
> combination of functions that will work?

There's `package-install-file` and `package-install-from-buffer`, both
of which should do the trick (barring bugs: they're not often tested).


        Stefan




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

* Re: install old version of ELPA package
  2022-06-01 20:13 ` Stefan Monnier
@ 2022-06-02  0:50   ` Stephen Leake
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Leake @ 2022-06-02  0:50 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> I have an ada-mode user with an old Ada compiler, so I'm trying to tell
>> xer how to install an old version of ada-mode that is compatible.
>>
>> Xi can download an old tarball from
>> https://elpa.gnu.org/packages/ada-mode.html, but package.el doesn't
>> provide a function to install from that. Is there some simple
>> combination of functions that will work?
>
> There's `package-install-file` 

Thanks.

I don't know how I missed that. Sigh.

-- 
-- Stephe



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

end of thread, other threads:[~2022-06-02  0:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-01 16:29 install old version of ELPA package Stephen Leake
2022-06-01 20:13 ` Stefan Monnier
2022-06-02  0:50   ` Stephen Leake

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