Nikolay Pavlov wrote:
> 2016-02-22 5:08 GMT+03:00 Manuel Ortega <
manny...@gmail.com>:
> > I know that loadplugins in an option while loadplugin is a command, but
> > surely there is a better name for the new command. This is just
> > gratuitously confusing.
> >
> > What's wrong with "loadpack" or something like that?
>
> I would say that `:loadpack` name cannot be used because “pack” is a
> shorthand for “package” and “package” is defined as something that may
> contain more then one plugin. Problem is that in `:h plugin` by
> “plugin” means “file placed into {runtimepath}/[ft]plugin” while
> modern plugins tend to have far more then one file, with most
> functionality in autoload. Most people though use “plugin”, “addon”
> and “extension” as a synonims (when Vim plugin/addon/extension is
> meant, other applications may have different terminology) meaning “a
> connected set of files with single purpose, distributed as a whole”.
>
> Thus `:loadplugin` is not the best name, but it matches some
> expectations while `:loadpack` does not fit at all.
Right, the name is not ideal, but I could not think of a better one.
I would also use "bundle" instead of package or pack, but plugin
managers already use it and there could be a conflict.
I hope that the new mechanism doesn't break existing behavior. Nikolay,
you had quite a few comments on other solutions, let us know if you see
something wrong with how packages and :loadplugin work.
I hope the new mechanism can be used by plugin managers and make their
work a bit easier. But they will also want to work with older Vim
versions, might take a while.
--
ARTHUR: Be quiet!
DENNIS: --but by a two-thirds majority in the case of more--
ARTHUR: Be quiet! I order you to be quiet!
WOMAN: Order, eh -- who does he think he is?
ARTHUR: I am your king!
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///