[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trouble getting archives to load as archives
From: |
Peter Dyballa |
Subject: |
Re: Trouble getting archives to load as archives |
Date: |
Fri, 4 Jul 2008 23:57:39 +0200 |
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.
- Trouble getting archives to load as archives, Davin Pearson, 2008/07/03
- Re: Trouble getting archives to load as archives, Thierry Volpiatto, 2008/07/04
- Re: Trouble getting archives to load as archives,
Peter Dyballa <=
- Message not available
- Re: Trouble getting archives to load as archives, Davin Pearson, 2008/07/04
- Re: Trouble getting archives to load as archives, Bernardo Bacic, 2008/07/04
- Re: Trouble getting archives to load as archives, Davin Pearson, 2008/07/04
- Re: Trouble getting archives to load as archives, Peter Dyballa, 2008/07/05
- Re: Trouble getting archives to load as archives, Davin Pearson, 2008/07/06
- Re: Trouble getting archives to load as archives, Kevin Rodgers, 2008/07/08
- Re: Trouble getting archives to load as archives, Peter Dyballa, 2008/07/08
- Re: Trouble getting archives to load as archives, Bernardo Bacic, 2008/07/08
- Re: Trouble getting archives to load as archives, Peter Dyballa, 2008/07/08