Gnus development mailing list
 help / color / mirror / Atom feed
From: "Sebastian P. Luque" <spluque@gmail.com>
To: ding@gnus.org
Subject: Re: default mime for attaching files
Date: Thu, 08 Feb 2007 23:22:49 -0600	[thread overview]
Message-ID: <87lkj7q506.fsf@patagonia.sebmags.homelinux.org> (raw)
In-Reply-To: <b4mzm7oyts4.fsf@jpl.org>

On Fri, 09 Feb 2007 11:00:27 +0900,
Katsumi Yamaoka <yamaoka@jpl.org> wrote:

[...]

> If you customize it while Gnus is running, you need to perform `C-u M-x
> mailcap-parse-mimetypes RET' after saving the file.  In addition, you
> may possibly need to set the MIMETYPES environment variable to the file
> name.  To do it for only Emacs, add this line to the ~/.emacs file:

> (setenv "MIMETYPES" "~/.mime.types")

Thanks Katsumi, this was very instructive.  I realize I do have both a
/etc/mime.types _and_ ~/.mime.types (the first installed by Debian testing
and the second by crossover¹).  Your line for specifying the tar type was
already in /etc/mime.types, so I just added:


application/x-gzip gz


to ~/.mime.types and reparsed as you suggested.  It does what I was
looking for.

The reason I wanted to do this is that people I've sent *.tar.gz files
with the default application/octet-stream complained that they couldn't
"open them" well in their systems (I couldn't get more details than
that).  So I came across this:

http://en.wikipedia.org/wiki/Gzip

Is this incorrect?


Thanks,


+---- *Footnotes* ----+
¹ The Windoze emulator

-- 
Seb




  reply	other threads:[~2007-02-09  5:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-09  0:52 Sebastian P. Luque
2007-02-09  2:00 ` Katsumi Yamaoka
2007-02-09  5:22   ` Sebastian P. Luque [this message]
2007-02-09  5:47     ` Katsumi Yamaoka
2007-02-17 23:46       ` Sebastian P. Luque
2007-02-18  0:34         ` Katsumi Yamaoka
2007-02-18  3:32           ` Miles Bader
2007-02-19 12:22             ` Katsumi Yamaoka
2007-02-19 19:49               ` Reiner Steib
2007-02-19 23:27                 ` Katsumi Yamaoka
2007-02-19 23:49                   ` Sebastian P. Luque

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=87lkj7q506.fsf@patagonia.sebmags.homelinux.org \
    --to=spluque@gmail.com \
    --cc=ding@gnus.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 NNTP newsgroup(s).