unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Disabling zip archives preview
@ 2016-05-03 10:18 Sanel Zukan
  2016-05-03 12:43 ` David Edmondson
  0 siblings, 1 reply; 3+ messages in thread
From: Sanel Zukan @ 2016-05-03 10:18 UTC (permalink / raw)
  To: notmuch

Hi guys,

Pardon me if this question was asked before, is it possible to disable
automatic preview of zip/archive attachments and keep it toggled as
hidden?

I often get spam (who does not?) with zip archives and some javascript
junk, which emacs happily open and tries to paint; beside
stability/security implications (gobbled text could cause font-lock to
go mad), I'm not fond of viewing that junk either.

If you can, please CC me with reply as I'm not member of this list.

Thanks in advace.

Best,
Sanel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Disabling zip archives preview
  2016-05-03 10:18 Disabling zip archives preview Sanel Zukan
@ 2016-05-03 12:43 ` David Edmondson
  2016-05-03 14:31   ` Sanel Zukan
  0 siblings, 1 reply; 3+ messages in thread
From: David Edmondson @ 2016-05-03 12:43 UTC (permalink / raw)
  To: Sanel Zukan, notmuch

On Tue, May 03 2016, Sanel Zukan wrote:
> Hi guys,
>
> Pardon me if this question was asked before, is it possible to disable
> automatic preview of zip/archive attachments and keep it toggled as
> hidden?
>
> I often get spam (who does not?) with zip archives and some javascript
> junk, which emacs happily open and tries to paint; beside
> stability/security implications (gobbled text could cause font-lock to
> go mad), I'm not fond of viewing that junk either.

Remove "application/zip" from `mm-inlined-types':

(setq mm-inlined-types (remove "application/zip" mm-inlined-types))

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Disabling zip archives preview
  2016-05-03 12:43 ` David Edmondson
@ 2016-05-03 14:31   ` Sanel Zukan
  0 siblings, 0 replies; 3+ messages in thread
From: Sanel Zukan @ 2016-05-03 14:31 UTC (permalink / raw)
  To: David Edmondson, notmuch

David Edmondson <dme@dme.org> writes:
> Remove "application/zip" from `mm-inlined-types':
>
> (setq mm-inlined-types (remove "application/zip" mm-inlined-types))

Thanks!

Cheers,
Sanel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-03 14:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-03 10:18 Disabling zip archives preview Sanel Zukan
2016-05-03 12:43 ` David Edmondson
2016-05-03 14:31   ` Sanel Zukan

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

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).