From: Noel Yap <yap_noel@yahoo.com>
To: Kevin Dziulko <mrzippy21@hotmail.com>
Subject: Re: setting makefile-mode for specific filenames
Date: Tue, 11 Jun 2002 06:00:24 -0700 (PDT)
--- Kevin Dziulko <mrzippy21@hotmail.com> wrote:
> I'm not exactly sure what you need with an exact
> match.
> Putting in the:
> setq auto-mode-alist (cons '("mymakefile$" .
> makefile-mode)
> auto-mode-alist))
>
> should automaticlly put you in Makefile mode when
> opening files with names
> like mymakefile & also_mymakefile, but not with
> files like mymakefile_too.
> Are you trying to make it so it's only for files
> named mymakefile?
Yes. In fact, I now find that I'd like to make a
match based on prefix as well. IOW, I'd like
makefile-mode for files that start with "mymakefile".
For example, "mymakefile0" and "mymakefile1" but not
"also_mymakefile".
Thanks,
Noel
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com