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

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

Re: Trouble getting archives to load as archives


From: Bernardo Bacic
Subject: Re: Trouble getting archives to load as archives
Date: Tue, 08 Jul 2008 20:52:14 +1000
User-agent: Thunderbird 2.0.0.14 (X11/20080421)

it was a dark and stormy night when Kevin Rodgers said, On 07/08/2008 05:00 PM:
Davin Pearson wrote:
2008/7/5 Peter Dyballa <address@hidden>:
How does it work when you invoke GNU Emacs as 'emacs -Q' or 'emacs -q' ?
With -Q neither the system's nor your own customisation is loaded, with -q
your's not loaded. In either both or in one case GNU Emacs should behave
correctly ...

With -q and -Q and the following:

(add-to-list 'auto-mode-alist
'("\\.\\(arc\\|zip\\|tar\\|gz\\|lzh\\|zoo\\)\\'" . archive-mode))

Then loading a *.tar or *.gz file generates the following error messages:

File mode specification error: (error "Buffer format not recognized") [3 times]

That's because archive-mode does not support .tar or .gz files.  From
arc-mode.el (Emacs 22.2):

Emacs 22.1.1 started with -Q option (under GNU/Linux) opens a *.tgz file with no problems.
(info "(emacs) Compressed Files")

From memory, the OP was referring to version 21.*, not sure what the situation is there. Perhaps adding tar and gz extensions to auto-mode-alist was unnecessary?




reply via email to

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