id:message-id should be links [Re: [SCM] The notmuchmail.org wiki. branch, master, updated. cf29c08b8cafb56c6ac04917ac2cb1f63f6cda1b]

2010-11-15 Thread Gregor Zattler
Hi David, * David Edmondson [15. Nov. 2010]: > On Mon, 15 Nov 2010 04:29:37 -0800 (PST), notmuch-commits-sender at > notmuchmail.org (Anonymous Git Pusher (for wiki)) wrote: >> - Log - >> commit cf29c08b8cafb56c6ac04917ac2cb1f63f6cda

notmuchsync: handling of the deleted tag

2010-11-15 Thread Daniel Kahn Gillmor
gital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101115/1ed9a96f/attachment.pgp>

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

2010-11-15 Thread David Edmondson
--- emacs/notmuch-show.el | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index c9d086c..cd35f48 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1048,11 +1048,13 @@ any effects from previous calls

[PATCH 2/2] emacs: notmuch-show-mode should force less behaviour.

2010-11-15 Thread David Edmondson
Move the enabling of `goto-address-mode' and `visual-line-mode' to `notmuch-show-hook' in order that a user may choose to not use them. --- emacs/notmuch-show.el | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el ind

[PATCH 1/2] emacs: Turn id:message-id text in messages into links.

2010-11-15 Thread David Edmondson
The links simply run `(notmuch-search "id:message-id")'. --- emacs/notmuch-wash.el | 30 ++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/emacs/notmuch-wash.el b/emacs/notmuch-wash.el index a7ea5e9..f2755ae 100644 --- a/emacs/notmuch-wash.el +++ b/em

Re: id:message-id should be links [Re: [SCM] The notmuchmail.org wiki. branch, master, updated. cf29c08b8cafb56c6ac04917ac2cb1f63f6cda1b]

2010-11-15 Thread Gregor Zattler
Hi David, * David Edmondson [15. Nov. 2010]: > On Mon, 15 Nov 2010 04:29:37 -0800 (PST), > notmuch-commits-sen...@notmuchmail.org (Anonymous Git Pusher (for wiki)) > wrote: >> - Log - >> commit cf29c08b8cafb56c6ac04917ac2cb1f63f6cda

id:message-id should be links [Re: [SCM] The notmuchmail.org wiki. branch, master, updated. cf29c08b8cafb56c6ac04917ac2cb1f63f6cda1b]

2010-11-15 Thread David Edmondson
On Mon, 15 Nov 2010 04:29:37 -0800 (PST), notmuch-commits-sender at notmuchmail.org (Anonymous Git Pusher (for wiki)) wrote: > - Log - > commit cf29c08b8cafb56c6ac04917ac2cb1f63f6cda1b > Author: Gregor Zattler > Date: Mon Nov 15 13

Re: notmuchsync: handling of the deleted tag

2010-11-15 Thread Daniel Kahn Gillmor
On 11/15/2010 02:58 PM, Carl Worth wrote: > Should we perhaps add a -0 option so that one could actually reliably > handle filenames with newlines in a case like this? Or can we just > assert that such filenames are insane and *should* cause problems? it's not just newlines. Without using the -L1

Re: notmuchsync: handling of the deleted tag

2010-11-15 Thread Carl Worth
On Sun, 14 Nov 2010 23:30:13 +0100, Sebastian Spaeth wrote: > Not sure. If it worked this would be really nice. But as most IMAP > server support arbitrary flags to be added to a message, I would still > think the best is to code a tool that talks IMAP and synchronizes > notmuch tags with the IMA

notmuchsync: handling of the deleted tag

2010-11-15 Thread Carl Worth
ags to notmuch tags. -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/20101115/725344de/attachment.pgp>

Re: notmuchsync: handling of the deleted tag

2010-11-15 Thread Carl Worth
On Sun, 14 Nov 2010 22:01:09 -0500, Jameson Rollins wrote: > On Fri, 12 Nov 2010 16:52:51 -0800, Carl Worth wrote: > > This one is a simple one-liner as of notmuch 0.4: > > > > notmuch search --output=files tag:deleted -print0 | xargs -0 rm > > Is -print0 actually a command that notmuch ac

notmuchsync: handling of the deleted tag

2010-11-15 Thread Carl Worth
and *should* cause problems? -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/20101115/92ebd3fa/attachment.pgp>

notmuchsync: handling of the deleted tag

2010-11-15 Thread Daniel Kahn Gillmor
re Size: 900 bytes Desc: OpenPGP digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101115/09e17c49/attachment.pgp>

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

2010-11-15 Thread Daniel Kahn Gillmor
s multiple signature packets. Thanks for helping think this through, David. --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

[PATCH] How to improve the mail handling workflow?

2010-11-15 Thread Michael Hudson
On Fri, 12 Nov 2010 16:23:58 +0100, Matthieu Lemerre wrote: > - Processing mails which do not have any automatically added tag is >boring, because I need to press several keys to archive them: "+" to >add a tag, and then "a". If I forget about +, then my mail is >impossible to find.

notmuchsync: handling of the deleted tag

2010-11-15 Thread servilio
On 14 November 2010 22:03, Jameson Rollins wrote: [...] > I think the 'print0' might have been a mistake on Carl's part. ?I don't > think that option is actually supported by notmuch. ?In which case xargs > -0 isn't going to work as expected because there are no null characters > in the input str

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

2010-11-15 Thread David Edmondson
On Sat, 13 Nov 2010 02:55:50 -0500, Daniel Kahn Gillmor wrote: > It would end up like this (without the --verify flag): > > --- > "body": [ > { > "content": "here is a test message i signed on 2010-11-11.\n\n > --dkg\n\n", > "content-type": "text/p

[PATCH] How to improve the mail handling workflow?

2010-11-15 Thread Michal Sojka
On Sat, 13 Nov 2010, Darren McGuicken wrote: > On Sat, 13 Nov 2010 07:05:58 +0100, Michal Sojka > wrote: > > I agree with you in that in many cases tags can be replaced by saved > > searches. Last time I did it, i.e. used saved searches to distinguish > > messages from different mailing lists, th

Re: notmuchsync: handling of the deleted tag

2010-11-15 Thread Daniel Kahn Gillmor
On 11/15/2010 10:24 AM, servilio wrote: > And "xargs -L1 ..." will solve the issue in a nicer way. So the above would > be: > > notmuch search --output=files tag:deleted | xargs -L1 rm Assuming none of your mail filenames have newlines or trailing whitespace, that is. I'd like to make that kind

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

2010-11-15 Thread Daniel Kahn Gillmor
On 11/15/2010 05:23 AM, David Edmondson wrote: > i.e. the existence of the multipart/signed wrapper should be > explicit. In general, all MIME parts should be visible. thanks, this makes sense to me. > Changing the JSON output in this way would not materially affect your > proposal, I believe. T

[PATCH] How to improve the mail handling workflow?

2010-11-15 Thread David Edmondson
On Sun, 14 Nov 2010 22:07:03 +0100, Sebastian Spaeth wrote: > > (define-key notmuch-search-mode-map "d" > > (lambda () > > "delete thread and advance" > > (interactive) > > (notmuch-search-add-tag "deleted") > > (forward-line))) > ... > > This only works if you've already loade

Re: notmuchsync: handling of the deleted tag

2010-11-15 Thread servilio
On 14 November 2010 22:03, Jameson Rollins wrote: [...] > I think the 'print0' might have been a mistake on Carl's part.  I don't > think that option is actually supported by notmuch.  In which case xargs > -0 isn't going to work as expected because there are no null characters > in the input stre

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

2010-11-15 Thread David Edmondson
--- emacs/notmuch-show.el | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index c9d086c..cd35f48 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1048,11 +1048,13 @@ any effects from previous calls

[PATCH 2/2] emacs: notmuch-show-mode should force less behaviour.

2010-11-15 Thread David Edmondson
Move the enabling of `goto-address-mode' and `visual-line-mode' to `notmuch-show-hook' in order that a user may choose to not use them. --- emacs/notmuch-show.el | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el ind

[PATCH 1/2] emacs: Turn id:message-id text in messages into links.

2010-11-15 Thread David Edmondson
The links simply run `(notmuch-search "id:message-id")'. --- emacs/notmuch-wash.el | 30 ++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/emacs/notmuch-wash.el b/emacs/notmuch-wash.el index a7ea5e9..f2755ae 100644 --- a/emacs/notmuch-wash.el +++ b/em

