[PATCH] test: run emacs inside tmux if screen is not available

2011-07-20 Thread Thomas Jost
Before this change, the test suite reported many failed tests on machines where screen is not installed (which is the case of many *BSD systems). This patch makes the test suite try to use tmux, another terminal multiplexer, if screen is not available. --- test/test-lib.sh | 13 +++-- 1

[PATCH] libnotmuch: only build symbols list after the modules are built

2011-07-20 Thread Thomas Jost
If the notmuch.sym target does not explicitly depend on $(libnotmuch_modules), gen-version-script.sh may be run before all the .o files are created. This can be observed when doing a parallel build on a machine with many cores: $ make -j ... sh lib/gen-version-script.sh lib/notmuch.h

Re: [PATCH] test: run emacs inside tmux if screen is not available

2011-07-20 Thread Dmitry Kurochkin
Hi Thomas. On Wed, 20 Jul 2011 14:36:36 +0200, Thomas Jost schno...@schnouki.net wrote: Before this change, the test suite reported many failed tests on machines where screen is not installed (which is the case of many *BSD systems). This patch makes the test suite try to use tmux, another

Undo tag operation?

2011-07-20 Thread Alex Ghitza
Dear notmuch folks, I just inadvertently removed the todo tag from all my todo-tagged emails (about 60 of them going back several months, so I doubt I can find them all again in my email haystack). So I have a few questions: 1. Is there currently an easy way to undo this? 2. Is there currently

Re: Undo tag operation?

2011-07-20 Thread Jameson Graef Rollins
On Wed, 20 Jul 2011 16:17:37 +0200, Alex Ghitza aghi...@gmail.com wrote: I just inadvertently removed the todo tag from all my todo-tagged emails (about 60 of them going back several months, so I doubt I can find them all again in my email haystack). So I have a few questions: Hey, Alex.

Re: [PATCH] libnotmuch: only build symbols list after the modules are built

2011-07-20 Thread David Bremner
On Wed, 20 Jul 2011 14:38:18 +0200, Thomas Jost schno...@schnouki.net wrote: If the notmuch.sym target does not explicitly depend on $(libnotmuch_modules), gen-version-script.sh may be run before all the .o files are created. This can be observed when doing a parallel build on a machine with

Re: [PATCH] test: run emacs inside tmux if screen is not available

2011-07-20 Thread Thomas Jost
On Wed, 20 Jul 2011 10:28:38 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: Non-text part: multipart/signed On Wed, 20 Jul 2011 17:37:35 +0400, Dmitry Kurochkin dmitry.kuroch...@gmail.com wrote: On Wed, 20 Jul 2011 14:36:36 +0200, Thomas Jost schno...@schnouki.net wrote:

Re: [PATCH] test: run emacs inside tmux if screen is not available

2011-07-20 Thread Dmitry Kurochkin
On Wed, 20 Jul 2011 20:12:55 +0200, Thomas Jost schno...@schnouki.net wrote: On Wed, 20 Jul 2011 10:28:38 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: Non-text part: multipart/signed On Wed, 20 Jul 2011 17:37:35 +0400, Dmitry Kurochkin dmitry.kuroch...@gmail.com wrote:

Re: Undo tag operation?

2011-07-20 Thread James Vasile
On Wed, 20 Jul 2011 09:48:53 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: Non-text part: multipart/mixed Non-text part: multipart/signed On Wed, 20 Jul 2011 16:17:37 +0200, Alex Ghitza aghi...@gmail.com wrote: I just inadvertently removed the todo tag from all my todo-tagged

Re: Undo tag operation?

