all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* installing php-mode-102"
@ 2002-08-01 17:49 Alex Curvers
  2002-08-02 13:40 ` Scott
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Curvers @ 2002-08-01 17:49 UTC (permalink / raw)


hello i am trying to install the php mode for emacs
i have put the .el file in the site-lisp dir
and added the lines :

(load-library "php-mode-102")
(add-hook 'php-mode-user-hook 'turn-on-font-lock)

to
/usr/share/themes/thEmacs/emacs/.emacs       (add the top)
but still i dont see any colorcoding for the php syntax,

what am i doing wrong ?

Regards Alex

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: installing php-mode-102"
  2002-08-01 17:49 installing php-mode-102" Alex Curvers
@ 2002-08-02 13:40 ` Scott
  2002-08-02 14:06   ` Peter S Galbraith
  0 siblings, 1 reply; 4+ messages in thread
From: Scott @ 2002-08-02 13:40 UTC (permalink / raw)


Alex-

I am new to emacs, been wanting to use it for about 2 years.  I am
using the php-mode-102 file as well.

I have these lines in my .emacs file in my home dir.

(add-hook 'html-mode-hook 'turn-on-font-lock)
(autoload 'html-helper-mode "html-helper-mode" "Yat HTML" t)
(load-library "php-mode-102")
(add-hook 'php-mode-user-hook 'turn-on-font-lock)

and the .el file in /usr/share/emacs/site-lisp

I am using Mandrake, your distro might vary.

-Scott




At 07:49 PM 8/1/2002 +0200, Alex Curvers wrote:
>hello i am trying to install the php mode for emacs
>i have put the .el file in the site-lisp dir
>and added the lines :
>
>(load-library "php-mode-102")
>(add-hook 'php-mode-user-hook 'turn-on-font-lock)
>
>to
>/usr/share/themes/thEmacs/emacs/.emacs       (add the top)
>but still i dont see any colorcoding for the php syntax,
>
>what am i doing wrong ?
>
>Regards Alex
>
>
>
>_______________________________________________
>Help-gnu-emacs mailing list
>Help-gnu-emacs@gnu.org
>http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: installing php-mode-102"
  2002-08-02 13:40 ` Scott
@ 2002-08-02 14:06   ` Peter S Galbraith
  2002-08-02 15:42     ` Alex Curvers
  0 siblings, 1 reply; 4+ messages in thread
From: Peter S Galbraith @ 2002-08-02 14:06 UTC (permalink / raw)


After the steps below, doing

 M-: (featurep 'php-mode)

should return 't, otherwise it's not properly loaded.

BTW, I downloaded the file and it won't load under emacs21.  You should
probably ask the authors of that file for help.


Scott <scott@scottah.com> wrote:

> Alex-
> 
> I am new to emacs, been wanting to use it for about 2 years.  I am
> using the php-mode-102 file as well.
> 
> I have these lines in my .emacs file in my home dir.
> 
> (add-hook 'html-mode-hook 'turn-on-font-lock)
> (autoload 'html-helper-mode "html-helper-mode" "Yat HTML" t)
> (load-library "php-mode-102")
> (add-hook 'php-mode-user-hook 'turn-on-font-lock)
> 
> and the .el file in /usr/share/emacs/site-lisp
> 
> I am using Mandrake, your distro might vary.
> 
> -Scott
> 
> At 07:49 PM 8/1/2002 +0200, Alex Curvers wrote:
> >hello i am trying to install the php mode for emacs
> >i have put the .el file in the site-lisp dir
> >and added the lines :
> >
> >(load-library "php-mode-102")
> >(add-hook 'php-mode-user-hook 'turn-on-font-lock)
> >
> >to
> >/usr/share/themes/thEmacs/emacs/.emacs       (add the top)
> >but still i dont see any colorcoding for the php syntax,
> >
> >what am i doing wrong ?
> >
> >Regards Alex
> >
> >
> >
> >_______________________________________________
> >Help-gnu-emacs mailing list
> >Help-gnu-emacs@gnu.org
> >http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: installing php-mode-102"
  2002-08-02 14:06   ` Peter S Galbraith
@ 2002-08-02 15:42     ` Alex Curvers
  0 siblings, 0 replies; 4+ messages in thread
From: Alex Curvers @ 2002-08-02 15:42 UTC (permalink / raw)
  Cc: help-gnu-emacs

Ok tnx for the help, but the problem was permissions, only root had read 
rights

r Alex

Peter S Galbraith wrote:

>After the steps below, doing
>
> M-: (featurep 'php-mode)
>
>should return 't, otherwise it's not properly loaded.
>
>BTW, I downloaded the file and it won't load under emacs21.  You should
>probably ask the authors of that file for help.
>
>
>Scott <scott@scottah.com> wrote:
>
>  
>
>>Alex-
>>
>>I am new to emacs, been wanting to use it for about 2 years.  I am
>>using the php-mode-102 file as well.
>>
>>I have these lines in my .emacs file in my home dir.
>>
>>(add-hook 'html-mode-hook 'turn-on-font-lock)
>>(autoload 'html-helper-mode "html-helper-mode" "Yat HTML" t)
>>(load-library "php-mode-102")
>>(add-hook 'php-mode-user-hook 'turn-on-font-lock)
>>
>>and the .el file in /usr/share/emacs/site-lisp
>>
>>I am using Mandrake, your distro might vary.
>>
>>-Scott
>>
>>At 07:49 PM 8/1/2002 +0200, Alex Curvers wrote:
>>    
>>
>>>hello i am trying to install the php mode for emacs
>>>i have put the .el file in the site-lisp dir
>>>and added the lines :
>>>
>>>(load-library "php-mode-102")
>>>(add-hook 'php-mode-user-hook 'turn-on-font-lock)
>>>
>>>to
>>>/usr/share/themes/thEmacs/emacs/.emacs       (add the top)
>>>but still i dont see any colorcoding for the php syntax,
>>>
>>>what am i doing wrong ?
>>>
>>>Regards Alex
>>>
>>>
>>>
>>>_______________________________________________
>>>Help-gnu-emacs mailing list
>>>Help-gnu-emacs@gnu.org
>>>http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
>>>      
>>>
>>_______________________________________________
>>Help-gnu-emacs mailing list
>>Help-gnu-emacs@gnu.org
>>http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
>>    
>>
>
>
>  
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-08-02 15:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-01 17:49 installing php-mode-102" Alex Curvers
2002-08-02 13:40 ` Scott
2002-08-02 14:06   ` Peter S Galbraith
2002-08-02 15:42     ` Alex Curvers

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.