From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Davin Pearson <davin.pearson@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Trouble getting archives to load as archives
Date: Fri, 4 Jul 2008 23:57:39 +0200 [thread overview]
Message-ID: <7F287E8D-7B68-402C-A4D2-23CA252AD10D@Web.DE> (raw)
In-Reply-To: <f1ce82e6-59be-4302-888e-c4e7a74cf9ff@f63g2000hsf.googlegroups.com>
Am 04.07.2008 um 00:59 schrieb Davin Pearson:
> (setq auto-mode-alist
> (cons '("\\.\\(arc\\|zip\\|lzh\\|zoo\\)\\'" . archive-mode)
> auto-mode-alist))
Using
(add-to-list 'auto-mode-alist '("\\.\\(arc\\|zip\\|lzh\\|zoo\\)\
\'" . archive-mode))
should put your additions atop of the old entries. I've also seen
statements similiar to this
(setq auto-mode-alist
(append
'(("\\.\\(arc\\|zip\\|lzh\\|zoo\\)\\'" . archive-mode)
auto-mode-alist)))
The documentation on auto-mode-alist emphasises:
The extensions whose FUNCTION is `archive-mode' should also
appear in `auto-coding-alist' with `no-conversion' coding system.
which should be fulfilled for your file types. Anyway, in my Emacsen
I have defined in auto-mode-alist:
("\\.\\(arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\)\\'" .
archive-mode)
("\\.\\(ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\)\\'" .
archive-mode)
Are these too many members?
--
Greetings
Pete
A child of five could understand this! Fetch me a child of five.
next prev parent reply other threads:[~2008-07-04 21:57 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 [this message]
[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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7F287E8D-7B68-402C-A4D2-23CA252AD10D@Web.DE \
--to=peter_dyballa@web.de \
--cc=davin.pearson@gmail.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.