bug-gnu-emacs
[Top][All Lists]
Advanced

[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 2.0.0.14 (Windows/20080421)

tags 541 wontfix
thanks

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]