Re: notmuch for documents

2010-11-08 Thread Carl Worth
On Sat, 06 Nov 2010 16:12:17 -0400, Jameson Rollins 
jroll...@finestructure.net wrote:
 expected.  Try it: it really works!  There are only a couple of very
 little things that are a little funky:

Hey, that's pretty cool. I'm glad it's working so well for you.

   * allow me to specify which headers from my ebooks I want indexed
 (Author, Publisher, etc.)

Fortunately, that's a feature we're already planning to add (quite
soon!) even just to better support the indexing of email.

 So what do people think about this idea?  Does it make sense to look
 into extending notmuch to handle non-mail documents? 

I'm cautious about making any big changes to support a much wider use
case. But where little changes can make a big improvement here, I'm
ready to listen.

-Carl

-- 
carl.d.wo...@intel.com


pgpPRt14Hkf23.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: notmuch for documents

2010-11-06 Thread Jameson Rollins
On Sat, 06 Nov 2010 20:40:10 +, Darren McGuicken 
mailing-notm...@fernseed.info wrote:
 I recently started using feed2imap in order to get notmuch tagging and
 searching for rss, I'm sure I'm not alone.

Hey, Darren.  Total side note, but you might be interested in the recent
message from Kristoffer about his nice rss2message utility, sluk, that
works great for translating rss feeds into notmuch-indexable messages:

http://github.com/krl/sluk/
id:87d3rgzdyj@rymdkoloni.se

jamie.


pgpK9pxhFu9mJ.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: notmuch for documents

2010-11-06 Thread Darren McGuicken
On Sat, 06 Nov 2010 16:12:17 -0400, Jameson Rollins 
jroll...@finestructure.net 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.


pgp5Ghu2R6pb8.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: notmuch for documents

2010-11-06 Thread Darren McGuicken
On Sat, 06 Nov 2010 23:28:21 +, Darren McGuicken 
mailing-notm...@fernseed.info wrote:
 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).

Hmm, looks like Michal's patch back in July fixes this behaviour:

 id:1279279955-3110-1-git-send-email-sojk...@fel.cvut.cz


pgpYjG6qnygv5.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch