Re: [PATCH] notmuch-mutt: Using /usr/bin/env to call perl

2012-04-12 Thread Tomi Ollila
On Thu, Apr 12 2012, Taylor Carpenter tay...@codecafe.com wrote: Supports other perl install locations --- contrib/notmuch-mutt/notmuch-mutt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/contrib/notmuch-mutt/notmuch-mutt b/contrib/notmuch-mutt/notmuch-mutt

Re: [PATCH] notmuch-mutt: replace gnu sed and xargs with perl

2012-04-12 Thread Tomi Ollila
On Thu, Apr 12 2012, Taylor Carpenter wrote: External software dependencies removed: sed and xargs. Sed shell escaping is handled automatically with perl symlink function. The xargs usage is specific to gnu xargs (fails on bsd xargs, etc). NOTE: The current query pulls the list of files

Re: [PATCH 4/4] Explicitly type void* pointers

2012-04-12 Thread Jani Nikula
On Wed, 11 Apr 2012 17:11:13 -0400, Austin Clements amdra...@mit.edu wrote: On Mon, 09 Apr 2012, Jani Nikula j...@nikula.org wrote: Vladimir Marek vladimir.ma...@oracle.com writes: I'm throwing in a third alternative below. Does it work for you? I think it's both prettier and uglier than

Re: idea - (dream?) - tagging based on gmail folders - offlineimap, notmuch or both together?

2012-04-12 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/04/12 23:23, Alex Botero-Lowry wrote: I've implemented a bi-directional notmuch/gmail sync. Nice. It does a full sync fine, but doesn't do partial syncs at all, and it's too slow to run a full sync over and over again. I've started

using bbdb with autocompletion

2012-04-12 Thread David Belohrad
Dear All, before I was using gnus to read my emails. This was setup together with bbdb such, that every email address I got an email delivered got stored into the bbdb database. The config was following: --- ;; IF USING GNUS TO FETCH MAIL: (if (locate-library bbdb)

incrontab?

2012-04-12 Thread David Belohrad
Dear All, is somebody using incrontab to issue 'notmuch new'? I've tried but with only partial success. I have setup incrotab to run 'notmuch new' when something changes in my Maildir. However it is not reliable. E.g. sometimes it works out of the box, sometimes it seems that 'notmuch new' is

Re: [RFC] Split notmuch_database_close into two functions

2012-04-12 Thread Justus Winter
Quoting Austin Clements (2012-04-01 05:23:23) Quoth Justus Winter on Mar 21 at 1:55 am: I propose to split the function notmuch_database_close into notmuch_database_close and notmuch_database_destroy so that long running processes like alot can close the database while still using data

Re: [PATCH] debian: add gnupg-agent to notmuch recommends

2012-04-12 Thread David Bremner
Jameson Graef Rollins jroll...@finestructure.net writes: gnupg-agent is required for message decryption, so this should help stem some issues encountered by users trying to decrypt messages. Pushed, d ___ notmuch mailing list notmuch@notmuchmail.org

Re: bug fixes to emacs notmuch-tag-completion function

2012-04-12 Thread David Bremner
Jameson Graef Rollins jroll...@finestructure.net writes: I had originally included this fixes as part of a more involved series to fix up tagging functions [0]. pushed, d ___ notmuch mailing list notmuch@notmuchmail.org

Re: [PATCH] News for raw format changes

2012-04-12 Thread David Bremner
Pushed, d ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: [PATCH] emacs: get rid of trailing spaces in notmuch-hello view

2012-04-12 Thread David Bremner
Dmitry Kurochkin dmitry.kuroch...@gmail.com writes: This patch removes trailing spaces in notmuch-hello view. pushed, d ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: incrontab?

2012-04-12 Thread Adam Wolfe Gordon
Hi David, On Thu, Apr 12, 2012 at 02:25, David Belohrad da...@belohrad.ch wrote: is somebody using incrontab to issue 'notmuch new'? I've tried but with only partial success. I have setup incrotab to run 'notmuch new' when something changes in my Maildir. However it is not reliable. E.g.

Re: incrontab?

2012-04-12 Thread Christophe-Marie Duquesne
This is a quick guess: maybe you monitor a file while its inode is changing. Do you (or a process) move /var/log/mail.log while monitoriing it? I suggest you have a look to http://permalink.gmane.org/gmane.comp.sysutils.incron/16, it helped me to understand better incron...

Re: incrontab?

2012-04-12 Thread Justus Winter
Hi David, Quoting David Belohrad (2012-04-12 10:25:45) Dear All, is somebody using incrontab to issue 'notmuch new'? I've tried but with only partial success. I have setup incrotab to run 'notmuch new' when something changes in my Maildir. However it is not reliable. E.g. sometimes it works out

Re: [RFC] Split notmuch_database_close into two functions

2012-04-12 Thread Austin Clements
Quoth Justus Winter on Apr 12 at 11:05 am: Quoting Austin Clements (2012-04-01 05:23:23) Quoth Justus Winter on Mar 21 at 1:55 am: I propose to split the function notmuch_database_close into notmuch_database_close and notmuch_database_destroy so that long running processes like alot can

Re: [PATCH 7/7] python: wrap and use notmuch_database_destroy as destructor

2012-04-12 Thread Austin Clements
Quoth Justus Winter on Mar 21 at 1:55 am: Adapt the go bindings to the notmuch_database_close split. Typo. Signed-off-by: Justus Winter 4win...@informatik.uni-hamburg.de --- bindings/python/notmuch/database.py | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-)

Re: [RFC] Split notmuch_database_close into two functions

2012-04-12 Thread Justus Winter
Quoting Austin Clements (2012-04-12 18:57:44) Quoth Justus Winter on Apr 12 at 11:05 am: Quoting Austin Clements (2012-04-01 05:23:23) Quoth Justus Winter on Mar 21 at 1:55 am: I propose to split the function notmuch_database_close into notmuch_database_close and notmuch_database_destroy so

Re: [PATCH] notmuch-mutt: replace gnu sed and xargs with perl

2012-04-12 Thread Taylor Carpenter
On Thu, Apr 12, 2012 at 02:07, Tomi Ollila tomi.oll...@iki.fi wrote: On Thu, Apr 12 2012, Taylor Carpenter wrote: External software dependencies removed: sed and xargs. Sed shell escaping is handled automatically with perl symlink function. The xargs usage is specific to gnu xargs (fails on

Re: [PATCH] notmuch-mutt: replace gnu sed and xargs with perl

2012-04-12 Thread Tomi Ollila
On Thu, Apr 12 2012, Taylor Carpenter tay...@codecafe.com wrote: On Thu, Apr 12, 2012 at 02:07, Tomi Ollila tomi.oll...@iki.fi wrote: Btw: what if there are same filenames in different directories that match. With basename there will be collision. FYI, the current xargs version does not

Re: [PATCH] emacs-show: open excluded matches if no other matches

2012-04-12 Thread Jameson Graef Rollins
On Thu, Mar 15 2012, Mark Walters markwalters1...@gmail.com wrote: Currently emacs show does not open matching but excluded messages. This is normally the desired behaviour but is probably not ideal if only excluded messages match. This patch opens all the matching (necessarily excluded)

Re: [PATCH] emacs-show: open excluded matches if no other matches

2012-04-12 Thread Tomi Ollila
On Thu, Mar 15 2012, Mark Walters wrote: Currently emacs show does not open matching but excluded messages. This is normally the desired behaviour but is probably not ideal if only excluded messages match. This patch opens all the matching (necessarily excluded) messages in this case and goes

Re: [PATCH] emacs-show: open excluded matches if no other matches

2012-04-12 Thread Tomi Ollila
On Thu, Apr 12 2012, Jameson Graef Rollins wrote: On Thu, Mar 15 2012, Mark Walters markwalters1...@gmail.com wrote: Currently emacs show does not open matching but excluded messages. This is normally the desired behaviour but is probably not ideal if only excluded messages match. This patch

Re: incrontab?

2012-04-12 Thread Jani Nikula
Adam Wolfe Gordon awg+notm...@xvx.ca writes: On Thu, Apr 12, 2012 at 02:25, David Belohrad da...@belohrad.ch wrote: I have reverted back to crontab to issue 'notmuch new' every 5 minutes. And frankly speaking, I'm rather thinking to run this command from emacs directly everytime I either

[PATCH] lib: work around talloc_steal usage from C++ code

2012-04-12 Thread Jani Nikula
Implicit typecast from 'void *' to 'T *' is okay in C, but not in C++. In talloc_steal, an explicit cast is provided for type safety in some GCC versions. Otherwise, a cast is required. Provide a template function for this to maintain type safety, and redefine talloc_steal to use it. The template

[PATCH v2] Record dependencies during build instead of before

2012-04-12 Thread Tomi Ollila
On Wed, Apr 11 2012, Austin Clements wrote: > Previously, the makefile created dependency files in a separate, first > pass. In particular, include-ing the dependency files would cause > make to attempt to rebuild those files using the dependency-generation > rules in the makefile.

[PATCH] notmuch-mutt: Using /usr/bin/env to call perl

2012-04-12 Thread Tomi Ollila
On Thu, Apr 12 2012, Taylor Carpenter wrote: > Supports other perl install locations > --- > contrib/notmuch-mutt/notmuch-mutt |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/contrib/notmuch-mutt/notmuch-mutt > b/contrib/notmuch-mutt/notmuch-mutt > index

[PATCH] notmuch-mutt: replace gnu sed and xargs with perl

2012-04-12 Thread Tomi Ollila
On Thu, Apr 12 2012, Taylor Carpenter wrote: > External software dependencies removed: sed and xargs. > > Sed shell escaping is handled automatically with perl symlink function. > > The xargs usage is specific to gnu xargs (fails on bsd xargs, etc). > > NOTE: The current query pulls the list of

[PATCH 4/4] Explicitly type void* pointers

2012-04-12 Thread Jani Nikula
On Wed, 11 Apr 2012 17:11:13 -0400, Austin Clements wrote: > On Mon, 09 Apr 2012, Jani Nikula wrote: > > Vladimir Marek writes: > > I'm throwing in a third alternative below. Does it work for you? I think > > it's both prettier and uglier than the above at the same time! ;) > > > > A middle

idea - (dream?) - tagging based on gmail folders - offlineimap, notmuch or both together?

2012-04-12 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/04/12 23:23, Alex Botero-Lowry wrote: > I've implemented a bi-directional notmuch/gmail sync. Nice. > It does a full sync fine, but doesn't do partial syncs at all, and it's too > slow to run a full > sync over and over again. I've started

using bbdb with autocompletion

2012-04-12 Thread David Belohrad
Dear All, before I was using gnus to read my emails. This was setup together with bbdb such, that every email address I got an email delivered got stored into the bbdb database. The config was following: --- ;; IF USING GNUS TO FETCH MAIL: (if (locate-library "bbdb")

incrontab?

2012-04-12 Thread David Belohrad
Dear All, is somebody using incrontab to issue 'notmuch new'? I've tried but with only partial success. I have setup incrotab to run 'notmuch new' when something changes in my Maildir. However it is not reliable. E.g. sometimes it works out of the box, sometimes it seems that 'notmuch new' is

[RFC] Split notmuch_database_close into two functions

2012-04-12 Thread Justus Winter
Quoting Austin Clements (2012-04-01 05:23:23) >Quoth Justus Winter on Mar 21 at 1:55 am: >> I propose to split the function notmuch_database_close into >> notmuch_database_close and notmuch_database_destroy so that long >> running processes like alot can close the database while still using >>

[PATCH] debian: add gnupg-agent to notmuch recommends

2012-04-12 Thread David Bremner
Jameson Graef Rollins writes: > gnupg-agent is required for message decryption, so this should help > stem some issues encountered by users trying to decrypt messages. Pushed, d

bug fixes to emacs notmuch-tag-completion function

2012-04-12 Thread David Bremner
Jameson Graef Rollins writes: > I had originally included this fixes as part of a more involved series > to fix up tagging functions [0]. pushed, d

[PATCH] News for raw format changes

2012-04-12 Thread David Bremner
Pushed, d

[PATCH] emacs: get rid of trailing spaces in notmuch-hello view

2012-04-12 Thread David Bremner
Dmitry Kurochkin writes: > This patch removes trailing spaces in notmuch-hello view. pushed, d

incrontab?

2012-04-12 Thread Adam Wolfe Gordon
Hi David, On Thu, Apr 12, 2012 at 02:25, David Belohrad wrote: > is somebody using incrontab to issue 'notmuch new'? I've tried but with > only partial success. I have setup incrotab to run 'notmuch new' when > something changes in my Maildir. However it is not > reliable. E.g. sometimes it

incrontab?

2012-04-12 Thread Christophe-Marie Duquesne
This is a quick guess: maybe you monitor a file while its inode is changing. Do you (or a process) move /var/log/mail.log while monitoriing it? I suggest you have a look to http://permalink.gmane.org/gmane.comp.sysutils.incron/16, it helped me to understand better incron...

incrontab?

2012-04-12 Thread Justus Winter
Hi David, Quoting David Belohrad (2012-04-12 10:25:45) >Dear All, > >is somebody using incrontab to issue 'notmuch new'? I've tried but with >only partial success. I have setup incrotab to run 'notmuch new' when >something changes in my Maildir. However it is not >reliable. E.g. sometimes it

[RFC] Split notmuch_database_close into two functions

2012-04-12 Thread Austin Clements
Quoth Justus Winter on Apr 12 at 11:05 am: > Quoting Austin Clements (2012-04-01 05:23:23) > >Quoth Justus Winter on Mar 21 at 1:55 am: > >> I propose to split the function notmuch_database_close into > >> notmuch_database_close and notmuch_database_destroy so that long > >> running processes

[PATCH 7/7] python: wrap and use notmuch_database_destroy as destructor

2012-04-12 Thread Austin Clements
Quoth Justus Winter on Mar 21 at 1:55 am: > Adapt the go bindings to the notmuch_database_close split. Typo. > > Signed-off-by: Justus Winter <4winter at informatik.uni-hamburg.de> > --- > bindings/python/notmuch/database.py | 17 +++-- > 1 files changed, 15 insertions(+), 2

[RFC] Split notmuch_database_close into two functions

2012-04-12 Thread Justus Winter
Quoting Austin Clements (2012-04-12 18:57:44) >Quoth Justus Winter on Apr 12 at 11:05 am: >> Quoting Austin Clements (2012-04-01 05:23:23) >> >Quoth Justus Winter on Mar 21 at 1:55 am: >> >> I propose to split the function notmuch_database_close into >> >> notmuch_database_close and

[PATCH 4/4] Explicitly type void* pointers

2012-04-12 Thread Austin Clements
Quoth Jani Nikula on Apr 12 at 8:02 am: > On Wed, 11 Apr 2012 17:11:13 -0400, Austin Clements > wrote: > > On Mon, 09 Apr 2012, Jani Nikula wrote: > > > Vladimir Marek writes: > > > I'm throwing in a third alternative below. Does it work for you? I think > > > it's both prettier and uglier

[PATCH] notmuch-mutt: replace gnu sed and xargs with perl

2012-04-12 Thread Taylor Carpenter
On Thu, Apr 12, 2012 at 02:07, Tomi Ollila wrote: > On Thu, Apr 12 2012, Taylor Carpenter wrote: > >> External software dependencies removed: sed and xargs. >> >> Sed shell escaping is handled automatically with perl symlink function. >> >> The xargs usage is specific to gnu xargs (fails on bsd

[PATCH] notmuch-mutt: replace gnu sed and xargs with perl

2012-04-12 Thread Tomi Ollila
On Thu, Apr 12 2012, Taylor Carpenter wrote: > On Thu, Apr 12, 2012 at 02:07, Tomi Ollila wrote: > >> Btw: what if there are same filenames in different directories that >> match. With basename there will be collision. > > FYI, the current xargs version does not handle collisions either. True

[PATCH] emacs-show: open excluded matches if no other matches

2012-04-12 Thread Jameson Graef Rollins
A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120412/d3efbed8/attachment.pgp>

[PATCH] emacs-show: open excluded matches if no other matches

2012-04-12 Thread Tomi Ollila
On Thu, Mar 15 2012, Mark Walters wrote: > Currently emacs show does not open matching but excluded > messages. This is normally the desired behaviour but is probably not > ideal if only excluded messages match. This patch opens all the > matching (necessarily excluded) messages in this case and

[PATCH] lib: work around talloc_steal usage from C++ code

2012-04-12 Thread Austin Clements
Quoth Jani Nikula on Apr 12 at 11:57 pm: > Implicit typecast from 'void *' to 'T *' is okay in C, but not in > C++. In talloc_steal, an explicit cast is provided for type safety in > some GCC versions. Otherwise, a cast is required. Provide a template > function for this to maintain type safety,