Re: Notmuch scripters rejoice! New "notmuch search --output=(...)"

2010-10-29 Thread Bryan Hunt
On Thu, 28 Oct 2010 12:24:45 -0700, Carl Worth wrote: > I just added a new feature to notmuch that I've been wanting for a very > long time. It's a new option to "notmuch search" as follows: > > --output=(summary|threads|messages|files|tags) > That is a cool feature. Bryan Hunt __

Re: utf-8 in author field

2010-10-29 Thread Carl Worth
On Mon, 17 May 2010 09:56:27 +0200, Michal Sojka wrote: > On Fri, 14 May 2010, Igor Shenderovich wrote: > > What should one do to see the true list of authors? > > I encounter the same when headers are not encoded properly according to > RFC 2047. I commonly see the violation of section 5, paragr

utf-8 in author field

2010-10-29 Thread Carl Worth
: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101029/10e5ea6f/attachment-0001.pgp>

Re: [PATCH 0/4] Maildir synchronization

2010-10-29 Thread Carl Worth
On Thu, 10 Jun 2010 06:59:02 +0200, Michal Sojka wrote: > This is a known limitation. > From id:1273580061-22580-3-git-send-email-sojk...@fel.cvut.cz: > >The reason is that when you view the message its unread tag is >removed which leads to rename of the file, but Emacs still uses the >

[PATCH 0/4] Maildir synchronization

2010-10-29 Thread Carl Worth
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/attachments/20101029/7c7fbeea/attachment.pgp>

Re: rfc: improved MIME handling (multipart)

2010-10-29 Thread Carl Worth
On Mon, 10 May 2010 11:33:03 +0100, David Edmondson wrote: > A (third) attempt at improved MIME handling, specifically for multipart, > is at: >http://github.com/dme/notmuch/tree/mp3 >git://github.com/dme/notmuch.git (branch 'mp3') Hi David, I went to pull this, but I couldn't find satis

rfc: improved MIME handling (multipart)

2010-10-29 Thread Carl Worth
ubmit these with some updated commit messages. 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/attachments/20101029/e780ba53/attachment.pgp>

Re: couple of naive questions about search patterns

2010-10-29 Thread Carl Worth
On Fri, 16 Jul 2010 11:21:58 +0200, Michal Sojka wrote: > No, this is because 're:' in subject is not indexed. See > skip_re_in_subject() in index.cc. That's a correct explanation of the problem. But meanwhile, I don't have any good justification for that code. I wrote it originally because I wa

couple of naive questions about search patterns

2010-10-29 Thread Carl Worth
-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101029/277834ca/attachment.pgp>

Re: SpamAssassin or: why can't I search for »[«?

2010-10-29 Thread Carl Worth
On Wed, 16 Jun 2010 13:55:10 +0200, Albin Stjerna wrote: > I've been trying to get notmuch to apply the tag »spam« to these mails, > but it seems I can neither make it search for upper-case letters nor > »[«/»]«. My current solution is to tag everything with »spam« somewhere > in the subject heade

Re: [PATCH 2/3] build: fix DSO dependencies

2010-10-29 Thread Felipe Contreras
Hello, On Sat, Oct 30, 2010 at 12:37 AM, Carl Worth wrote: > On Sat,  5 Jun 2010 14:05:14 +0300, Felipe Contreras > wrote: >> At least on Fedora 13, this doesn't link; the linker finds the >> dependencies, and aborts saying we should include them. > ... >> We do need to link at least to what we

SpamAssassin or: why can't I search for »[«?

2010-10-29 Thread Carl Worth
s). -Carl [*] I'm sure I'm using the wrong terminology for Xapian, and I might have some details wrong, but the basic idea is hopefully correct. -- carl.d.worth at intel.com -- next part -- A non-text attachment was scrubbed... Name: not available Type: applica

[PATCH 2/2] build: only link to what we really use

2010-10-29 Thread Felipe Contreras
At least linux has the -Wl,--as-needed option. Signed-off-by: Felipe Contreras --- Makefile.local |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Makefile.local b/Makefile.local index 9fed725..70c395a 100644 --- a/Makefile.local +++ b/Makefile.local @@ -33,7 +33,9 @@

[PATCH 1/2] build: fix DSO dependencies

2010-10-29 Thread Felipe Contreras
From: Carl Worth At least on Fedora 13, this doesn't link; the linker finds the dependencies, and aborts saying we should include them. /usr/bin/ld: gmime-filter-reply.o: undefined reference to symbol 'g_mime_filter_set_size' /usr/bin/ld: note: 'g_mime_filter_set_size' is defined in DSO /usr/l

[PATCH 0/2] build fixes

2010-10-29 Thread Felipe Contreras
Hi, Here are a couple of build fixes. One is required to build on Fedora 13, the other is just nice (at least gets rid of some debian lintian warnings). Carl Worth (1): build: fix DSO dependencies Felipe Contreras (1): build: only link to what we really use Makefile.local |6 -- 1

Re: [PATCH] notmuch.pod: pod version of documentation, converted by rman, massaged by hand.

2010-10-29 Thread Carl Worth
On Sun, 13 Jun 2010 12:01:30 -0300, da...@tethera.net wrote: > We can also generate man pages and inline help from this file. I > didn't get that far yet, waiting for more encouraging noises :). Hi David, Having added some documentation recently, I do continue to be annoyed by the need to add it

