all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Perry Smith <pedz@easesoftware.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Installing matlab mode under  Windows XP
Date: Mon, 20 Nov 2006 14:50:24 -0600	[thread overview]
Message-ID: <3B6E0242-6B81-42EB-8F6E-EA8363181310@easesoftware.com> (raw)
In-Reply-To: <20782381.840281164032448425.JavaMail.webmail@ps7zhb.bluewin.ch>


[-- Attachment #1.1: Type: text/plain, Size: 3126 bytes --]

On Nov 20, 2006, at 8:20 AM, schnurpfelkamel@bluewin.ch wrote:

> Hi
>
> I would like to install other packages like Matlab mode for emacs
> on Windows XP. Where do I have to put these additional package files?
> Is there something like the .emacs file under UNIX that tells emacs
> to load these packages? Or in other words: What do I need to do, to
> make emacs load the additional package files?

First, there an emacs variable called load-path.  It is a list of  
directories emacs searches when a load is done.  What I do myself is  
I have all my emacs lisp in a directory called emacs.  Then in  
my .emacs file I do:

(setq load-path (append load-path (list "~/emacs")))

If you keep things in separate sub directories, then the list will be  
the list of all the places emacs needs to look in.

I believe there is a slicker way to do this.

Second, most packages come with some instructions.  You generally do  
not want to always load all of the contents of all of the packages.   
Usually, there are some key functions that are always called first.   
You set these in autoload statements.  A typical statement looks like:

(autoload 'vm "vm" "Start VM on your primary inbox." t)

The package will usually tell you want autoload statements to put in  
your .emacs file.

I can't think of what else you need to know.  Hopefully, this will  
get your started.

I don't know where the .emacs file is located on XP.  This is from  
the Info page:

    On MS-DOS, file names are case-insensitive and limited to eight
characters, plus optionally a period and three more characters.  Emacs
knows enough about these limitations to handle file names that were
meant for other operating systems.  For instance, leading dots `.' in
file names are invalid in MS-DOS, so Emacs transparently converts them
to underscores `_'; thus your default init file (*note Init File::) is
called `_emacs' on MS-DOS.  Excess characters before or after the
period are generally ignored by MS-DOS itself; thus, if you visit the
file `LongFileName.EvenLongerExtension', you will silently get
`longfile.eve', but Emacs will still display the long file name on the
mode line.  Other than that, it's up to you to specify file names which
are valid under MS-DOS; the transparent conversion as described above
only works on file names built into Emacs.

`HOME'
      The location of the user's files in the directory tree; used for
      expansion of file names starting with a tilde (`~').  On MS-DOS,
      it defaults to the directory from which Emacs was started, with
      `/bin' removed from the end if it was present.  On Windows, the
      default value of `HOME' is the `Application Data' subdirectory of
      the user profile directory (normally, this is `C:/Documents and
      Settings/USERNAME/Application Data', where USERNAME is your user
      name), though for backwards compatibility `C:/' will be used
      instead if a `.emacs' file is found there.

Good luck,
Perry Smith ( pedz@easesoftware.com )
Ease Software, Inc. ( http://www.easesoftware.com )

Low cost SATA Disk Systems for IBMs p5, pSeries, and RS/6000 AIX systems



[-- Attachment #1.2: Type: text/html, Size: 8552 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

  parent reply	other threads:[~2006-11-20 20:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-20 14:20 Installing matlab mode under Windows XP schnurpfelkamel
2006-11-20 20:42 ` Eli Zaretskii
2006-11-20 20:50 ` Perry Smith [this message]
2006-11-21 16:36   ` Kevin Rodgers
     [not found]   ` <mailman.953.1164127222.2155.help-gnu-emacs@gnu.org>
2006-11-22  3:38     ` Glenn Morris
2006-11-22 16:29       ` Kevin Rodgers

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=3B6E0242-6B81-42EB-8F6E-EA8363181310@easesoftware.com \
    --to=pedz@easesoftware.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.