From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: chylli Newsgroups: gmane.emacs.help Subject: Re: Are there an elisp package manager like apt-get or cpan? Date: Sun, 13 Aug 2006 15:58:08 +0800 Message-ID: <874pwhxe27.fsf@home.chylli.com> References: <1155441044.103183.254590@m79g2000cwm.googlegroups.com> <87wt9d5d2w.fsf@tiger.rapttech.com.au> Reply-To: lcypublic@gmail.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1155456472 21729 80.91.229.2 (13 Aug 2006 08:07:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 Aug 2006 08:07:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 13 10:07:51 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GCB0e-0005Ix-9P for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Aug 2006 10:07:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GCB0d-0005m1-Ll for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Aug 2006 04:07:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GCB0E-0005jp-RJ for help-gnu-emacs@gnu.org; Sun, 13 Aug 2006 04:07:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GCB0D-0005im-W8 for help-gnu-emacs@gnu.org; Sun, 13 Aug 2006 04:07:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GCB0D-0005iV-OC for help-gnu-emacs@gnu.org; Sun, 13 Aug 2006 04:07:21 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GCB5k-0001n0-WE for help-gnu-emacs@gnu.org; Sun, 13 Aug 2006 04:13:05 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GCB0A-0005Fw-Lj for help-gnu-emacs@gnu.org; Sun, 13 Aug 2006 10:07:18 +0200 Original-Received: from 60.211.232.140 ([60.211.232.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Aug 2006 10:07:18 +0200 Original-Received: from lcypublic by 60.211.232.140 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Aug 2006 10:07:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 73 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 60.211.232.140 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:5MHGMjddlHHKK0FZAPBm6xiwRzY= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36649 Archived-At: Tim X writes: > "Þorne" writes: > >> 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. >> > > I think you hit th enail on the head - the real problem is that we > don't have a central, maintained and up-to-date repository of emacs > packages. There have been anumber of emacs lisp archives in the past, > but they all seem to last only as long as the person who initiated the > effort is prepared to maintain things. Once they move on to something > else, it all just dies. > > It would be nice if some body like GNU would setup and maintain a > single comprehensive elisp archive. > > For debian users, a lot can be achieved by taking on the > responsability for packaging and maintaining a deb version - then > apt-get will do what we need. > > Tim > > -- > tcross (at) rapttech dot com dot au I'm using ubuntu now. There are lots of elisp pakcages in ubuntu source. But some of them has incompetence dependence. For example, I'm using emacs-snapshot package. When I want to install some elisp packages, ubuntu will try to install xemacs or emacs21 because that package depend on them but not no emacs-snapshot. Same thing will happen if I use a emacs compiled by myself. So I think building a central, amintained and up-to-date will make sense. But I'm not good at elisp :(. Hope some experts will do that. -- Thanks & Regards Chylli