Re: [PATCH] emacs: Added is:tag style completion to notmuch-read-query.

2014-11-29 Thread David Bremner
David Edmondson d...@dme.org writes: On Sat, Nov 29 2014, Charles Celerier wrote: Should use a `let' binding rather than `setq'. Otherwise, looks good. (lexical-let ((completions (append (list folder: path: thread: id: date: f What about using lexical-let* to combine the

Re: [PATCH v3] nmbug: Add an 'init' command

2014-11-29 Thread Michal Sojka
Hi Trevor, On Út, říj 28 2014, W. Trevor King wrote: For folks that want to start versioning a new tag-space, instead of cloning one that someone else has already started. The empty-blob hash-object call avoids errors like: $ nmbug commit error: invalid object 100644

Re: exim pipe transport, notmuch insert and mbox-style messages

2014-11-29 Thread Edward Betts
David Bremner da...@tethera.net wrote: Edward Betts edw...@4angle.com writes: I wonder if 'notmuch insert' could be modified to detect and drop the From_ line before writing the message to disk and index it. It could do that silently or with a warning. I don't know about the larger

Re: exim pipe transport, notmuch insert and mbox-style messages

2014-11-29 Thread David Bremner
Edward Betts edw...@4angle.com writes: I don't think the From_ line needs to be captured into an X-Envelope-From header. We could make 'notmuch insert' add the 'Return-path' header to messages if it is missing, but the From_ line is present. This is probably too much complexity. I think

[PATCH v2] emacs: Added is:tag style completion to notmuch-read-query.

2014-11-29 Thread Charles Celerier
The notmuch-search-terms man page states that tag:tag is equivalent to is:tag. Completion for is:tag style searches is now supported in the Emacs interface. Signed-off-by: Charles Celerier ccel...@cs.stanford.edu --- emacs/notmuch.el | 11 +++ 1 file changed, 7 insertions(+), 4

Re: [PATCH] emacs: Added is:tag style completion to notmuch-read-query.

2014-11-29 Thread Charles Celerier
Just updated the patch to use lexical-let as suggested. I'm not too familiar with emacs-lisp, so please tell me if you had something else in mind. charles David Bremner da...@tethera.net writes: David Edmondson d...@dme.org writes: On Sat, Nov 29 2014, Charles Celerier wrote: Should use a

Re: [Vagrant Cascadian] Bug#759646: notmuch-emacs: switching mode= to invalid value sends unencrypted mail

2014-11-29 Thread David Bremner
David Edmondson d...@dme.org writes: On Tue, Sep 02 2014, Tomi Ollila wrote: On Tue, Sep 02 2014, Daniel Kahn Gillmor d...@fifthhorseman.net wrote: On 08/30/2014 03:37 AM, Jani Nikula wrote: I'm inclined to think this is a bug in message-mode. I agree it's a bug in message-mode, not in

Re: [PATCH v3] nmbug: Add an 'init' command

2014-11-29 Thread W. Trevor King
On Sat, Nov 29, 2014 at 10:40:01AM +0100, Michal Sojka wrote: On Út, říj 28 2014, W. Trevor King wrote: +_spawn( +args=['git', 'init', '--separate-git-dir', NMBGIT, workdir], +wait=True) +_git(args=['config', '--unset', 'core.worktree'], wait=True)

Re: [PATCH v3] nmbug: Add an 'init' command

2014-11-29 Thread W. Trevor King
On Sat, Nov 29, 2014 at 12:09:17PM -0800, W. Trevor King wrote: On Sat, Nov 29, 2014 at 10:40:01AM +0100, Michal Sojka wrote: On Út, říj 28 2014, W. Trevor King wrote: +_spawn( +args=['git', 'init', '--separate-git-dir', NMBGIT, workdir], +wait=True)

Forwarding a mail, with a non-ASCII signature

2014-11-29 Thread David Bremner
Lele Gaifax writes: >> > > Thanks a lot, waiting to see it landing on the MELPA archive. > > ciao, lele. Just be aware that people have had problems in the past using versions from MELPA because they ship only the elisp and not the corresponding C code. Hopefully it works better now, or at

[PATCH] emacs: Added "is:" style completion to notmuch-read-query.

2014-11-29 Thread David Edmondson
On Sat, Nov 29 2014, Charles Celerier wrote: > The notmuch-search-terms man page states that "tag:" is equivalent > to "is:". Completion for "is:" style searches is now supported > in the Emacs interface. > > Signed-off-by: Charles Celerier > --- > emacs/notmuch.el | 8 +--- > 1 file

[PATCH] emacs: Added "is:" style completion to notmuch-read-query.

2014-11-29 Thread David Bremner
David Edmondson writes: > On Sat, Nov 29 2014, Charles Celerier wrote: > > Should use a `let' binding rather than `setq'. Otherwise, looks good. > >>(lexical-let >>((completions >> (append (list "folder:" "path:" "thread:" "id:" "date:" "f What about using lexical-let* to

[PATCH v3] nmbug: Add an 'init' command

2014-11-29 Thread Michal Sojka
Hi Trevor, On ?t, ??j 28 2014, W. Trevor King wrote: > For folks that want to start versioning a new tag-space, instead of > cloning one that someone else has already started. > > The empty-blob hash-object call avoids errors like: > > $ nmbug commit > error: invalid object 100644

exim pipe transport, notmuch insert and mbox-style messages

2014-11-29 Thread Edward Betts
David Bremner wrote: > Edward Betts writes: > > I wonder if 'notmuch insert' could be modified to detect and drop the From_ > > line before writing the message to disk and index it. It could do that > > silently or with a warning. > > I don't know about the larger question(s), but I'd suggest

exim pipe transport, notmuch insert and mbox-style messages

2014-11-29 Thread David Bremner
Edward Betts writes: > I don't think the From_ line needs to be captured into an X-Envelope-From > header. We could make 'notmuch insert' add the 'Return-path' header to > messages if it is missing, but the From_ line is present. This is probably too > much complexity. I think we're going to

[PATCH v2] emacs: Added "is:" style completion to notmuch-read-query.

2014-11-29 Thread Charles Celerier
The notmuch-search-terms man page states that "tag:" is equivalent to "is:". Completion for "is:" style searches is now supported in the Emacs interface. Signed-off-by: Charles Celerier --- emacs/notmuch.el | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git

[PATCH] emacs: Added "is:" style completion to notmuch-read-query.

2014-11-29 Thread Charles Celerier
using lexical-let* to combine the two binding forms? > > d -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 480 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20141129/b00b763d/attachment.pgp>

[Vagrant Cascadian] Bug#759646: notmuch-emacs: switching mode= to invalid value sends unencrypted mail

2014-11-29 Thread David Bremner
David Edmondson writes: > On Tue, Sep 02 2014, Tomi Ollila wrote: >> On Tue, Sep 02 2014, Daniel Kahn Gillmor wrote: >> >>> On 08/30/2014 03:37 AM, Jani Nikula wrote: I'm inclined to think this is a bug in message-mode. >>> >>> I agree it's a bug in message-mode, not in notmuch itself. >>

[PATCH v3] nmbug: Add an 'init' command

2014-11-29 Thread W. Trevor King
. Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20141129/79b6d535/attachment.pgp>

[PATCH v3] nmbug: Add an 'init' command

2014-11-29 Thread W. Trevor King
ki/Pretty_Good_Privacy -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20141129/50a1281c/attachment.pgp>