6 '("\\.htaccess$" . apache-mode)
7 '("httpd\\.conf$" . apache-mode)
8 '("srm\\.conf$" . apache-mode)
9 '("access\\.conf$" . apache-mode)
10 '("apache[12]\?\\.conf$" . apache-mode)
11 '("commonapache[12]\?\\.conf$" . apache-mode)
14 '("\\.class\\.asp$" . basic-mode)
15 '("\\.vbs$" . basic-mode)
18 '("\\.ascx$" . csharp-mode)
19 '("\\.cs$" . csharp-mode)
22 '("\\.css$" . css-mode)
25 '("\\.ebuild$" . ebuild-mode)
31 '("\\.l?hs$" . haskell-mode)
33 ;; octave-mode, the extension is a MATLAB relic.
34 '("\\.m$" . octave-mode)
37 '("\\.cfg$" . nagios-mode)
40 '("\\.asp$" . nxml-mode)
41 '("\\.aspx$" . nxml-mode)
42 '("\\.xml$" . nxml-mode)
43 '("\\.?html$" . nxml-mode)
44 '("\\.config$" . nxml-mode)
45 '("\\.tpl$" . nxml-mode) ;; Smarty templates
46 '("\\.rdf$" . nxml-mode)
47 '("\\.xul$" . nxml-mode)
50 '("\\.php$" . php-mode)
51 '("\\.module$" . php-mode) ;; Drupal modules
54 '("\\.pyx?$" . python-mode)
57 '("\\.rake$" . ruby-mode)
58 '("\\.rb$" . ruby-mode)
60 ;; Perhaps surprisingly, I do not use Emacs as my PDF viewer.
61 '("\\.pdf$" . fundamental-mode)