unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* bundled ELPA package vs autoloads
@ 2014-11-06 19:53 Stephen Leake
  2014-11-06 19:58 ` Achim Gratz
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Leake @ 2014-11-06 19:53 UTC (permalink / raw)
  To: emacs-devel

Currently, we have ada-mode 4.01 in the installed emacs, and 5.1.6 in
ELPA.

One user just noticed that the autoloads for 4.01 are still present when
the ELPA package is installed. This is not a huge problem, but it does
confuse things when upgrading; old keybindings appear to work, but
should be changed, etc.

This will also be a problem for future bundled ELPA packages, when a new
version is installed from ELPA.

I'm not clear what the right solution is for ada-mode 4.01 now; perhaps
just living with it.

For future bundled ELPA packages, some way to _not_ load the autoloads
for the bundled packages if a newer version is installed should be
provided.

-- 
-- Stephe



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

* Re: bundled ELPA package vs autoloads
  2014-11-06 19:53 bundled ELPA package vs autoloads Stephen Leake
@ 2014-11-06 19:58 ` Achim Gratz
  0 siblings, 0 replies; 2+ messages in thread
From: Achim Gratz @ 2014-11-06 19:58 UTC (permalink / raw)
  To: emacs-devel

Stephen Leake writes:
> One user just noticed that the autoloads for 4.01 are still present when
> the ELPA package is installed. This is not a huge problem, but it does
> confuse things when upgrading; old keybindings appear to work, but
> should be changed, etc.

That's the same problem that haunts Org in the same situation as was
discussed previously.

> This will also be a problem for future bundled ELPA packages, when a new
> version is installed from ELPA.

No, in that case the older package should never be activated.

> I'm not clear what the right solution is for ada-mode 4.01 now; perhaps
> just living with it.
>
> For future bundled ELPA packages, some way to _not_ load the autoloads
> for the bundled packages if a newer version is installed should be
> provided.

Certainly.  And that's the reason why bundled packages should not simply
be treated as "sources that get pulled into the tarball from another
repo", IMHO.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables




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

end of thread, other threads:[~2014-11-06 19:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-06 19:53 bundled ELPA package vs autoloads Stephen Leake
2014-11-06 19:58 ` Achim Gratz

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