ok... i fiddled a bit with what you did, and i finally got it to
work... i ended up telling it to look in the site-lisp folder, then i
ran emacs in debug mode, then removed php-mode.elc from there, and now
it works... thanx a ton for the help!!!
~Erin
--- Bryan Murdock <[EMAIL PROTECTED]> wrote:
> On Tue, 2003-03-25 at 16:10, Erin! wrote:
> > alright. here it is... i've heard that it's a rather standard
> one
> > that has floated around byu, but i've been making modifications,
> > teaching myself about it (so i've crashed emacs a few times)...
> hope it
> > helps... :)
>
> OK, I made a backup of my .emacs, but yours in my home directory,
> modified it a little, and put the php-mode.el file that I have laying
> around in /usr/share/emacs/site-lisp and started emacs. It opened
> with
> no complaints, and when I opened a file with a .php extension, it
> went
> into php-mode and gave me the pretty colors.
>
> The modification I made was to uncomment the lines:
>
> (require 'php-mode)
>
> and:
>
> (add-to-list 'auto-mode-alist '("\\.php\\'" . php-mode))
>
> I would try doing that (don't use any of those other lines you added
> with php-mode stuff. If that doesn't work then maybe for some reason
> with your distribution you can't just drop a .el file in that global
> dir
> and expect emacs to find it, or your php-mode.el file is messed up or
> something. I don't know.
>
> I put all my downloaded stuff into a folder in my home directory
> called
> elisp. Then near the top of my .emacs file I have this stuff which
> tells emacs to look there for files:
>
> ;;;;; set local load path for downloaded modes ;;;;;;
> (defun prepend-path ( my-path )
> (setq load-path (cons (expand-file-name my-path) load-path)))
> ;; Look first in the directory /home/bryan/elisp for elisp files
> (prepend-path "/home/bryan/elisp")
>
> I would just try doing something like this if you still can't get it
> to
> work. Sorry I'm not more of an emacs guru. I've just played around
> a
> bit and figured a few things out.
>
> Bryan
>
>
>
>
> _______________________________________________
> newbies mailing list
> [EMAIL PROTECTED]
> http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies
=====
�The pledge of allegiance to the flag is a pledge to the ideals of our forefathers,
the men who fought and died in the building of this great nation. It is a pledge to
fulfill our duties and obligations as citizens of the United States, and to uphold the
principles of our constitution. And last but not least, it is a pledge to maintain
the four great freedoms treasured by all Americans: freedom of speech, freedom of
religion, freedom from want, and freedom from fear.�
~Lee Greenwood
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
_______________________________________________
newbies mailing list
[EMAIL PROTECTED]
http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies