Mercurial > hg > xemacs-beta
comparison lisp/files.el @ 288:e11d67e05968 r21-0b42
Import from CVS: tag r21-0b42
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:35:54 +0200 |
parents | 57709be46d1b |
children | c9fe270a4101 |
comparison
equal
deleted
inserted
replaced
287:13a0bd77a29d | 288:e11d67e05968 |
---|---|
1137 ("\\.[ch]\\'" . c-mode) | 1137 ("\\.[ch]\\'" . c-mode) |
1138 ("\\.el\\'" . emacs-lisp-mode) | 1138 ("\\.el\\'" . emacs-lisp-mode) |
1139 ("\\.\\([CH]\\|cc\\|hh\\)\\'" . c++-mode) | 1139 ("\\.\\([CH]\\|cc\\|hh\\)\\'" . c++-mode) |
1140 ("\\.[ch]\\(pp\\|xx\\|\\+\\+\\)\\'" . c++-mode) | 1140 ("\\.[ch]\\(pp\\|xx\\|\\+\\+\\)\\'" . c++-mode) |
1141 ("\\.java\\'" . java-mode) | 1141 ("\\.java\\'" . java-mode) |
1142 ("\\.idl\\'" . idl-mode) | |
1142 ("\\.f\\(or\\)?\\'" . fortran-mode) | 1143 ("\\.f\\(or\\)?\\'" . fortran-mode) |
1143 ("\\.F\\(OR\\)?\\'" . fortran-mode) | 1144 ("\\.F\\(OR\\)?\\'" . fortran-mode) |
1144 ("\\.[fF]90\\'" . f90-mode) | 1145 ("\\.[fF]90\\'" . f90-mode) |
1145 ;;; Less common extensions come here | 1146 ;;; Less common extensions come here |
1146 ;;; so more common ones above are found faster. | 1147 ;;; so more common ones above are found faster. |
1158 ("\\.e\\'" . eiffel-mode) | 1159 ("\\.e\\'" . eiffel-mode) |
1159 ("\\.mss\\'" . scribe-mode) | 1160 ("\\.mss\\'" . scribe-mode) |
1160 ("\\.m\\([mes]\\|an\\)\\'" . nroff-mode) | 1161 ("\\.m\\([mes]\\|an\\)\\'" . nroff-mode) |
1161 ("\\.icn\\'" . icon-mode) | 1162 ("\\.icn\\'" . icon-mode) |
1162 ("\\.\\([ckz]?sh\\|shar\\)\\'" . sh-mode) | 1163 ("\\.\\([ckz]?sh\\|shar\\)\\'" . sh-mode) |
1164 ;; #### Unix-specific! | |
1163 ("/\\.\\(bash_\\|z\\)?\\(profile\\|login\||logout\\)\\'" . sh-mode) | 1165 ("/\\.\\(bash_\\|z\\)?\\(profile\\|login\||logout\\)\\'" . sh-mode) |
1164 ("/\\.\\([ckz]sh\\|bash\\|tcsh\\|es\\|xinit\\|startx\\)rc\\'" . sh-mode) | 1166 ("/\\.\\([ckz]sh\\|bash\\|tcsh\\|es\\|xinit\\|startx\\)rc\\'" . sh-mode) |
1165 ("/\\.\\([kz]shenv\\|xsession\\)\\'" . sh-mode) | 1167 ("/\\.\\([kz]shenv\\|xsession\\)\\'" . sh-mode) |
1166 ;;; The following should come after the ChangeLog pattern | 1168 ;;; The following should come after the ChangeLog pattern |
1167 ;;; for the sake of ChangeLog.1, etc. | 1169 ;;; for the sake of ChangeLog.1, etc. |
1176 ("\\.wrl\\'" . vrml-mode) | 1178 ("\\.wrl\\'" . vrml-mode) |
1177 ("\\.awk\\'" . awk-mode) | 1179 ("\\.awk\\'" . awk-mode) |
1178 ("\\.prolog\\'" . prolog-mode) | 1180 ("\\.prolog\\'" . prolog-mode) |
1179 ("\\.tar\\'" . tar-mode) | 1181 ("\\.tar\\'" . tar-mode) |
1180 ("\\.\\(arc\\|zip\\|lzh\\|zoo\\)\\'" . archive-mode) | 1182 ("\\.\\(arc\\|zip\\|lzh\\|zoo\\)\\'" . archive-mode) |
1181 ;; Mailer puts message to be edited in | 1183 ;; Mailer puts message to be edited in /tmp/Re.... or Message |
1182 ;; /tmp/Re.... or Message | 1184 ;; #### Unix-specific! |
1183 ("^/tmp/Re" . text-mode) | 1185 ("\\`/tmp/Re" . text-mode) |
1184 ("/Message[0-9]*\\'" . text-mode) | 1186 ("/Message[0-9]*\\'" . text-mode) |
1185 ("/drafts/[0-9]+\\'" . mh-letter-mode) | 1187 ("/drafts/[0-9]+\\'" . mh-letter-mode) |
1186 ;; some news reader is reported to use this | 1188 ;; some news reader is reported to use this |
1187 ("^/tmp/fol/" . text-mode) | 1189 ("^/tmp/fol/" . text-mode) |
1188 ("\\.y\\'" . c-mode) | 1190 ("\\.y\\'" . c-mode) |
1191 ("\\.oak\\'" . scheme-mode) | 1193 ("\\.oak\\'" . scheme-mode) |
1192 ("\\.s?html?\\'" . html-mode) | 1194 ("\\.s?html?\\'" . html-mode) |
1193 ("\\.htm?l?3\\'" . html3-mode) | 1195 ("\\.htm?l?3\\'" . html3-mode) |
1194 ("\\.\\(sgml?\\|dtd\\)\\'" . sgml-mode) | 1196 ("\\.\\(sgml?\\|dtd\\)\\'" . sgml-mode) |
1195 ("\\.c?ps\\'" . postscript-mode) | 1197 ("\\.c?ps\\'" . postscript-mode) |
1196 ;; .emacs following a directory delimiter | 1198 ;; .emacs following a directory delimiter in either Unix or |
1197 ;; in either Unix or VMS syntax. | 1199 ;; Windows syntax. |
1198 ("[]>:/]\\..*emacs\\'" . emacs-lisp-mode) | 1200 ("[/\\][._].*emacs\\'" . emacs-lisp-mode) |
1199 ;; _emacs following a directory delimiter | |
1200 ;; in MsDos syntax | |
1201 ("[:/]_emacs\\'" . emacs-lisp-mode) | |
1202 ("\\.m4\\'" . autoconf-mode) | 1201 ("\\.m4\\'" . autoconf-mode) |
1203 ("configure\\.in\\'" . autoconf-mode) | 1202 ("configure\\.in\\'" . autoconf-mode) |
1204 ("\\.ml\\'" . lisp-mode) | 1203 ("\\.ml\\'" . lisp-mode) |
1205 ("\\.ma?k\\'" . makefile-mode) | 1204 ("\\.ma?k\\'" . makefile-mode) |
1206 ("[Mm]akefile\\(\\.\\|\\'\\)" . makefile-mode) | 1205 ("[Mm]akefile\\(\\.\\|\\'\\)" . makefile-mode) |
1207 ("\\.X\\(defaults\\|environment\\|resources\\|modmap\\)\\'" . xrdb-mode) | 1206 ("\\.X\\(defaults\\|environment\\|resources\\|modmap\\)\\'" . xrdb-mode) |
1207 ;; #### The following three are Unix-specific (but do we care?) | |
1208 ("/app-defaults/" . xrdb-mode) | 1208 ("/app-defaults/" . xrdb-mode) |
1209 ("\\.[^/]*wm\\'" . winmgr-mode) | 1209 ("\\.[^/]*wm\\'" . winmgr-mode) |
1210 ("\\.[^/]*wm2?rc" . winmgr-mode) | 1210 ("\\.[^/]*wm2?rc" . winmgr-mode) |
1211 ("\\.[Jj][Pp][Ee]?[Gg]\\'" . image-mode) | 1211 ("\\.[Jj][Pp][Ee]?[Gg]\\'" . image-mode) |
1212 ("\\.[Pp][Nn][Gg]\\'" . image-mode) | 1212 ("\\.[Pp][Nn][Gg]\\'" . image-mode) |