[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: install-elisp.el --- Simple Emacs Lisp installer using curl

From: Ted Zlatanov
Subject: Re: install-elisp.el --- Simple Emacs Lisp installer using curl
Date: Wed, 25 Jul 2007 14:16:48 -0400
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (darwin)

On Wed, 25 Jul 2007 23:07:07 +0900 (JST) address@hidden wrote: 

r>  Automate Emacs Lisp installation.
r>  (1) download Emacs Lisp
r>  (2) save to your repository
r>  (3) byte compile
r>  (4) load
r>  (5) show Emacs Lisp

r>  M-x install-elisp
r>  M-x install-elisp-from-emacswiki

r> For example, if you want to upgrade anything.el, you have only to issue:
r> M-x install-elisp-from-emacswiki anything.el

Neat idea.

I'm attaching a simple patch to customize the retrieval program.  Please
consider using defcustom instead of defvar, though (I used defvar to be

Also consider security implications of downloading code from a wiki.
Maybe there could be a way for authors to publish PGP keys outside or
inside the wiki, and those keys can authenticate the code on the wiki?


Index: install-elisp.el
RCS file: /home/tzz/cvsroot/emacs/install-elisp.el,v
retrieving revision 1.2
diff -r1.2 install-elisp.el
> (defvar install-elisp-retrieval-program "curl --silent '%s'")
<     (shell-command (format "curl --silent '%s'" url) buffer)
>     (shell-command (format install-elisp-retrieval-program url) buffer)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]