`notmuch setup` replaces `~/.notmuch-config` instead of truncating it

2010-11-16 Thread Ciprian Dorin, Craciun
Hello all! First congratulations for the nice software! I hardly wait for a notmuch native (i.e. libnotmuch) and curses client (like `ner`) to become more stable, and thus I'll be able to ditch GMail. :) But until then a small glitch... While upgrading from notmuch 0.4 to 0.5, I've

Re: `notmuch setup` replaces `~/.notmuch-config` instead of truncating it

2010-11-16 Thread Jameson Rollins
On Tue, 16 Nov 2010 15:33:30 +0200, Ciprian Dorin, Craciun ciprian.crac...@gmail.com wrote: But in my particular case `~/.notmuch-config` is symlinked to an applications configuration directory which is versioned. Thus I've expected than when notmuch updates the config, it opens it for

Re: `notmuch setup` replaces `~/.notmuch-config` instead of truncating it

2010-11-16 Thread Daniel Kahn Gillmor
On 11/16/2010 08:38 AM, Jameson Rollins wrote: On Tue, 16 Nov 2010 15:33:30 +0200, Ciprian Dorin, Craciun ciprian.crac...@gmail.com wrote: So my question is: is this behaviour (of deleting the file and creating a new one) deliberate? If not, could it be fixed (I could provide a patch) to

Improved search speed by 2.5X

2010-11-16 Thread Austin Clements
'Lo. I've been toying with switching to notmuch for a while, but the speed of search has been holding me back. Perhaps I should upgrade the archaic machine I'm trying to run notmuch on, but I figured optimizing search would be a good way for me to cut my teeth on notmuch's code. I've

Re: Improved search speed by 2.5X

2010-11-16 Thread David Edmondson
On Tue, 16 Nov 2010 11:18:43 -0500, Austin Clements amdra...@mit.edu wrote: [1] Except for 2 emacs tests that depend on author order. What order are matched authors *supposed* to be in? In IRC cworth confirmed that he considered the current behaviour a bug, which is to say that the authors

[PATCH] emacs: Accommodate message-mode updates.

2010-11-16 Thread David Edmondson
Message mode uses a different name for composition buffers in newer versions of emacs. Allow for this when causing the composition window to overlay the viewing window. --- I don't understand why Aneesh chose to use `add-hook' and `purecopy'. emacs/notmuch-mua.el |2 +- 1 files changed, 1

Re: Improved search speed by 2.5X

2010-11-16 Thread Austin Clements
Quoth David Edmondson on Nov 16 at 4:58 pm: On Tue, 16 Nov 2010 11:18:43 -0500, Austin Clements amdra...@mit.edu wrote: [1] Except for 2 emacs tests that depend on author order. What order are matched authors *supposed* to be in? In IRC cworth confirmed that he considered the current

Re: Improved search speed by 2.5X

2010-11-16 Thread Carl Worth
On Tue, 16 Nov 2010 11:18:43 -0500, Austin Clements amdra...@mit.edu wrote: 'Lo. I've been toying with switching to notmuch for a while, but the speed of search has been holding me back. Perhaps I should upgrade the archaic machine I'm trying to run notmuch on, but I figured optimizing

Re: `notmuch setup` replaces `~/.notmuch-config` instead of truncating it

2010-11-16 Thread Carl Worth
On Tue, 16 Nov 2010 15:33:30 +0200, Ciprian Dorin, Craciun ciprian.crac...@gmail.com wrote: First congratulations for the nice software! Thanks so much! Welcome to notmuch. So my question is: is this behaviour (of deleting the file and creating a new one) deliberate? If not, could it

Re: [PATCH] emacs: Use `view-mode' when examining raw messages.

2010-11-16 Thread Carl Worth
On Mon, 15 Nov 2010 14:21:53 +, David Edmondson d...@dme.org wrote: --- emacs/notmuch-show.el | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) Thanks. This is pushed now, with slightly more of a commit message---if nothing else a little bit more of a commit message

Re: a proposed change to JSON output to report verification of PGP/MIME signatures.

2010-11-16 Thread Carl Worth
On Sat, 13 Nov 2010 02:55:50 -0500, Daniel Kahn Gillmor d...@fifthhorseman.net wrote: i've been trying to wrap my head around how to get notmuch to support verifying cryptographically-signed mail. i'm afraid my current understanding of the problem space is that it is neither pretty nor

Re: [PATCH] emacs: Avoid regexp overflow when tidying citations.

2010-11-16 Thread Carl Worth
On Fri, 12 Nov 2010 12:50:02 +, David Edmondson d...@dme.org wrote: Declare `notmuch-wash-tidy-citations-max', which is the largest region that `notmuch-wash-tidy-citations' will attempt to improve. Hi David, Could you add a test case for whatever bug is being fixed here? I'm a little

