From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: about load paths Date: Thu, 19 Jun 2008 18:01:29 +0200 Message-ID: <87iqw5ifc6.fsf@thievol.homelinux.org> References: <612A4E0A-C59E-47CA-80DC-02B566720E32@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213891002 1469 80.91.229.12 (19 Jun 2008 15:56:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Jun 2008 15:56:42 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Rustom Mody" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 19 17:57:26 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 1K9MVZ-0001lN-Pu for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Jun 2008 17:57:10 +0200 Original-Received: from localhost ([127.0.0.1]:46458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9MUl-0001Cj-9N for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Jun 2008 11:56:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9MUI-000192-GO for help-gnu-emacs@gnu.org; Thu, 19 Jun 2008 11:55:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9MUH-00018c-Pm for help-gnu-emacs@gnu.org; Thu, 19 Jun 2008 11:55:50 -0400 Original-Received: from [199.232.76.173] (port=46973 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9MUH-00018X-G1 for help-gnu-emacs@gnu.org; Thu, 19 Jun 2008 11:55:49 -0400 Original-Received: from yx-out-1718.google.com ([74.125.44.155]:33035) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K9MUH-0003rQ-39 for help-gnu-emacs@gnu.org; Thu, 19 Jun 2008 11:55:49 -0400 Original-Received: by yx-out-1718.google.com with SMTP id 34so170002yxf.66 for ; Thu, 19 Jun 2008 08:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=AxR6INNSyY2FPJljFJoXNgRvH5xgKWVOcKcPqAts0w0=; b=mlzDCZ/OBTA0WVl8x9zPErxUxoz7/WP1H2B0DILTEVTunTxMrERsPOO7gPoTP6G1kc 6lRE0ayOQpOGti3uVO8UXqGI9J1Zr7tKACDpQhrEVa4NhwBNu7WHTcs07V0+mqm1mnZk UZbrcm8oNdilo6rhcwW+AXvcp5GcDIlczn9BA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=dj0at5rxztt2uEhWiXeNr+N2BfqRsl2yydgNVNVFO0TuV1qPh08VZVPZFYiyEVHjSe RyUnxDYyu7dRFUr1cEgWeTSQT/brSCFymd+fadrXxQ6WNBuAJ134uFth9J58I3qyJ8YA H/sfvB8oxmtd9ixHwweylVrJwzckPlxzBr/Uk= Original-Received: by 10.114.169.20 with SMTP id r20mr2803739wae.198.1213890946923; Thu, 19 Jun 2008 08:55:46 -0700 (PDT) Original-Received: from thievol.homelinux.org ( [77.197.77.55]) by mx.google.com with ESMTPS id 14sm974953wrl.26.2008.06.19.08.55.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 19 Jun 2008 08:55:46 -0700 (PDT) In-Reply-To: (Rustom Mody's message of "Thu, 19 Jun 2008 20:12:49 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:54977 Archived-At: "Rustom Mody" writes: > On Thu, Jun 19, 2008 at 8:04 PM, Peter Dyballa wrote: > >> >> Am 19.06.2008 um 14:52 schrieb Rustom Mody: >> >> That is to say I have to manually put >>> (add-to-list 'load-path "~/.emacs.d") >>> in the init.el or else other files there are not found >>> >>> This seems to defeat the purpose of the emacs.d directory no?? >>> >> >> No, it does not. GNu Emacs finds there its GTK resource file. When you look >> up the variable load-path this element is not mentioned. >> >> Different from this is the initial behaviour to look for an init.el file in >> ~/.emacs.d. This one is found. If it loads other ELisp files, then these >> have to be in load-path. >> > Sorry I dont understand... > > Different from what? > This element -- which? > GTK Resource file -- Whats that? (On WIndows?) Emacs, when it start look for an init file called .emacs or .emacs.el in /home/$USER or a file called init.el in .emacs.d (i never used this scheme) But not for other lisp files or not. So if you want to put some files.el in .emacs.d, you will have to notify emacs of that in your .emacs or init.el. > Please tell me if theres something (other than the emacs manual) I should > read Emacs manual and all it's elisp doc are really good. -- A + Thierry Pub key: http://pgp.mit.edu