From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.help Subject: Re: Issue with .emacs, files not loading Date: Wed, 04 Jun 2008 09:16:09 +0200 Message-ID: <87od6hn006.fsf@gmx.de> References: <67d8e703-49f0-4f42-b336-b57daca2c79d@x35g2000hsb.googlegroups.com> <4845b9f9$0$90264$14726298@news.sunsite.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212565289 1541 80.91.229.12 (4 Jun 2008 07:41:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Jun 2008 07:41:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 04 09:42:11 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K3ndG-0008VW-Ue for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jun 2008 09:42:07 +0200 Original-Received: from localhost ([127.0.0.1]:34637 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3ncU-0003zo-HC for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jun 2008 03:41:18 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.news-service.com!border1.nntp.ams.giganews.com!nntp.giganews.com!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: p54867833.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1212563997 4195 84.134.120.51 (4 Jun 2008 07:19:57 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 4 Jun 2008 07:19:57 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:HrwA7eGGOBYTxX32XvVE/qCLGog= Original-Xref: news.stanford.edu gnu.emacs.help:159095 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:54448 Archived-At: On 2008-06-03 23:40 +0200, Colin S. Miller wrote: > From the variable's documentation > > *List of directories to search for files to load. > Each element is a string (directory name) or nil (try default directory). > > Note that the elements of this list *may not* begin with "~", so you must > call `expand-file-name' on them before adding them to this list. Where did you get that? Here it says: ,---- | *List of directories to search for files to load. | Each element is a string (directory name) or nil (try default directory). | Initialized based on EMACSLOADPATH environment variable, if any, | otherwise to default specified by file `epaths.h' when Emacs was built. `---- No mention of expand-file-name. > You need to expand your paths before adding them to load-path. Huh? I have (setq load-path (append (list "~/elisp") load-path)) in my .emacs since ages, and that has always worked. > I can't see where you are calling (load-library) to load > my-custom-generic.el. That's a valid point, at last. Sven