From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: installing emacs package on windows Date: Sat, 01 Aug 2009 18:08:04 +0200 Organization: Informatimago Message-ID: <877hxncyaj.fsf@galatea.local> References: <0fcf248d-f0af-4a8c-8b1a-799f3a64594a@x25g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249144919 17108 80.91.229.12 (1 Aug 2009 16:41:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Aug 2009 16:41:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 01 18:41:53 2009 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 1MXHeY-0001ag-PT for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Aug 2009 18:41:51 +0200 Original-Received: from localhost ([127.0.0.1]:53648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXHeY-00056w-4y for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Aug 2009 12:41:50 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-X-Trace: individual.net io6iuL5r3TNoKoFq4gEVIwas0fXxztT7CVsBFshwqz9h0wvSha Cancel-Lock: sha1:YWRmMDExODM0ODhiYTNmOGU1YzZmYmRkOWQ5NDE3NDJjMGQ2NDlmOQ== sha1:nzlMwUhdwHKfWS5WIjGjHOrq3m4= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin) Original-Xref: news.stanford.edu gnu.emacs.help:171440 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:66624 Archived-At: amolaggarwal writes: > My emacs version is 22.3.1 . I have created init file in ~/.emacs.d/ > init.cl(user application data folder instead of home directory) . I > want to load another package called init-auto-complete.el through my > init file . I have put this package in .emacs.d directory but i am > unable to load this package from init file using (require 'init-auto- > complete.el). Kindly help. Type: M-: (info "(emacs)Init File") RET (assuming you have the info documentation for emacs installed). The usual init file is: ~/.emacs If there is no ~/.emacs or ~/.emacs.el, then emacs tries to load ~/.emacs.d/init.el The various components of emacs may store specific files in ~/.emacs.d, so I would avoid to put my files there. To understand how require works, type: C-h f require RET There, it is explained how the feature symbol is mapped to a file name, when you don't specifiy the file name in the arguments of require. You may also directly load to load a specific file. Type: C-h f load RET to see how it works. There are references to several variables you may set to customize its behavior, so that you may avoid giving the full pathname in the load argument. -- __Pascal Bourguignon__