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: Sat, 17 Oct 2015 20:59:27 +0200 Message-ID: <86mvvhiank.fsf@gaheris.avalon.lan> References: <86zizhirdx.fsf@gaheris.avalon.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445108424 25113 80.91.229.3 (17 Oct 2015 19:00:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Oct 2015 19:00:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 17 21:00:24 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 1ZnWiN-0007El-GY for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Oct 2015 21:00:23 +0200 Original-Received: from localhost ([::1]:59499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnWiM-00039U-Ss for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Oct 2015 15:00:22 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-X-Trace: individual.net GpWgE9nChxSa7G1gBQFUoAv5t1bxSFz5D5xMwQvACy5RGE2Il+ X-Orig-Path: gaheris.avalon.lan!not-for-mail Cancel-Lock: sha1:kL6lvM+Lc8xwazTKNUpDr91T0zk= sha1:eiGLYcNJZBCXu4rR6Q8fy2Qgb80= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:215435 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:107719 Archived-At: Teemu Likonen writes: > Mart van de Wege [2015-10-17 14:58:02+02] wrote: > >> I've installed a bunch of libraries from elpa, and I found at least >> one of them is not available unless I do an explicit M-x load-library >> >> Now, I thought to add that to my .emacs, but neither (load-library >> "org-alert") nor (require 'org-alert) works. What am I doing wrong? > > I think Elpa directories are not in load-path at the Emacs init time. If > you insert > > (package-initialize) > > in your init file Emacs becoems aware of Elpa packages. Yes, that fixed it. Thanks. -- "We will need a longer wall when the revolution comes." --- AJS, quoting an uncertain source.