id:message-id should be links [Re: [SCM] The notmuchmail.org wiki. branch, master, updated. cf29c08b8cafb56c6ac04917ac2cb1f63f6cda1b]

2010-11-15 Thread David Edmondson
On Mon, 15 Nov 2010 04:29:37 -0800 (PST), notmuch-commits-sen...@notmuchmail.org (Anonymous Git Pusher (for wiki)) wrote: > - Log - > commit cf29c08b8cafb56c6ac04917ac2cb1f63f6cda1b > Author: Gregor Zattler > Date: Mon Nov 15 13:29

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

2010-11-15 Thread David Edmondson
On Sat, 13 Nov 2010 02:55:50 -0500, Daniel Kahn Gillmor wrote: > It would end up like this (without the --verify flag): > > --- > "body": [ > { > "content": "here is a test message i signed on 2010-11-11.\n\n > --dkg\n\n", > "content-type": "text/

Re: [PATCH] How to improve the mail handling workflow?

2010-11-15 Thread David Edmondson
On Sun, 14 Nov 2010 22:07:03 +0100, Sebastian Spaeth wrote: > > (define-key notmuch-search-mode-map "d" > > (lambda () > > "delete thread and advance" > > (interactive) > > (notmuch-search-add-tag "deleted") > > (forward-line))) > ... > > This only works if you've already loade

[PATCH] How to improve the mail handling workflow?

2010-11-15 Thread Matthieu Lemerre
On Sun, 14 Nov 2010 22:34:38 +0100, Sebastian Spaeth wrote: > On Fri, 12 Nov 2010 17:35:22 +0100, Matthieu Lemerre wrote: > > But the space bar removes the unread tag, so I do not see how it > > helps... By default, hitting the space bar throughout a thread would > > remove every tag from the th

Re: [PATCH] How to improve the mail handling workflow?

2010-11-15 Thread Michal Sojka
On Sat, 13 Nov 2010, Darren McGuicken wrote: > On Sat, 13 Nov 2010 07:05:58 +0100, Michal Sojka wrote: > > I agree with you in that in many cases tags can be replaced by saved > > searches. Last time I did it, i.e. used saved searches to distinguish > > messages from different mailing lists, the r