unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Þorne <ego111@gmail.com>
Subject: Re: Are there an elisp package manager like apt-get or cpan?
Date: 12 Aug 2006 20:50:44 -0700	[thread overview]
Message-ID: <1155441044.103183.254590@m79g2000cwm.googlegroups.com> (raw)
In-Reply-To: mailman.5116.1155394815.9609.help-gnu-emacs@gnu.org


chylli wrote:
> Hi. Are there an emacs lisp package manager like apt-get in debian or
> cpan in perl ? When I want to install a package, I just run a command,
> then emacs will find proper package in proper web site and install
> it.

Funny, i was just thinking of writing one the other day.  I got to
thinking that it would really be trivial to write something using
ange-ftp or tramp or whatever.  Something like asdf-install for Emacs.

You could have a function like `esdf-load' that goes and looks up a
keyword in a known flat-file database on the net consisting of (KEYWORD
. location) pairs, then grab the source from the location and load it.
`esdf-find-file' could do the same but just open it in a buffer.  And
`esdf-install' could grab it, save it to `esdf-install-directory' and
add (load "foo") to your .emacs (or something a little better).

And it could be called recursively.  So developers who have packages
using more than one file could have a package definition file that is
what esdf-install would point to, and that file would just have calls
to esdf-install for all the files in the package, in whatever order was
desired.

But the thing is, it is so easy to do this already if you know the
location of the file that it is hardly necessary.  So the real problem
is finding someone who wants to keep a database online of such
information, or even wants to archive the packages themselves as actual
downloadable, loadable .el files, rather that links to text in html
files and Usenet postings and such.  There is the Emacs Lisp List, and
the emacswiki, but the the data tends not to be consistently in the
form of clean .el files.

For whateven all that may be worth...

th

       reply	other threads:[~2006-08-13  3:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5116.1155394815.9609.help-gnu-emacs@gnu.org>
2006-08-13  3:50 ` Þorne [this message]
2006-08-13  4:25   ` Are there an elisp package manager like apt-get or cpan? Þorne
2006-08-13  7:17     ` chylli
2006-08-13  7:06   ` Tim X
2006-08-13  7:58     ` chylli
2006-08-13  8:58     ` Tassilo Horn
2006-08-14  8:24       ` Tim X
2006-08-13 13:10   ` ken
     [not found]   ` <mailman.5139.1155474630.9609.help-gnu-emacs@gnu.org>
2006-08-13 14:25     ` Robert D. Crawford
2006-08-13 17:01       ` Is there an elisp package manager? ken
2006-08-12 14:53 Are there an elisp package manager like apt-get or cpan? chylli
2006-08-13 19:35 ` Peter Dyballa

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1155441044.103183.254590@m79g2000cwm.googlegroups.com \
    --to=ego111@gmail.com \
    /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.
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).