From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mart van de Wege Newsgroups: gmane.emacs.help Subject: Re: .emacs not loading libraries Date: Sun, 18 Oct 2015 00:29:39 +0200 Message-ID: <86io65i0x8.fsf@gaheris.avalon.lan> References: <86zizhirdx.fsf@gaheris.avalon.lan> <86r3ktiao1.fsf@gaheris.avalon.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445121921 10772 80.91.229.3 (17 Oct 2015 22:45:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Oct 2015 22:45:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 18 00:45:21 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZnaE3-0008EF-7H for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Oct 2015 00:45:19 +0200 Original-Received: from localhost ([::1]:60001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnaE2-0001yk-Cf for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Oct 2015 18:45:18 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-X-Trace: individual.net d+xELBQQoPD1vSQVs1PHaQmofrBz/Fib/Ivxis5IFZVpmd8VFO X-Orig-Path: gaheris.avalon.lan!not-for-mail Cancel-Lock: sha1:PBDNS1JFIjPvH37+CQKJJlDQR0o= sha1:0frCggf55W2Atu0SY1oPkNXxCoU= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:215444 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107728 Archived-At: Emanuel Berg writes: > Mart van de Wege writes: > >> Teemu had the right idea: in order to load elpa >> packages, I have to call (package-initialize) in >> .emacs. Thanks for going the trouble. > > OK, but still: Without the tilde in the `load-path', it > only works because probably when loading is done the > `default-directory' *is* your HOME! Yep. I was unclear, when I mention .emacs.d/elpa I meant relative to my home dir; it has the tilde in it in the function calls adding it to my load-path. I've gotten pretty good at elisp, but until recently I stuck to debian-packaged packages; only because I got seriously into org-mode for my personal planning needs did I switch to elpa packages, because they update a lot faster than Debian; and the one package I needed was org-alert to alert me to my deadlines. Your explanation was spot-on, hence the thanks for going to the trouble of writing all that out. Mart -- "We will need a longer wall when the revolution comes." --- AJS, quoting an uncertain source.