Pretty decent overhaul of the elisp tools.
Most interactive defuns can now optionally insert their results into the
current buffer at point.
The list of packages is now only evaled at load time to reduce
processing. Relevant defuns can re-eval explicitly via prefix arg.
* etc/pkgusr/bash_profile (CHECKUPDATES): Don't checkupdates if
$TERM is "dumb". This allows TRAMP to still function if a pkgusr
would have gotten the update message on a normal login.
* lisp/pkgusr.el (pkgusr-all-pkgs): New variable to hold list of
installed packages so we don't have to calculate it every time it
is used.
(pkgusr-all-pkgs-update): New. Updates above, to be optionally
used in the rest of pkgusr.el.
(pkgusr-pkgs-count): Use it.
(pkgusr-list-pkgs-regexp): Ditto. Also optionally insert result
into current buffer at point.
(pkgusr-pkg-details): Pop to a buffer displaying a package's
filelist and other details.
(pkgusr-show-pkg): Remove its argument, it was never intended to
be called non-interactively. Update the packages list via prefix
arg. Use #'pkgusr-pkg-details
(pkgusr-pkg-install-notes): Ditto.
(pkgusr-pkg-general-notes): Ditto.
(pkgusr-cmd-pkg): Insert into buffer with prefix arg.
Error out if the file owner or group isn't a pkgusr
(pkgusr-file-pkg): Ditto.
(pkgusr-project-file): New.
(pkgusr-pkg-url): Use it. Optionally insert into buffer.
Optionally force update of packages list.
(pkgusr-pkg-repo): Ditto.
(pkgusr-pkg-version): Ditto.
(pkgusr-pkg-description): Ditto.
(pkgusr-pkg-deps): Ditto.
(pkgusr-find-file): Force update of packages list via prefix arg.
(pkgusr-pkg-rdeps): New. Returns a list of reverse dependencies
of a package. IOW, what packages need a package.
* lisp/bld-update.el: Typo fix.
Signed-off-by: Steve Youngs <steve@bastard.steveyoungs.com>