[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#541: Trouble getting archive files to load

From: Jason Rumney
Subject: bug#541: Trouble getting archive files to load
Date: Mon, 07 Jul 2008 11:53:49 +0100
User-agent: Thunderbird (Windows/20080421)

tags 541 wontfix

Davin Pearson wrote:

> Running Emacs with -Q and -q and executing the following code:
> (add-to-list 'auto-mode-alist
> '("\\.\\(arc\\|zip\\|tar\\|gz\\|lzh\\|zoo\\)\\'" . archive-mode))
> gives the following error when I try to load a *.tar or *.tar.gz file:
> File mode specification error: (error "Buffer format not recognized")

Archive mode is not supposed to handle those formats. gz is handled by
jka-compr, which is enabled by default, and tar is handled by tar-mode,
also enabled by default. archive-mode is enabled by default for .arc,
.zip, .lzh and .zoo files as well as other formats, so removing that
line from your .emacs should make things work as desired.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]