From: Teemu Likonen <tlikonen@iki.fi>
To: Mart van de Wege <mvdwege@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: .emacs not loading libraries
Date: Sat, 17 Oct 2015 18:38:12 +0300 [thread overview]
Message-ID: <87r3ktmrob.fsf@mithlond.arda> (raw)
In-Reply-To: <86zizhirdx.fsf@gaheris.avalon.lan> (Mart van de Wege's message of "Sat, 17 Oct 2015 14:58:02 +0200")
[-- Attachment #1: Type: text/plain, Size: 519 bytes --]
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
next prev parent reply other threads:[~2015-10-17 15:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-17 12:58 .emacs not loading libraries Mart van de Wege
2015-10-17 15:34 ` Emanuel Berg
2015-10-17 15:38 ` Teemu Likonen [this message]
[not found] ` <mailman.509.1445095516.7904.help-gnu-emacs@gnu.org>
2015-10-17 18:59 ` Mart van de Wege
2015-10-17 21:44 ` Emanuel Berg
[not found] ` <mailman.522.1445117721.7904.help-gnu-emacs@gnu.org>
2015-10-17 22:29 ` Mart van de Wege
2015-10-17 22:56 ` John Mastro
2015-10-18 12:19 ` Emanuel Berg
[not found] ` <mailman.528.1445122641.7904.help-gnu-emacs@gnu.org>
2015-10-18 9:04 ` Mart van de Wege
2015-10-18 14:29 ` Drew Adams
2015-10-18 12:14 ` Emanuel Berg
[not found] ` <mailman.512.1445096312.7904.help-gnu-emacs@gnu.org>
2015-10-17 18:59 ` Mart van de Wege
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r3ktmrob.fsf@mithlond.arda \
--to=tlikonen@iki.fi \
--cc=help-gnu-emacs@gnu.org \
--cc=mvdwege@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).