From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ruben Maher Newsgroups: gmane.emacs.help Subject: Re: Warning (initialization): Your `load-path' seems to contain Date: Wed, 18 Jun 2014 14:12:25 +0930 Message-ID: <87wqce7rri.fsf@alcor.rkm.id.au> References: <87k38fwgi7.fsf@skimble.plus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1403066583 17064 80.91.229.3 (18 Jun 2014 04:43:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Jun 2014 04:43:03 +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 18 06:42:56 2014 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 1Wx7i3-0003yB-8X for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Jun 2014 06:42:55 +0200 Original-Received: from localhost ([::1]:54884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wx7i2-0004vU-JI for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Jun 2014 00:42:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wx7hm-0004uT-3G for help-gnu-emacs@gnu.org; Wed, 18 Jun 2014 00:42:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wx7hg-0005zz-3C for help-gnu-emacs@gnu.org; Wed, 18 Jun 2014 00:42:38 -0400 Original-Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]:38906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wx7hf-0005zp-SF for help-gnu-emacs@gnu.org; Wed, 18 Jun 2014 00:42:32 -0400 Original-Received: by mail-pa0-f48.google.com with SMTP id et14so306452pad.35 for ; Tue, 17 Jun 2014 21:42:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=NyFdpgf+40WkcmfuKAgWG6KsILMkr3fSOVDGRLCkedo=; b=Wp+NYauSsakTTdyx1cvqsX9OtzaMLHc/E5Cl7Zagiu4oRfJdNdSm7TZ/PzobCxc+b2 i//3GDOI98F/rZV+UHFzYmuZP+Yg7gorw3lEjwr35RHLiw1pCcggE4CVWkpcclyP1crw +RSEkLlhRcstGzgRcAivIYyGi1ezUECoI77KYZ/vdCd1448SnseALGe3i+EdMd6XHNWV CiN7BtjAKBtxooLmfgwUW9UaI2efgEgx8sinxzNYywuOfAf7VTOvZKOMHFlMq+wbt5Ls oE8/4s6blIsJGEwgCfjWq8GKvPKPjO2E1c4v+sBFYBGIw0XB0ZMgpZsnGLZGu3d9Wnj7 mOkw== X-Received: by 10.66.254.37 with SMTP id af5mr36963484pad.113.1403066550207; Tue, 17 Jun 2014 21:42:30 -0700 (PDT) Original-Received: from alcor.rkm.id.au (ppp118-210-127-242.lns20.adl2.internode.on.net. [118.210.127.242]) by mx.google.com with ESMTPSA id ih6sm1006934pbc.22.2014.06.17.21.42.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jun 2014 21:42:29 -0700 (PDT) In-Reply-To: <87k38fwgi7.fsf@skimble.plus.com> (Sharon Kimble's message of "Tue, 17 Jun 2014 19:14:08 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::230 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:98322 Archived-At: Sharon Kimble writes: > For some time now I've been getting this - > Warning (initialization): Your `load-path' seems to contain > your `.emacs.d' directory: /home/boudiccas/.emacs.d/ > This is likely to cause problems... > Consider using a subdirectory instead, e.g.: /home/boudiccas/.emacs.d/lisp > in my *Warnings* buffer. > > These are the relevant lines from my "init.el" > (setq load-path (cons "/home/boudiccas/.emacs.d/lisp" load-path)) > (add-to-list 'load-path "/home/boudiccas/.emacs.d/personal-lisp") > > Why doesn't it accept what's in the "init.el" please, and what can I > do to put it right? Hi Sharon, Emacs is not rejecting init.el, it's just warning you. If you don't want to see the warning anymore you can drop this snippet in there: (eval-after-load "warnings" ;; shut up, emacs! '(setq display-warning-minimum-level :error)) Kind regards, Ruben