From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lele Gaifax Newsgroups: gmane.emacs.help Subject: Initialization warning with latest emacs snapshot Date: Tue, 03 Dec 2013 22:08:50 +0100 Organization: Nautilus Entertainments Message-ID: <8761r5lk0t.fsf@nautilus.nautilus> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1386104963 14741 80.91.229.3 (3 Dec 2013 21:09:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Dec 2013 21:09:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 03 22:09:28 2013 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 1VnxDi-0006Zi-Vf for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Dec 2013 22:09:27 +0100 Original-Received: from localhost ([::1]:44917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnxDi-0003Kd-DF for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Dec 2013 16:09:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnxDR-0003Ff-24 for help-gnu-emacs@gnu.org; Tue, 03 Dec 2013 16:09:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnxDK-0002Qe-Sd for help-gnu-emacs@gnu.org; Tue, 03 Dec 2013 16:09:08 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:49480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnxDK-0002QX-Lu for help-gnu-emacs@gnu.org; Tue, 03 Dec 2013 16:09:02 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VnxDJ-0006LV-OH for help-gnu-emacs@gnu.org; Tue, 03 Dec 2013 22:09:01 +0100 Original-Received: from 151.62.47.2 ([151.62.47.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Dec 2013 22:09:01 +0100 Original-Received: from lele by 151.62.47.2 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Dec 2013 22:09:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 46 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 151.62.47.2 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:hmSG4Z2Syt93xADSAxUHLNO5np8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:94815 Archived-At: Hi all, after an upgrade to latest emacs-snapshot for Debian sid (2:20131201-1) I got the following warning at emacs start up: Warning (initialization): Your `load-path' seems to contain your `.emacs.d' directory: /home/lele/.emacs.d/ This is likely to cause problems... Consider using a subdirectory instead, e.g.: /home/lele/.emacs.d/lisp Effectively my own variation of the emacs-starter-kit init.el contains the following code: ;; Load path etc. (setq esk-dotfiles-dir (file-name-directory (or (buffer-file-name) load-file-name)) esk-autoload-file (concat esk-dotfiles-dir "loaddefs.el") package-user-dir (concat esk-dotfiles-dir "elpa") esk-custom-file (concat esk-dotfiles-dir "custom") esk-system-specific-config (concat esk-dotfiles-dir system-name) esk-user-specific-config (concat esk-dotfiles-dir user-login-name) esk-user-specific-dir (concat esk-dotfiles-dir user-login-name) esk-overrides-dir (concat esk-dotfiles-dir "overrides") custom-file (concat esk-user-specific-config ".el")) ;; Load up ELPA, the package manager (add-to-list 'load-path esk-dotfiles-dir) so load-path contains the directory /home/lele/.emacs.d/, that contains my starter-kit-xxx.el files. Is that warning telling me that I should move all my starter-kit-xxx.el files into a lisp/ subdirectory and put the latter in the load-path list? OOC, what are the alleged problems that my current configuration could trigger? Thanks in advance for any clarification, bye, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929.