Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation

2011-02-22 Thread Albin Stjerna
-- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 489 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110222/4c813c9b/attachment.pgp>

Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation

2011-02-22 Thread Albin Stjerna
ong address, I think I've cancelled my waiting for moderator approval now. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 489 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110222/d47b2d38/attachment.pgp>

Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation

2011-02-22 Thread Rob Browning
Daniel Kahn Gillmor writes: > On 02/22/2011 02:42 PM, Albin Stjerna wrote: >> On Tue, 22 Feb 2011 13:33:56 -0500, Daniel Kahn Gillmor > fifthhorseman.net> wrote: >>> i think the correct solution would have nothing to do with text/html vs >>> text/plain, but would have to do with whether the messa

Re: Spam and mailing list filtering?

2011-02-22 Thread James Vasile
On Thu, 10 Feb 2011 12:20:55 +, Daniel Barlow wrote: > 1) (How) can I filter on the X-Spam-Bar header to chop out spam and > suspected spam? I just integrated Spambayes into my notmuch toolchain. It's crude, but here's how it works: My script does `find -mtime 0 | xargs grep -L ^X-Spambayes

DB Corruption

2011-02-22 Thread James Vasile
This email is a gentle reminder to back up your tags unless they are 100% mechanically generated. Last night, while testing some scripts that do a bunch of "notmuch new", "notmuch tag" and "notmuch search" commands, I suddenly started getting an error: "A Xapian exception occurred opening databas

Re: Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation

2011-02-22 Thread Rob Browning
Daniel Kahn Gillmor writes: > On 02/22/2011 02:42 PM, Albin Stjerna wrote: >> On Tue, 22 Feb 2011 13:33:56 -0500, Daniel Kahn Gillmor >> wrote: >>> i think the correct solution would have nothing to do with text/html vs >>> text/plain, but would have to do with whether the message is >>> multip

Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation

2011-02-22 Thread Daniel Kahn Gillmor
even with M-x notmuch-show-view-all-mime-parts, which surprises me a bit). --dkg -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 1030 bytes Desc: OpenPGP digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110222/a4e22293/attachment.pgp>

Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation

2011-02-22 Thread Daniel Kahn Gillmor
chmail.org/pipermail/notmuch/attachments/20110222/2b512f1a/attachment.pgp>

Re: Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation

2011-02-22 Thread Daniel Kahn Gillmor
On 02/22/2011 02:42 PM, Albin Stjerna wrote: > On Tue, 22 Feb 2011 13:33:56 -0500, Daniel Kahn Gillmor > wrote: >> i think the correct solution would have nothing to do with text/html vs >> text/plain, but would have to do with whether the message is >> multipart/mixed or multipart/alternative. >

Re: Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation

2011-02-22 Thread Albin Stjerna
On Tue, 22 Feb 2011 13:33:56 -0500, Daniel Kahn Gillmor wrote: > i think the correct solution would have nothing to do with text/html vs > text/plain, but would have to do with whether the message is > multipart/mixed or multipart/alternative. Thanks for pointing that out — I see my poor knowled

Re: Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation

2011-02-22 Thread Daniel Kahn Gillmor
On 02/22/2011 01:19 PM, Albin Stjerna wrote: > 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.

Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation

2011-02-22 Thread Albin Stjerna
Hello, notmuch list! I've noticed many email clients (gmail most notably) send all mails—even when strictly unnecessary—both as html and as plain text MIME, making them harder to read in standard (Emacs) notmuch—you get each message two times! Also, the html view doesn't handle citing very well,