Re: a proposed change to JSON output to report verification of PGP/MIME signatures.

2010-11-16 Thread Daniel Kahn Gillmor
On 11/16/2010 02:47 PM, Carl Worth wrote: The current linearization of parts is a bug that should be fixed. And I think several aspects of your proposal are effectively workarounds for this bug. So I'd rather we fix the json output to emit the tree structure first, and then see what parts of

Re: a proposed change to JSON output to report verification of PGP/MIME signatures.

2010-11-16 Thread Jameson Rollins
On Tue, 16 Nov 2010 11:47:13 -0800, Carl Worth cwo...@cworth.org wrote: The only other piece I think I'd like to see is actually making the content of the signature pieces available in the json output. Then, a client could do its own verification. Then if we had that would we not want to add

Re: a proposed change to JSON output to report verification of PGP/MIME signatures.

2010-11-16 Thread Daniel Kahn Gillmor
On 11/16/2010 03:10 PM, Jameson Rollins wrote: I would almost say that --verify should be the default, with a --no-verify option. It will make things much easier for all the UIs if notmuch handles the verification and just outputs the result. For clients that do not know how to

Re: `notmuch setup` replaces `~/.notmuch-config` instead of truncating it

2010-11-16 Thread Ciprian Dorin, Craciun
On Tue, Nov 16, 2010 at 22:37, Daniel Kahn Gillmor d...@fifthhorseman.net wrote: On 11/16/2010 03:26 PM, Ciprian Dorin, Craciun wrote:     P.S.: I say pseudo atomic because only the rename is atomic, thus in order to override file `a` for the target file `b` which exists, we must execute two

Re: `notmuch setup` replaces `~/.notmuch-config` instead of truncating it

2010-11-16 Thread Ciprian Dorin, Craciun
On Tue, Nov 16, 2010 at 22:42, Daniel Kahn Gillmor d...@fifthhorseman.net wrote: On 11/16/2010 03:37 PM, Daniel Kahn Gillmor wrote: On 11/16/2010 03:26 PM, Ciprian Dorin, Craciun wrote:     So in the light of the above quoted glitches, my question is: due to the small chance of a power loss

Re: [notmuch] [PATCH] compatibility with emacs22

2010-11-16 Thread Carl Worth
On Sat, 27 Feb 2010 20:34:45 -0500, James Vasile ja...@hackervisions.org wrote: 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. Hi James. Thanks very much for the patch. I've

Re: [notmuch] [PATCH] compatibility with emacs22

2010-11-16 Thread Rob Browning
Carl Worth cwo...@cworth.org writes: But perhaps getting access to that single, entire file will be easier than getting access to these two little functions. Assuming the current emacs-23 version will work: wget -O json.el \

`notmuch setup` replaces `~/.notmuch-config` instead of truncating it

2010-11-16 Thread Ciprian Dorin, Craciun
Hello all! First congratulations for the nice software! I hardly wait for a notmuch native (i.e. libnotmuch) and curses client (like `ner`) to become more stable, and thus I'll be able to ditch GMail. :) But until then a small glitch... While upgrading from notmuch 0.4 to 0.5, I've

`notmuch setup` replaces `~/.notmuch-config` instead of truncating it

2010-11-16 Thread Jameson Rollins
t deliberate, and is definitely undesirable. A patch would be welcome. jamie. -- 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/20101116/af48bf11/attachment.pgp>

`notmuch setup` replaces `~/.notmuch-config` instead of truncating it

2010-11-16 Thread Daniel Kahn Gillmor
--- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 900 bytes Desc: OpenPGP digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101116/552d79a3/attachment.pgp>

Improved search speed by 2.5X

2010-11-16 Thread Austin Clements
'Lo. I've been toying with switching to notmuch for a while, but the speed of search has been holding me back. Perhaps I should upgrade the archaic machine I'm trying to run notmuch on, but I figured optimizing search would be a good way for me to cut my teeth on notmuch's code. I've

Improved search speed by 2.5X

2010-11-16 Thread David Edmondson
On Tue, 16 Nov 2010 11:18:43 -0500, Austin Clements wrote: > [1] Except for 2 emacs tests that depend on author order. What order > are matched authors *supposed* to be in? In IRC cworth confirmed that he considered the current behaviour a bug, which is to say that the authors should be sorted

[PATCH] emacs: Accommodate message-mode updates.

