Re: How to edit ^E attachment type permananet?
- To: mutt-users@xxxxxxxx
- Subject: Re: How to edit ^E attachment type permananet?
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Tue, 27 Nov 2007 10:53:37 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date:from:to:subject:message-id:references:mime-version:content-type:in-reply-to; q=dns/txt; s=default; bh=biRlJfORG/r/rY9ud+WYUQnwNes=; b=CmVa0+yhHxPOEFcDc1TIeAA1ckJQDTaDK9OstHqcWOJO2nVPNX+nUzFqO2hMMV/T6Vaes8XSu8v2v82htUEYMQMsYthnhc2HILnuqhn3vglLBpvgUTEzZYJ28YkhKwvQx03o9a+TBJwKZirOeYqKalws8APX8WG2vmFL2V7+7MY=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=ab8gAwI4rQSSkcO81USkSPK4j484iBBVPt8M+fAjS3YP98KJ2CuShXxJBoyREQwA4huyeQM5qtPlqk4EXsc+lQKwuQABDqWn+j0/cJqfuHATcQWwAIoXliJenOMd/w33f3WrGI5a1p9vJVYcHsVVmYlLTy+HPNCZB2DXWDUjjFI=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
- In-reply-to: <20071122050548.GS806@xxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20071122050548.GS806@xxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.17 (2007-11-15)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday, November 22 at 06:05 AM, quoth Michelle Konzack:
> OK, I go into the attachment view and edit the
> "application/octet-stream" to "application/pdf" and now I can view
> the PDF. Now I leave the mailfolder (it is saved) and swicht to
> another mailfolder and then come back to the mailfolder with the PDF
> message and I have to reedit this shit.
>
> Question: HOW to edit it permanently?
Don't. The best solution is to add the following to your muttrc:
mime_lookup application/octet-stream
You'll (almost) never have to edit an attachment type again!
What that does is tells mutt that attachments of that mime-type should
be opened up according to their filename, so as long as the file they
send ends in .pdf you're in good shape!
~Kyle
- --
The chief enemy of creativity is 'good taste.'
-- Pablo Picasso
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFHTEuRBkIOoMqOI14RAla/AKCpgrV0YmvXYTO09wgsPw/7p3l/2ACfVYZu
z1rgtiduK6eL9wd9nSC3SnA=
=iWsc
-----END PGP SIGNATURE-----