# HG changeset patch # User Stefan Monnier # Date 1190222789 0 # Node ID 04f3172e88f3cb481178ca4bb6591952a8671c23 # Parent f9580a1df229058754ba41b98ffeae810dd50dc1 (auto-mode-alist): Use archive-mode for .rar files. diff -r f9580a1df229 -r 04f3172e88f3 lisp/ChangeLog --- a/lisp/ChangeLog Wed Sep 19 17:26:02 2007 +0000 +++ b/lisp/ChangeLog Wed Sep 19 17:26:29 2007 +0000 @@ -1,5 +1,9 @@ 2007-09-19 Stefan Monnier + * files.el (auto-mode-alist): Use archive-mode for .rar files. + + * international/mule.el (auto-coding-alist): Rar archives are binary. + * arc-mode.el: Add basic support for Rar. (archive-find-type): Recognize Rar's signature. (archive-desummarize): New fun. diff -r f9580a1df229 -r 04f3172e88f3 lisp/files.el --- a/lisp/files.el Wed Sep 19 17:26:02 2007 +0000 +++ b/lisp/files.el Wed Sep 19 17:26:29 2007 +0000 @@ -2013,8 +2013,9 @@ ("\\.tar\\'" . tar-mode) ;; The list of archive file extensions should be in sync with ;; `auto-coding-alist' with `no-conversion' coding system. - ("\\.\\(arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\)\\'" . archive-mode) - ("\\.\\(ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\)\\'" . archive-mode) + ("\\.\\(\ +arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|rar\\|\ +ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\)\\'" . archive-mode) ("\\.\\(sx[dmicw]\\|odt\\)\\'" . archive-mode) ; OpenOffice.org ;; Mailer puts message to be edited in ;; /tmp/Re.... or Message