I just noticed that tar-mode is a little overrepresented
on auto-mode-alist, containing the following:
("\\.tar$" . tar-mode)
("\\.tar$" . tar-mode)
("\\.tar\\'" . tar-mode)
("\\.tgz\\'" . tar-mode)
These definitions come from:
lisp/files.el (defvar auto-mode-alist '(... ("\\.tar\\'" . tar-mode)
xemacs-packages:
lisp/os-utils/auto-autoloads.el:(setq auto-mode-alist (cons (cons tar-regexp
'tar-mode) auto-mode-alist))
lisp/os-utils/jka-compr.el: (list (cons "\\.tgz\\'" 'tar-mode))
lisp/os-utils/tar-mode.el(setq auto-mode-alist (cons (cons tar-regexp 'tar-mode)
auto-mode-alist))
Perhaps this should be replaced with one pattern that matches .tar,
.taz, and .tgz?
("\\.t\\(ar\\|gz\\|az\\)\\'" . tar-mode)
-jeff