[notmuch] [PATCH] Refactor notmuch-folder-add to avoid recursion. Allow notmuch-folders to contain folders with empty search criteria.

2010-02-24 Thread James Vasile
Refactor notmuch-folder-add to avoid recursion. Allow notmuch-folders to contain folders with empty search criteria. Setting a folder's search criteria to "" in notmuch-folders causes a label to be printed in notmuch-folder view. This is good for helping organizing folders, e.g. by using

[notmuch] envelope-to

2010-02-24 Thread James Vasile
Can notmuch search for envelope-to:? Or for that matter, can it search for arbitrary headers? I get a lot of BCC mail. The envelope-to is a good way for me to know which of my various addresses was BCC'd. Thanks.

[notmuch] [PATCH] Calls to notmuch get queued and executed asynchronously.

2010-02-24 Thread James Vasile
Sleep between retrying asynchronous notmuch commands and check for notmuch-process before firing off a new one If the db is locked when notmuch tries to write to it, an error is reported to the client (in this case, notmuch.el). Instead of accepting that error, wait a small amount of time and

Re: [notmuch] [PATCH] Calls to notmuch get queued and executed asynchronously.

2010-02-24 Thread James Vasile
Sleep between retrying asynchronous notmuch commands and check for notmuch-process before firing off a new one If the db is locked when notmuch tries to write to it, an error is reported to the client (in this case, notmuch.el). Instead of accepting that error, wait a small amount of time and

[notmuch] envelope-to

2010-02-24 Thread James Vasile
Can notmuch search for envelope-to:? Or for that matter, can it search for arbitrary headers? I get a lot of BCC mail. The envelope-to is a good way for me to know which of my various addresses was BCC'd. Thanks. ___ notmuch mailing list

[notmuch] [PATCH] Calls to notmuch get queued and executed asynchronously.

2010-02-23 Thread James Vasile
Added notmuch-enqueue-asynch to replace calls to notmuch-call-notmuch-process. Calls to notmuch are then queued and executed asynchronously. If the db is busy and we get an error saying it was locked, keep trying until the db is no longer busy. Errors go in a buffer as per usual. The only

[notmuch] [PATCH] Calls to notmuch get queued and executed asynchronously.

2010-02-23 Thread James Vasile
Added notmuch-enqueue-asynch to replace calls to notmuch-call-notmuch-process. Calls to notmuch are then queued and executed asynchronously. If the db is busy and we get an error saying it was locked, keep trying until the db is no longer busy. Errors go in a buffer as per usual. The only

[notmuch] notmuch.el patch for older emacs

2010-02-10 Thread James Vasile
Emacs22 lacks apply-partially and mouse-event-p, so define them if emacs version is less than 23. With this change, I was able to begin using notmuch in emacs22. apply-partially cribbed from http://notmuchmail.org/pipermail/notmuch/2009/000889.html diff --git a/notmuch.el b/notmuch.el index

[notmuch] notmuch.el patch for older emacs

2010-02-09 Thread James Vasile
Emacs22 lacks apply-partially and mouse-event-p, so define them if emacs version is less than 23. With this change, I was able to begin using notmuch in emacs22. apply-partially cribbed from http://notmuchmail.org/pipermail/notmuch/2009/000889.html diff --git a/notmuch.el b/notmuch.el index

<    1   2