httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wheeler <da...@wheeler.net>
Subject Re: cvs commit: httpd-apreq-2/glue/perl/t/response/TestApReq inherit.pm request.pm
Date Sat, 14 Jun 2003 14:22:26 GMT
On Saturday, June 14, 2003, at 01:44  AM, Joe Schaefer wrote:

> It serves no practical purpose other than to inform emacs of the
> file type (as well as being conventional for perl scripts).  The
> tests (.t files) aren't ever directly executed by a shell, so the
> actual path isn't important.

I personally don't like to put editor-specific stuff into files. I use 
this in my ~/.emacs, instead:

(setq auto-mode-alist
       (append
        '(("\\.\\([pP]\\([Llm]\\|erl\\)\\|al\\|pod\\|t\\)\\'" . 
cperl-mode))
        auto-mode-alist))

Gotta love lisp regexen, though, eh? ;-)

David

-- 
David Wheeler                                     AIM: dwTheory
david@kineticode.com                              ICQ: 15726394
http://kineticode.com/                         Yahoo!: dew7e
                                                Jabber: Theory@jabber.org
Kineticode. Setting knowledge in motion.[sm]


Mime
View raw message