unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Bernardo Bacic <bernardo.bacic@pobox.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Trouble getting archives to load as archives
Date: Tue, 08 Jul 2008 20:52:14 +1000	[thread overview]
Message-ID: <487346DE.80503@pobox.com> (raw)
In-Reply-To: <g4v3aa$p0q$1@ger.gmane.org>

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 <Peter_Dyballa@web.de>:
>>> 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?




  parent reply	other threads:[~2008-07-08 10:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-03 22:59 Trouble getting archives to load as archives Davin Pearson
2008-07-04  5:38 ` Thierry Volpiatto
2008-07-05  1:37   ` Davin Pearson
2008-07-06 10:59     ` Thierry Volpiatto
2008-07-04 21:57 ` Peter Dyballa
     [not found] ` <mailman.14225.1215208751.18990.help-gnu-emacs@gnu.org>
2008-07-05  1:32   ` Davin Pearson
2008-07-05  2:23     ` Bernardo Bacic
2008-07-05  2:57       ` Davin Pearson
2008-07-05  8:19         ` Peter Dyballa
2008-07-06  8:21           ` Davin Pearson
2008-07-08  7:00             ` Kevin Rodgers
2008-07-08  7:23               ` Peter Dyballa
2008-07-08 10:52               ` Bernardo Bacic [this message]
2008-07-08 11:24                 ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=487346DE.80503@pobox.com \
    --to=bernardo.bacic@pobox.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).