Re: [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 comb

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 e69de29bb2d1

Re: 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 ju

Re: 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 so

[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 a/emacs/not

Re: [PATCH] emacs: Added "is:" 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 writes: > David Edmondson writes: > >> On Sat, Nov 29 2014, Charles Celerier wrote: > >> >> Should use a `let' binding rather

Re: [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. >>

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'], wai

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], > > > +wai

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 least

[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 changed,

[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 comb

[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 e69de29bb2d1

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 ju

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 so

[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 a/emacs/not

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

2014-11-29 Thread Charles Celerier
What about 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
org/wiki/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/79b6d535/attachment.pgp>

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

2014-11-29 Thread W. Trevor King
fig. Cheers, Trevor -- This email may be signed or encrypted with GnuPG (http://www.gnupg.org). For more information, see http://en.wikipedia.org/wiki/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>