2010-11-16 Thread David Edmondson
Message mode uses a different name for composition buffers in newer versions of emacs. Allow for this when causing the composition window to overlay the viewing window. --- I don't understand why Aneesh chose to use `add-hook' and `purecopy'. emacs/notmuch-mua.el |2 +- 1 files changed, 1

Improved search speed by 2.5X

2010-11-16 Thread Austin Clements
Quoth David Edmondson on Nov 16 at 4:58 pm: > On Tue, 16 Nov 2010 11:18:43 -0500, Austin Clements > wrote: > > [1] Except for 2 emacs tests that depend on author order. What order > > are matched authors *supposed* to be in? > > In IRC cworth confirmed that he considered the current behaviour

Improved search speed by 2.5X

2010-11-16 Thread Carl Worth
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/20101116/ca9be4a2/attachment.pgp>

`notmuch setup` replaces `~/.notmuch-config` instead of truncating it

2010-11-16 Thread Carl Worth
his to replace the target of any symlinks. -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/no

[PATCH] emacs: Use `view-mode' when examining raw messages.

2010-11-16 Thread Carl Worth
muchmail.org/pipermail/notmuch/attachments/20101116/d2162bd5/attachment.pgp>

[PATCH] test: Better handling of stdout and stderr

2010-11-16 Thread Carl Worth
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101116/d6fc03c7/attachment.pgp>

[PATCH] emacs: add some convenience functions to show mode

2010-11-16 Thread Carl Worth
L: <http://notmuchmail.org/pipermail/notmuch/attachments/20101116/9bc490da/attachment.pgp>

a proposed change to JSON output to report verification of PGP/MIME signatures.

2010-11-16 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/20101116/4ec53210/attachment.pgp>

[PATCH] emacs: Avoid regexp overflow when tidying citations.

2010-11-16 Thread Carl Worth
d feel fine just not offering the knob at all. Thanks, -Carl -- 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/20101116/7324a

a proposed change to JSON output to report verification of PGP/MIME signatures.

2010-11-16 Thread Daniel Kahn Gillmor
e: application/pgp-signature Size: 900 bytes Desc: OpenPGP digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101116/d1c26e9a/attachment.pgp>

a proposed change to JSON output to report verification of PGP/MIME signatures.

2010-11-16 Thread Jameson Rollins
s scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101116/9ca183d9/attachment.pgp>

a proposed change to JSON output to report verification of PGP/MIME signatures.

2010-11-16 Thread Daniel Kahn Gillmor
--- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 900 bytes Desc: OpenPGP digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101116/202d31c2/attachment.pgp>

`notmuch setup` replaces `~/.notmuch-config` instead of truncating it

2010-11-16 Thread Ciprian Dorin, Craciun
On Tue, Nov 16, 2010 at 21:09, Carl Worth wrote: > On Tue, 16 Nov 2010 15:33:30 +0200, "Ciprian Dorin, Craciun" at gmail.com> wrote: >> ? ? So my question is: is this behaviour (of deleting the file and >> creating a new one) deliberate? If not, could it be fixed (I could >> provide a patch) to

`notmuch setup` replaces `~/.notmuch-config` instead of truncating it

2010-11-16 Thread Daniel Kahn Gillmor
hat the atomicity of the operation is expected to guarantee. --dkg -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 900 bytes Desc: OpenPGP digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101116/fd4bca1c/attachment.pgp>

[PATCH] emacs: add some convenience functions to show mode

2010-11-16 Thread Jameson Rollins
On Tue, 16 Nov 2010 11:35:31 -0800, Carl Worth wrote: > These look fairly handy. > > But, since I know our current keybindings are less-than-perfect, I would > prefer to see patches that also fix them, (rather than just adding > functionality that new users can't get at without manual

`notmuch setup` replaces `~/.notmuch-config` instead of truncating it

2010-11-16 Thread Daniel Kahn Gillmor
-- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 900 bytes Desc: OpenPGP digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101116/652de272/attachment.pgp>

a proposed change to JSON output to report verification of PGP/MIME signatures.

2010-11-16 Thread Jameson Rollins
d... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101116/9566d0d4/attachment.pgp>

a proposed change to JSON output to report verification of PGP/MIME signatures.

2010-11-16 Thread Daniel Kahn Gillmor
es into --verify being on by default in /usr/bin/notmuch. --dkg -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 900 bytes Desc: OpenPGP digital signature URL: <http://notmuchmail.org/pipermail/notmuch/atta

[notmuch] [PATCH] compatibility with emacs22

2010-11-16 Thread Carl Worth
functions. -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/20101116/18c401b3/attachment.pgp>

[notmuch] [PATCH] compatibility with emacs22

2010-11-16 Thread Rob Browning
Carl Worth writes: > But perhaps getting access to that single, entire file will be easier > than getting access to these two little functions. Assuming the current emacs-23 version will work: wget -O json.el \ 'http://repo.or.cz/w/emacs.git/blob_plain/emacs-23:/lisp/json.el' -- Rob