Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 8685A431FB6 for ; Tue, 22 Feb 2011 10:19:44 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.699 X-Spam-Level: X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dBW4zHyzpTL0 for ; Tue, 22 Feb 2011 10:19:44 -0800 (PST) Received: from mail-bw0-f45.google.com (mail-bw0-f45.google.com [209.85.214.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id CB952431FB5 for ; Tue, 22 Feb 2011 10:19:43 -0800 (PST) Received: by bwz16 with SMTP id 16so3391834bwz.18 for ; Tue, 22 Feb 2011 10:19:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:cc:subject:user-agent:date :message-id:mime-version:content-type; bh=yqtAcThGDTzQokPx1KyXhow3zy0AJ0ib2HIkpn05K3U=; b=j83JcyoFJzcbWRRmU4F0UElnyvnZEngB73AhkzHbSG0Utj40TKN0IZjfTtztB1+rQt P4TSrIB7AO+8gVmcYJ7qSiN0I1VsYFiSOAo9MSjoPtDPxUSLIJWyCXIxyLAyQmcgAJqh YaeksX8bse4+iCGD0Bc8LGYlyiwH9MqnaKSS0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:user-agent:date:message-id:mime-version :content-type; b=pW3GiNdDjNUnx4+MoBzf7dACF/Gl0+yo/cPiYmqTkKu/3+97Tb0LIWjdT4kBQRedUE XFZQ6jIca1bjPX5k8aBYOD9lB93YNzthltiQMoWR4lX9ubrrZ3AggqECp07LqQcAA5LU VYC5pGibPuS0/Yrg/GIbEeQGDQhF+NjzzZ8f4= Received: by 10.204.33.70 with SMTP id g6mr2800244bkd.177.1298398782482; Tue, 22 Feb 2011 10:19:42 -0800 (PST) Received: from hecate.student.uu.se (nl110-96-173.student.uu.se [130.242.96.173]) by mx.google.com with ESMTPS id x38sm44115bkj.1.2011.02.22.10.19.41 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Feb 2011 10:19:42 -0800 (PST) Sender: Albin Stjerna From: Albin Stjerna To: notmuch Cc: Subject: Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation User-Agent: Notmuch/0.5-11-g7ae1494 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Tue, 22 Feb 2011 19:19:52 +0100 Message-ID: <878vx8c4on.fsf@hecate.student.uu.se> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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, 22 Feb 2011 18:19:44 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, notmuch list! I've noticed many email clients (gmail most notably) send all mails=E2=80= =94even when strictly unnecessary=E2=80=94both as html and as plain text MIME, maki= ng them harder to read in standard (Emacs) notmuch=E2=80=94you get each message two times! Also, the html view doesn't handle citing very well, which is really bad in the gmail case, since gmail encourages top-posting and ever-growing stacks of citation through its design. And those aren't fun to scroll through, to say the least. Also, I've seen a lot of encoding problems with the html mime parts (umlauts replaced with =C2=BB?=C2=AB for example). However, I do not want to hide /all/ html mime parts, since I'm following a lot of RSS feeds through sluk, which sends them as (only) html email (and no plain text). As far as I can tell, there's two solutions to this: 1. not showing the html mime part if there's also a plain-text part or 2. teaching notmuch's citation-scrubbing feature (hook?) to recognize citations in html as well, most urgently gmail's. Have any of these two solutions been attempted by anyone? Thanks in advance, Albin P.S. I'm sorry I first sent this email from the wrong address, I think I've cancelled my waiting for moderator approval now. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBCAAGBQJNY/5IAAoJENEsx6vBGurCNl8H/1GwJ+CETqp//OHN1vyK753q CJbgP+6lf0ER7uX/ZiKjZEJMe3LBtb96JtS1tnnA2rXFX/wOXUfahRNkcQ3EAMVp usucqwlHu0GWhha3eNNt5jK6ZO8jwpzXbrzJAvng92/sWi+SZvu9GjoVbVRLSK5D eyXGk62txIc5eSVf+Y+cd+izTDhGObCpokhIDc6xVNGFEiPVmgNfltOV+Qwmcnkw Rt3dLcSF8YahKP4vDrg0sR+EyAoT6ZyZ4wzl1xXnhIB7UPVXTzpzTR7gj+0gOW53 QVHWt68bHogZIbidt6f1GpyZc1f21Jv51BghosX5NN81K/gNTaIQIdQNKpHlOqQ= =/QkX -----END PGP SIGNATURE----- --=-=-=--