From: "Molitor, Stephen" <SMolitor@erac.com>
Subject: Adding file types for automatic uncompressing
Date: Mon, 22 Apr 2002 12:57:23 -0500 [thread overview]
Message-ID: <A35A461EBB6BD511859E0002A56B89CC01CDBE61@EXCORP03.corp.erac.com> (raw)
I'd like to add a few file types to the set of compressed file types, so
that when I open a file via find-file or dired, it automatically get's
uncompressed. Specifily, .ear and .war files. These are just zip files,
with different extensions. I tried doing this:
(setq auto-mode-alist (cons '("\\.ear$" . ear-mode) auto-mode-alist))
(setq file-name-buffer-file-type-alist (cons '("\\.ear$" . t)
file-name-buffer-file-type-alist))
But that didn't seem to have any effect.
Thanks!
Steve Molitor
smolitor@erac.com
next reply other threads:[~2002-04-22 17:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-22 17:57 Molitor, Stephen [this message]
2002-04-23 2:11 ` Adding file types for automatic uncompressing G Anna
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=A35A461EBB6BD511859E0002A56B89CC01CDBE61@EXCORP03.corp.erac.com \
--to=smolitor@erac.com \
/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).