[PATCH] notmuch.pod: pod version of documentation, converted by rman, massaged by hand.

2010-10-29 Thread Carl Worth
ine too. I won't go insisting that you do additional work if you don't feel like it. ;-) -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchma

Re: fix problem with notmuch-hello-nice-number

2010-10-29 Thread Carl Worth
On Thu, 10 Jun 2010 08:05:13 +0100, David Edmondson wrote: > On Wed, 09 Jun 2010 07:49:01 -0700, Dirk Hohndel > wrote: > > Without this little patch notmuch fails with current git if there's a > > saved search that has zero results > > How about: ... >(setq n (/ n 1000))) > +(setq r

fix problem with notmuch-hello-nice-number

2010-10-29 Thread Carl Worth
On Thu, 10 Jun 2010 08:05:13 +0100, David Edmondson wrote: > On Wed, 09 Jun 2010 07:49:01 -0700, Dirk Hohndel > wrote: > > Without this little patch notmuch fails with current git if there's a > > saved search that has zero results > > How about: ... >(setq n (/ n 1000))) > +(setq r

Re: [PATCH] emacs: Re-work the implementation of highlighting in notmuch-search-mode.

2010-10-29 Thread Carl Worth
On Mon, 7 Jun 2010 15:35:10 +0100, David Edmondson wrote: > Re-write `notmuch-search-color-line', with the following improvements: > - create overlays only if they will be needed, > - merge the properties specified for a tag on top of any matching a >previous tag. ... > +The attributes defi

[PATCH] emacs: Re-work the implementation of highlighting in notmuch-search-mode.

2010-10-29 Thread Carl Worth
p-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101029/d3db8a4e/attachment.pgp>

Re: [PATCH 2/3] build: fix DSO dependencies

2010-10-29 Thread Carl Worth
On Sat, 5 Jun 2010 14:05:14 +0300, Felipe Contreras wrote: > At least on Fedora 13, this doesn't link; the linker finds the > dependencies, and aborts saying we should include them. ... > We do need to link at least to what we really use, the linker resolves > the dependencies of our dependencie

[PATCH 2/3] build: fix DSO dependencies

2010-10-29 Thread Carl Worth
om -- 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/attachments/20101029/2cd9303d/attachment.pgp>

Re: [PATCH] Don't involve the shell in notmuch searches

2010-10-29 Thread Carl Worth
On Thu, 3 Jun 2010 20:29:32 -0400, David Benjamin wrote: > The shell isn't needed to interpret any of the arguments, so don't > bother using it at all. Thanks David, I refreshed this to the current master and pushed it. -Carl -- carl.d.wo...@intel.com pgpnHvo8yp9Jc.pgp Description: PGP sig

[PATCH] Don't involve the shell in notmuch searches

2010-10-29 Thread Carl Worth
-- 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/attachments/20101029/2f261fc4/attachment.pgp>

Re: Fix missing References from broken muas.

2010-10-29 Thread Carl Worth
On Sat, 08 May 2010 14:36:26 +0200, Arvid Picciani wrote: > Most of my mail comes from the 50MLs i'm subscribed to. Unfortunately > some MUAs suck that much, they don't even respond in threads. > My idea how to fix them would be: People have previously asked for a feature to combine messages into

Fix missing References from broken muas.

2010-10-29 Thread Carl Worth
.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/attachments/20101029/93bd66ae/attachment.pgp>

Re: [PATCH] notmuch-setup.c: Initialize getline(3) response_size to 0

2010-10-29 Thread Carl Worth
On Thu, 14 Oct 2010 14:18:19 -0400, Mike Kelly wrote: > This appears to be necessary on FreeBSD. If this isn't done, we get a > nasty segfault. Thanks. I've pushed this out. I didn't have that initialized originally, because the documentation I have for getline on my Linux machine says explicitl

[PATCH] notmuch-setup.c: Initialize getline(3) response_size to 0

2010-10-29 Thread Carl Worth
-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/attachments/20101029/32ce5436/attachment.pgp>

Notmuch scripters rejoice! New "notmuch search --output=(...)"

2010-10-29 Thread François Gannaz
On 2010-10-28, Carl Worth wrote: > I just added a new feature to notmuch that I've been wanting for a very > long time. It's a new option to "notmuch search" as follows: > > --output=(summary|threads|messages|files|tags) > > The "summary" value is the default and behaves as "notmuch search

Notmuch scripters rejoice! New "notmuch search --output=(...)"

2010-10-29 Thread Sebastian Spaeth
lable URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101029/b84a6926/attachment.pgp>

Re: Notmuch scripters rejoice! New "notmuch search --output=(...)"

2010-10-29 Thread François Gannaz
On 2010-10-28, Carl Worth wrote: > I just added a new feature to notmuch that I've been wanting for a very > long time. It's a new option to "notmuch search" as follows: > > --output=(summary|threads|messages|files|tags) > > The "summary" value is the default and behaves as "notmuch search

Re: Notmuch scripters rejoice! New "notmuch search --output=(...)"

2010-10-29 Thread Sebastian Spaeth
On Thu, 28 Oct 2010 12:24:45 -0700, Carl Worth wrote: > --output=(summary|threads|messages|files|tags) > for spamfile in $(notmuch search tag:spam); do > rm $spamfile > done Wow, that is very useful thanks. This will creating scripts much easier indeed. As for co