all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: GianUberto.Lauri@eng.it (Gian Uberto Lauri)
Cc: help-gnu-emacs@gnu.org
Subject: New to Emacs
Date: Sun, 4 Jan 2004 04:34:54 +0100	[thread overview]
Message-ID: <16375.35294.555287.891026@mail.eng.it> (raw)
In-Reply-To: <4sqJb.5789$6B.4984@newsread1.news.atl.earthlink.net>

>>>>> "S" == Stephen  <sedelblut@hotmail.com> 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 
\/

  parent reply	other threads:[~2004-01-04  3:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-03  3:14 New to Emacs Stephen
2004-01-03  3:22 ` Bruce Ingalls
2004-01-04  3:34 ` Gian Uberto Lauri [this message]
2004-01-07 17:39 ` Greg Fenton
     [not found] <mailman.1282.1224217100.25473.help-gnu-emacs@gnu.org>
2008-10-17  5:32 ` New to emacs poppyer
2008-10-17  5:38 ` Cor Gest
  -- strict thread matches above, loose matches on Subject: below --
2008-10-16 20:12 Mario Xerxes Castelán Castro
2008-10-17  8:29 ` Peter Dyballa
2008-10-17  8:37 ` Alberto Luaces
     [not found] <mailman.316.1040140647.19936.help-gnu-emacs@gnu.org>
2002-12-17 17:50 ` New to Emacs Kai Großjohann
2002-12-19 11:11   ` Kester Clegg
2002-12-17 18:45 ` Peter Lee
2002-12-18 18:07 ` Robert Uhl <ruhl@4dv.net>
2002-12-20 16:09   ` Lee Sau Dan
2002-12-20 16:19 ` Lee Sau Dan
2002-12-17 15:59 Code Fox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16375.35294.555287.891026@mail.eng.it \
    --to=gianuberto.lauri@eng.it \
    --cc=help-gnu-emacs@gnu.org \
    --cc=saint@eng.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.