bug report: xapian error for message id with '..'

2010-10-22 Thread Carl Worth
--- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101022/d5ba6218/attachment.pgp>

Automated testing of emacs interface

2010-10-22 Thread Carl Worth
r that functionality. Thanks, -Carl -- carl.d.worth at intel.com -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attach

[PATCH 2/2] emacs: Access raw messages via cat subcommand

2010-10-22 Thread Michal Sojka
This patch modifies the following commands to access the messages via cat subcommand: - view/save attachments ('v', 'w'), - view a raw message ('V') and - pipe a message to a command ('|'). With this patch, it is straightforward to use notmuch emacs interface with a remote database accessed over

[PATCH 1/2] Add 'cat' subcommand

2010-10-22 Thread Michal Sojka
This command outputs a raw message matched by search term to the standard output. It allows MUAs to access the messages for piping, attachment manipulation, etc. by running notmuch cat rather then directly access the file. This will simplify the MUAs when they need to operate on a remote database.

[PATCH 0/2] Notmuch cat v2

2010-10-22 Thread Michal Sojka
Hi all, this is my second attempt to implement notmuch cat subcommand (the first version was posted in id:1271747793-17507-1-git-send-email-sojkam1 at fel.cvut.cz). This subcommand outputs the given message to stdout. In this version the arguments are classical notmuch search terms and not a

[PATCH] Makefile: Do not call ldconfig when DESTDIR is defined

2010-10-22 Thread Michal Sojka
If make install is called with non-empty DESTDIR, calling ldconfig has usually no sense. Without this patch dpkg-buildpackage fails with make[1]: ldconfig: Command not found Signed-off-by: Michal Sojka --- This patch first appeared in id:87ljaf6p51.fsf at steelpick.2x.cz lib/Makefile.local

[PATCH] emacs: Do not color non-matching authors by tag

2010-10-22 Thread Michal Sojka
Customizing notmuch-search-line-faces to color lines in search result according to tags has the effect that the color overrides other faces set for the line. This is usually what the user wants with the exception that it also colors non-matching authors and it is then not possible to visually

[PATCH 2/4] Maildir synchronization

2010-10-22 Thread Michal Sojka
On Wed, 13 Oct 2010, Sebastian Spaeth wrote: > > +/* ASCII ordered table of Maildir flags and associated tags */ > > +struct maildir_flag_tag flag2tag[] = { > > +{ 'D', "draft", false}, > > +{ 'F', "flagged", false}, > > +{ 'P', "passed", false}, > > +{ 'R', "replied", false}, >

[PATCH 0/4] Maildir synchronization v2

2010-10-22 Thread Michal Sojka
On Mon, 18 Oct 2010, Mike Kelly wrote: > Michal Sojka wrote: > > they are ready to be merged. They can be pulled by: > > > > git pull git://rtime.felk.cvut.cz/notmuch maildir-sync-v2 > > I've tested these patches on Linux, and they seem to work as expected. > However, I'd like to

[PATCH] Makefile: Do not call ldconfig when DESTDIR is defined

2010-10-22 Thread Michal Sojka
If make install is called with non-empty DESTDIR, calling ldconfig has usually no sense. Without this patch dpkg-buildpackage fails with make[1]: ldconfig: Command not found Signed-off-by: Michal Sojka sojk...@fel.cvut.cz --- This patch first appeared in id:87ljaf6p51@steelpick.2x.cz

[PATCH 0/2] Notmuch cat v2

2010-10-22 Thread Michal Sojka
Hi all, this is my second attempt to implement notmuch cat subcommand (the first version was posted in id:1271747793-17507-1-git-send-email-sojk...@fel.cvut.cz). This subcommand outputs the given message to stdout. In this version the arguments are classical notmuch search terms and not a

[PATCH 2/2] emacs: Access raw messages via cat subcommand

2010-10-22 Thread Michal Sojka
This patch modifies the following commands to access the messages via cat subcommand: - view/save attachments ('v', 'w'), - view a raw message ('V') and - pipe a message to a command ('|'). With this patch, it is straightforward to use notmuch emacs interface with a remote database accessed over

[PATCH 1/2] Add 'cat' subcommand

2010-10-22 Thread Michal Sojka
This command outputs a raw message matched by search term to the standard output. It allows MUAs to access the messages for piping, attachment manipulation, etc. by running notmuch cat rather then directly access the file. This will simplify the MUAs when they need to operate on a remote database.

Re: bug report: xapian error for message id with '..'

2010-10-22 Thread Carl Worth
On Wed, 28 Apr 2010 18:41:18 -0400, Jameson Rollins jroll...@finestructure.net wrote: So I think this means that the problem probably lies mostly in the emacs UI not properly quoting the id string. What originally got me on this problem is that I was not able to manipulate the tag of this

Re: bug report: xapian error for message id with '..'

2010-10-22 Thread Carl Worth
On Fri, 22 Oct 2010 17:48:29 -0700, Carl Worth cwo...@cworth.org wrote: On Wed, 28 Apr 2010 18:41:18 -0400, Jameson Rollins jroll...@finestructure.net wrote: I also note here that notmuch is not returning an error, even though a Xapian exception occurred and the search failed. This is