Greetings:

I use one of two options:  cperl-mode or html-helper-mode
depending on how much perl vs. html I am editing.
I think these modes are included in the current
distribution of emacs, but don't hold me to it.

Neither mode is perfect, but work well enough for me.

I have my ~/.emacs file default to use cperl-mode for
asp scripts and global.asa, as they generally have more
perl than HTML.  Conversely, I default to html-helper-mode
for include files.  Here are my settings:


(autoload 'cperl-mode "cperl-mode" "perl editing environment" t)
(setq auto-mode-alist
      (append '(("\\.asp$" . cperl-mode))  auto-mode-alist ))
(setq auto-mode-alist
      (append '(("\\.asa$" . cperl-mode))  auto-mode-alist ))


(autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t)
(setq auto-mode-alist
      (append '(("\\.inc$" . html-helper-mode))  auto-mode-alist ))


As always, YMMV

Enjoy.  Emacs is a wonderful tool.

Steve
_____________________
Stephen Bardsley
RLW Inc.
Malta, NY 

> -----Original Message-----
> From: y [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 19, 2002 11:08 AM
> To: [EMAIL PROTECTED]
> Subject: Emacs support
> 
> 
> Could anyone explain how to set up the colour scheme for Emacs ?
> 
>    Thanks,
>    -- Yuval
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to