all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Bundling GNU ELPA packages with Emacs - what are we missing?
Date: Fri, 11 Sep 2020 11:07:15 +0100	[thread overview]
Message-ID: <86tuw4y6cs.fsf@gmail.com> (raw)
In-Reply-To: jwvpn6tf60c.fsf-monnier+emacs@gnu.org

On Thu 10 Sep 2020, Stefan Monnier wrote:

>> The term "activate" is used many times wrt packages, but is not
>> defined anywhere. How are users meant to understand what it means ?
>
> It means to add its files to the `load-path` and run the code indicated
> by the autoload cookies (i.e. mostly setup some autoloads, potentially
> add itself to some menu, or things like that).
>
> Usually, for major modes it's the only thing necessary for the
> major mode to be automatically used on the appropriate files.
>
> Package.el does it in `package-activate-all` (also called by
> `package-initialize`, tho it depends on some details, for historical
> reasons).

A clear explanation - thanks. The problem however is that this term is
not defined in package.el or in the manual. The doc string for
`package-activate' does not describe what activate means in this
context, leaving readers none the wiser.

Please add this description to package.el and to the manual.

    AndyM




      reply	other threads:[~2020-09-11 10:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-08 21:53 Bundling GNU ELPA packages with Emacs - what are we missing? Stefan Kangas
2020-09-09  8:59 ` Michael Albinus
2020-09-10 19:49   ` Stephen Leake
2020-09-10 20:52     ` Stefan Monnier
2020-09-10 23:09       ` Andy Moreton
2020-09-11  1:41         ` Stefan Monnier
2020-09-11 10:07           ` Andy Moreton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86tuw4y6cs.fsf@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.