From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: How to install packages Date: Tue, 4 Jul 2006 13:05:15 +0200 Message-ID: <12EECB53-0646-4F8C-9536-97BB3FF6D0D2@Web.DE> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1152011146 7533 80.91.229.2 (4 Jul 2006 11:05:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Jul 2006 11:05:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 04 13:05:44 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 1Fxiiq-00018D-Sa for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Jul 2006 13:05:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fxiiq-0006XR-DY for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Jul 2006 07:05:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fxiid-0006Wv-Bg for help-gnu-emacs@gnu.org; Tue, 04 Jul 2006 07:05:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fxiib-0006Wj-AX for help-gnu-emacs@gnu.org; Tue, 04 Jul 2006 07:05:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fxiib-0006Wg-5r for help-gnu-emacs@gnu.org; Tue, 04 Jul 2006 07:05:25 -0400 Original-Received: from [217.72.192.221] (helo=fmmailgate01.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FxiwF-0000gd-SX for help-gnu-emacs@gnu.org; Tue, 04 Jul 2006 07:19:32 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate01.web.de (Postfix) with ESMTP id 37C156368CF for ; Tue, 4 Jul 2006 13:05:23 +0200 (CEST) Original-Received: from [84.245.179.121] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.107 #114) id 1FxiiZ-0004SB-00 for help-gnu-emacs@gnu.org; Tue, 04 Jul 2006 13:05:23 +0200 In-Reply-To: X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: emacs mailing list X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de 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:35810 Archived-At: Am 04.07.2006 um 12:09 schrieb news: > (autoload 'help+ "help+" > "Command to give better help" t) > > but it isn't working. What is your proof? Autoload does not "compile-in" that package, it just allows you to use a few more functions and variables, those from this package. Once you use such a function or variable or access the package's customisation interface, it really gets "loaded." This is a feature of Emacs Lisp, at least. > > Again I'm probably doing something silly here - but I'm not sure > what. I also can't seem to find a simple guide to installing > packages on the internet anywhere, and not all packages seem to > have instructions at the top of their .el file. Some packages offer a provide, then you simply require them. To install any Elisp code put these files into a directory mentioned in the variable load-path. Best is to choose something site specific. Putting lines like these into a file that is loaded early you can see in *Messages* what gets loaded: (defadvice load (before debug-log activate) (message "(Hinted by Kai G) Loading now: %s" (ad-get-arg 0))) -- Greetings Pete War springs from unseen and generally insignificant causes. -- Anonymous