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 '("\\.ascx$" . csharp-mode)
15 '("\\.cs$" . csharp-mode)
18 '("\\.css$" . css-mode)
21 '("\\.ebuild$" . ebuild-mode)
27 '("\\.l?hs$" . haskell-mode)
29 ;; octave-mode, the extension is a MATLAB relic.
30 '("\\.m$" . octave-mode)
33 '("\\.cfg$" . nagios-mode)
36 '("\\.asp$" . nxml-mode)
37 '("\\.aspx$" . nxml-mode)
38 '("\\.xml$" . nxml-mode)
39 '("\\.?html$" . nxml-mode)
40 '("\\.config$" . nxml-mode)
41 '("\\.tpl$" . nxml-mode) ;; Smarty templates
42 '("\\.rdf$" . nxml-mode)
43 '("\\.xul$" . nxml-mode)
46 '("\\.php$" . php-mode)
47 '("\\.module$" . php-mode) ;; Drupal modules
50 '("\\.pyx?$" . python-mode)
53 '("\\.rake$" . ruby-mode)
54 '("\\.rb$" . ruby-mode)
56 ;; Perhaps surprisingly, I do not use Emacs as my PDF viewer.
57 '("\\.pdf$" . fundamental-mode)