From defe92671a9b22f929275aead8c45cbfde9622a1 Mon Sep 17 00:00:00 2001 From: Darren McGuicken Date: Sat, 6 Nov 2010 23:28:21 +0000 Subject: [PATCH] Re: notmuch for documents --- 91/92ca7dd9d22c8488c07de778e07fac0726531c | 102 ++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 91/92ca7dd9d22c8488c07de778e07fac0726531c diff --git a/91/92ca7dd9d22c8488c07de778e07fac0726531c b/91/92ca7dd9d22c8488c07de778e07fac0726531c new file mode 100644 index 000000000..10e2412a7 --- /dev/null +++ b/91/92ca7dd9d22c8488c07de778e07fac0726531c @@ -0,0 +1,102 @@ +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 2326C4196F2 + for ; Sat, 6 Nov 2010 16:28:36 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.459 +X-Spam-Level: ** +X-Spam-Status: No, score=2.459 tagged_above=-999 required=5 + tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, + DKIM_VALID_AU=-0.1, FH_HOST_IN_ADDRARPA=2.157, RCVD_IN_RP_RNBL=1.31, + RDNS_DYNAMIC=0.982, T_MIME_NO_TEXT=0.01] autolearn=no +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 P1IN+hYjJwoG for ; + Sat, 6 Nov 2010 16:28:26 -0700 (PDT) +Received: from silentio.fernseed.info (202.4.169.217.in-addr.arpa + [217.169.4.202]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 07DC94196F0 + for ; Sat, 6 Nov 2010 16:28:25 -0700 (PDT) +Received: from localhost (bookbinder.fernseed.info + [IPv6:2001:8b0:ff94:1:224:2cff:fe37:838b]) + (Authenticated sender: darren) + by silentio.fernseed.info (Postfix) with ESMTPSA id 01EB8554; + Sat, 6 Nov 2010 23:28:22 +0000 (GMT) +DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fernseed.info; + s=default; t=1289086103; + bh=rUY89AnwMmsrRixeLu/W6jJOX/PHzvXCip0X4ND+VH8=; + h=From:To:Subject:In-Reply-To:References:Date:Message-ID: + MIME-Version:Content-Type; + b=Y9+PTOTtWzIEbpTa8GpkAFme5yqqzlgzwBbVemy5UjPvwY3G6UEUgyer4764mGHdg + N5Lyo0lDuYgywiSsomoycOJTniVFdNI9TqN1DaSvPFgwvhPVT+LhdDWb90oCsGrQCD + WJPswERI/4WJiM+kOQ4gO0sg6nBPaXASff+7ELgw= +From: Darren McGuicken +To: Jameson Rollins , + Notmuch Mail +Subject: Re: notmuch for documents +In-Reply-To: <87k4kqp5y6.fsf@servo.finestructure.net> +References: <87k4kqp5y6.fsf@servo.finestructure.net> +User-Agent: Notmuch/0.4-14-geb8caad (http://notmuchmail.org) Emacs/23.1.1 + (i486-pc-linux-gnu) +Date: Sat, 06 Nov 2010 23:28:21 +0000 +Message-ID: <87d3qighgq.fsf@bookbinder.fernseed.info> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha1; 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: Sat, 06 Nov 2010 23:28:36 -0000 + +--=-=-= + +On Sat, 06 Nov 2010 16:12:17 -0400, Jameson Rollins wrote: +> But that's it! Everything else works as a perfect ebook indexer. I +> can of course even add tags to my books. Beautiful. It's really +> quite incredible how well it works for this out of the box. The only +> other issue is that my ebooks don't come in rfc5322-formatted files. +> I have to translate them for notmuch to work. + +I've now had a chance to play with this a little and while indexing, +tagging and searching all seem to work as expected, I am getting the +error 'Stack overflow in regexp matcher' when I try to view any of the +ebooks which either leaves the buffer basically useless (no notmuch key +shortcuts will work) or leads to a full segfault in emacs (23.1.1). + +The trace begins: + +Debugger entered--Lisp error: (error "Stack overflow in regexp matcher") + re-search-forward("\\(^[^>]+\\)\n>" nil t) + notmuch-wash-tidy-citations(0) + run-hook-with-args(notmuch-wash-tidy-citations 0) + notmuch-show-insert-part-text/plain((:body ((:content "The Project + Gutenberg EBook of The Adventures of Sherlock Holmes\nby Sir Art... + +The contents of the ':content' part appears to be the complete text of +the novel. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.10 (GNU/Linux) + +iEYEARECAAYFAkzV5JYACgkQP1ao/7snsT7mwgCfXN8TS7FWxUWJSA4EBwl/iD9+ +wMkAn33hReOomB8K3RSMALbtGeF6/Ngh +=vrG8 +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2