2011-07-20 Thread Olivier Schwander
Le 20 Jul 2011 09:48, Jameson Graef Rollins a écrit: On Wed, 20 Jul 2011 16:17:37 +0200, Alex Ghitza aghi...@gmail.com wrote: I just inadvertently removed the todo tag from all my todo-tagged emails (about 60 of them going back several months, so I doubt I can find them all again in my

JSON parsing performance (was Re: [PATCH v2] emacs: bad regexp @ `notmuch-search-process-filter')

2011-07-20 Thread Austin Clements
Quoth myself on Jul 13 at 2:57 pm: Quoth Pieter Praet on Jul 13 at 4:16 pm: Jamie Zawinski once said/wrote [1]: 'Some people, when confronted with a problem, think I know, I'll use regular expressions. Now they have two problems.' With this in mind, I set out to get rid of this

Re: [PATCH 2/2] add edit function to resume postponed emails

2011-07-20 Thread Antoine Beaupré
On Sat, 16 Jul 2011 15:31:31 -0400, Austin Clements amdra...@mit.edu wrote: I think this could be simplified a lot and many of the known issues addressed if this were narrowed to *only* resuming from drafts. message-mode draft files aren't MIME messages (or, at least, they're never multipart,

Re: Undo tag operation?

2011-07-20 Thread Jameson Graef Rollins
On Wed, 20 Jul 2011 22:02:47 +0200, Olivier Schwander olivier.schwan...@chadok.info wrote: I wonder if it may be possible to create a journal of all the operations on tags: a file where all the changes are registered, with a timestamp. Two benefits: - going through the history to undo

Re: [PATCH 2/2] add edit function to resume postponed emails

2011-07-20 Thread Jameson Graef Rollins
On Wed, 20 Jul 2011 17:36:43 -0400, Antoine Beaupré anar...@koumbit.org wrote: I think this is a great idea. Unfortunately, I had a lot of trouble making message-mode digest an existing buffer. For example, if you take any existing buffer and call (message-mode) on it, you will notice it will

[PATCH] libnotmuch: only build symbols list after the modules are built

2011-07-20 Thread Thomas Jost
If the notmuch.sym target does not explicitly depend on $(libnotmuch_modules), gen-version-script.sh may be run before all the .o files are created, for example when doing a parallel build on a machine with many cores. --- Hi David, Here's an updated version of the patch with a shorter commit

Re: [PATCH] libnotmuch: only build symbols list after the modules are built

2011-07-20 Thread David Bremner
On Thu, 21 Jul 2011 01:31:37 +0200, Thomas Jost schno...@schnouki.net wrote: Here's an updated version of the patch with a shorter commit message. For the record, the build log I sent earlier was obtained on my work PC, which has two 8-core CPUs. No problem on my laptop with its dual-core

Re: Undo tag operation?

2011-07-20 Thread Michael Hudson-Doyle
On Wed, 20 Jul 2011 14:37:50 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: On Wed, 20 Jul 2011 22:02:47 +0200, Olivier Schwander olivier.schwan...@chadok.info wrote: I wonder if it may be possible to create a journal of all the operations on tags: a file where all the

Re: Undo tag operation?

2011-07-20 Thread Jameson Graef Rollins
On Wed, 20 Jul 2011 14:37:50 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: Being also to share tags alone would be super cool. I have no idea what this means, but I do know that tag sharing would be super cool, and I think time stamping tag operations could help facilitate it.

[PATCH v2] emacs: bad regexp @ `notmuch-search-process-filter'

2011-07-20 Thread servilio
What about encoding in notmuch the elements composing the line, print the elements with a separator that would be encoded if it appears in an element, then do the reverse in emacs. One such encoding might be URL-encoding. Servilio

[PATCH] test: run emacs inside tmux if screen is not available

2011-07-20 Thread Thomas Jost
Before this change, the test suite reported many failed tests on machines where screen is not installed (which is the case of many *BSD systems). This patch makes the test suite try to use tmux, another terminal multiplexer, if screen is not available. --- test/test-lib.sh | 13 +++-- 1

[PATCH] libnotmuch: only build symbols list after the modules are built

2011-07-20 Thread Thomas Jost
If the notmuch.sym target does not explicitly depend on $(libnotmuch_modules), gen-version-script.sh may be run before all the .o files are created. This can be observed when doing a parallel build on a machine with many cores: $ make -j ... sh lib/gen-version-script.sh lib/notmuch.h

[PATCH] test: run emacs inside tmux if screen is not available

2011-07-20 Thread Dmitry Kurochkin
Hi Thomas. On Wed, 20 Jul 2011 14:36:36 +0200, Thomas Jost wrote: > Before this change, the test suite reported many failed tests on machines > where > screen is not installed (which is the case of many *BSD systems). This patch > makes the test suite try to use tmux, another terminal

Undo tag operation?

2011-07-20 Thread Alex Ghitza
Dear notmuch folks, I just inadvertently removed the "todo" tag from all my "todo"-tagged emails (about 60 of them going back several months, so I doubt I can find them all again in my email haystack). So I have a few questions: 1. Is there currently an easy way to undo this? 2. Is there

Undo tag operation?

2011-07-20 Thread Jameson Graef Rollins
-- next part -- 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/20110720/fec33075/attachment.pgp>

[PATCH] libnotmuch: only build symbols list after the modules are built

2011-07-20 Thread David Bremner
On Wed, 20 Jul 2011 14:38:18 +0200, Thomas Jost wrote: > If the notmuch.sym target does not explicitly depend on $(libnotmuch_modules), > gen-version-script.sh may be run before all the .o files are created. This can > be observed when doing a parallel build on a machine with many cores: > $

[PATCH] test: run emacs inside tmux if screen is not available

2011-07-20 Thread Jameson Graef Rollins
tachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110720/a74ac13d/attachment-0001.pgp>

[PATCH] test: run emacs inside tmux if screen is not available

2011-07-20 Thread Thomas Jost
sh includes some things about prerequisites. I'll try to use these to implement the explicit dependency on screen. Regards, -- Thomas/Schnouki -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 489 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110720/8472a0ef/attachment.pgp>

[PATCH] test: run emacs inside tmux if screen is not available

2011-07-20 Thread Dmitry Kurochkin
On Wed, 20 Jul 2011 20:12:55 +0200, Thomas Jost wrote: > On Wed, 20 Jul 2011 10:28:38 -0700, Jameson Graef Rollins finestructure.net> wrote: > Non-text part: multipart/signed > > On Wed, 20 Jul 2011 17:37:35 +0400, Dmitry Kurochkin > gmail.com> wrote: > > > On Wed, 20 Jul 2011 14:36:36 +0200,

Undo tag operation?

2011-07-20 Thread James Vasile
On Wed, 20 Jul 2011 09:48:53 -0700, Jameson Graef Rollins wrote: Non-text part: multipart/mixed Non-text part: multipart/signed > On Wed, 20 Jul 2011 16:17:37 +0200, Alex Ghitza wrote: > > I just inadvertently removed the "todo" tag from all my "todo"-tagged > > emails (about 60 of them going

Undo tag operation?

2011-07-20 Thread Olivier Schwander
Le 20 Jul 2011 09:48, Jameson Graef Rollins a ?crit: > On Wed, 20 Jul 2011 16:17:37 +0200, Alex Ghitza wrote: > > I just inadvertently removed the "todo" tag from all my "todo"-tagged > > emails (about 60 of them going back several months, so I doubt I can > > find them all again in my email

JSON parsing performance (was Re: [PATCH v2] emacs: bad regexp @ `notmuch-search-process-filter')

2011-07-20 Thread Austin Clements
Quoth myself on Jul 13 at 2:57 pm: > Quoth Pieter Praet on Jul 13 at 4:16 pm: > > Jamie Zawinski once said/wrote [1]: > > 'Some people, when confronted with a problem, think "I know, > > I'll use regular expressions." Now they have two problems.' > > > > With this in mind, I set out to get

[PATCH 2/2] add edit function to resume postponed emails

2011-07-20 Thread Antoine Beaupré
ch Fromm -- next part -- 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/20110720/2869dfb6/attachment.pgp>

Undo tag operation?

2011-07-20 Thread Jameson Graef Rollins
hmail.org/pipermail/notmuch/attachments/20110720/cf09f157/attachment.pgp>

[PATCH 2/2] add edit function to resume postponed emails

2011-07-20 Thread Jameson Graef Rollins
next part -- 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/20110720/d51b28f9/attachment.pgp>

Undo tag operation?

2011-07-20 Thread Jameson Graef Rollins
On Wed, 20 Jul 2011 14:37:50 -0700, Jameson Graef Rollins wrote: > Being also to share tags alone would be super cool. I have no idea what this means, but I do know that tag sharing would be super cool, and I think time stamping tag operations could help facilitate it. jamie.