Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 2C9F36DE00CE for ; Tue, 3 May 2016 05:43:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.186 X-Spam-Level: X-Spam-Status: No, score=-0.186 tagged_above=-999 required=5 tests=[AWL=-0.119, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652, UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0-7JVuRTRI5z for ; Tue, 3 May 2016 05:43:29 -0700 (PDT) Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by arlo.cworth.org (Postfix) with ESMTPS id 811F16DE009B for ; Tue, 3 May 2016 05:43:29 -0700 (PDT) Received: by mail-wm0-f43.google.com with SMTP id n129so145369924wmn.1 for ; Tue, 03 May 2016 05:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dme-org.20150623.gappssmtp.com; s=20150623; h=to:subject:in-reply-to:references:from:date:message-id:mime-version; bh=Yk3h7P7rr3N/BZG+WTJ01gY0smGDsMUCrdTE4bAYByU=; b=fIY7dHcMQrQjnjVIz0zBiTsA9dgCSuqKhkWUvD7ekssGdqgl41+yMQMdtJban9v260 mVdd5PxD4yt5pLmsCm5j6GveISO9BZbIppxUAdXbIDo9hAP9MEsI2eD1HHl5iLdxmSAA vTBMJRqQmFPgB1Tq7FBv4WgW1uTH4W9NIwks/rH/txuqp8eOOcuOWXVCa+sIiYjAGVdM SghA1FyGiLzfKsBetnM+f8LdrfIvQvomCaxISzptG1FQUE3OqtnYG2WPBF92r8kkdRmU TJ5nZ5mLKLaQkunUTfoPvpS6/3IMyiu17FbuuNkVnKOOSXlEDoqeVyjRRnsD4+ZIVNk0 lTKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:in-reply-to:references:from:date :message-id:mime-version; bh=Yk3h7P7rr3N/BZG+WTJ01gY0smGDsMUCrdTE4bAYByU=; b=GZJQa/YAFzLlAjBITe10GpLkNfVroubcDKHZwAodTtbDY0d8zMIAFygJWzcvStXMRs JVuD96JYLRXuu1gzIxP1PS/hvGT6Pg26JjQnx04/pPf4iW4GQHF8rBplyxTz8QkpYoKh 5Z7YKHUqF4GjKw+3SEDpxuzGDgdURPiUsDGFp4fCURTVWsxVZERyZ+Dx40gUrVQqAeci daJUgu/kmaEpEaXcU4aOVtv4xNo3NXIoX/AZDUqUKhl2UlxdKV+t+4e72dKAfi2H7kVS fL6vI3+nbhsTX/Z6gL0oMaGkBDKAne6EYzlCgFXMk/I52Cj7WZOWNWMKdoV4SKMrgMa7 uRSw== X-Gm-Message-State: AOPr4FXKqSCdOYNRo69C3pck0T7kJwpHAvLMRT//Dn9fOqJhSY4N8qgYYaneSbUmnIjrQA== X-Received: by 10.28.232.1 with SMTP id f1mr3230304wmh.6.1462279408151; Tue, 03 May 2016 05:43:28 -0700 (PDT) Received: from disaster-area.hh.sledj.net ([2a01:348:1a2:1:ea39:35ff:fe2c:a227]) by smtp.gmail.com with ESMTPSA id w82sm4311523wmw.5.2016.05.03.05.43.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 May 2016 05:43:26 -0700 (PDT) Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id e0f8253a; Tue, 3 May 2016 12:43:24 +0000 (UTC) To: Sanel Zukan , notmuch@notmuchmail.org Subject: Re: Disabling zip archives preview In-Reply-To: <87inyvphrb.fsf@darkstar.example.net> References: <87inyvphrb.fsf@darkstar.example.net> From: David Edmondson Date: Tue, 03 May 2016 13:43:24 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2016 12:43:38 -0000 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))