From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: GianUberto.Lauri@eng.it (Gian Uberto Lauri) Newsgroups: gmane.emacs.help Subject: New to Emacs Date: Sun, 4 Jan 2004 04:34:54 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <16375.35294.555287.891026@mail.eng.it> References: <4sqJb.5789$6B.4984@newsread1.news.atl.earthlink.net> Reply-To: saint@eng.it NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1073187509 17938 80.91.224.253 (4 Jan 2004 03:38:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 4 Jan 2004 03:38:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 04 04:38:20 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Acz5o-0007u0-00 for ; Sun, 04 Jan 2004 04:38:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Ad00g-0000ya-O5 for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jan 2004 23:37:06 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Aczzs-0000wk-Ky for help-gnu-emacs@gnu.org; Sat, 03 Jan 2004 23:36:16 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AczzK-0000R5-SY for help-gnu-emacs@gnu.org; Sat, 03 Jan 2004 23:36:15 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1Aczz1-0008Nj-T9 for help-gnu-emacs@gnu.org; Sat, 03 Jan 2004 23:35:23 -0500 Original-Received: from [212.123.84.82] (helo=mailr-2.tiscali.it) by mx20.gnu.org with esmtp (Exim 4.24) id 1Acz1E-0000ZH-Qa for help-gnu-emacs@gnu.org; Sat, 03 Jan 2004 22:33:36 -0500 Original-Received: from ppp-217-133-20-189.cust-adsl.tiscali.it (HELO paperoga) (217.133.20.189) by mailr-2.tiscali.it with ESMTP; 04 Jan 2004 04:33:33 +0100 X-BrightmailFiltered: true Original-To: "Stephen" Original-Newsgroups: gnu.emacs.help In-Reply-To: <4sqJb.5789$6B.4984@newsread1.news.atl.earthlink.net> X-Mailer: VM 7.07 under Emacs 21.2.1 X-attribution: CC X-Home-Page: http://www.gest.unipd.it/~saint X-Zippy: KARL MALDEN'S NOSE just won an ACADEMY AWARD!! X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:15684 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15684 >>>>> "S" == Stephen writes: S> Hi, I just downloaded Emacs 21.3 precompiled windows version. I S> want to use it for Java development. An article I am reading shows S> how to do this, and I have downloaded several .el files. What S> directory do I put these files in? Any directory that appears in your load-path variable, see below. S> Also, the article says to S> modify my .emacs file. I have not been able to find a .emacs file S> in my Emacs directory. Windows version comes with a BAT file and a CMD maybe (I use Windows only at work and now I'm on holyday). Look at these files, they set a HOME variable (that cames from Unix $HOME variable containing the home directory of the user in the file system). NT and its successors let you set a HOME variable in the My Computer properties tabbed dialog (usually is a button called Environment or such). Emacs directory (Windows precompiled) contains a file with some registry entries that set the other variables you see in the CMD or BAT files. The .emacs file (Windows version of Emacs accepts _emacs also since Windows could have problems with "dot files" - they are the "hidden" files in Unix) should reside in that directory. If my memory isn't wrong if HOME is unset then Emacs uses C:\ Back to the .el files. If you put them in C:\example then you should put in your .emacs something like: (setq load-path (nconc load-path (list "C:/example"))) This LISP statement sets the load-path variable (setq function) with the result of the function nconc that concatenates any number of lists (load-path is a list) by altering them. Only the last argument is not altered, and need not be a list. Therefore if at startup load-path content is ("c:/emacs/lisp" "c:/emacs/site-lisp") after that statement it becomes ("c:/emacs/lisp" "c:/emacs/site-lisp" . "c:/example") The load-path variable acts like Unix $PATH and Windows %PATH variable. BTW, be sure that all exe files are in directories listed in your system PATH :). /\ ___ /___/\__|_|\_|__|___Gian Uberto Lauri_____________________ //--\ | | \| | Integralista GNUslamico e fancazzista \/