[PATCH v3 9/9] test: Update the test output to accord with more reply changes

2014-05-12 Thread David Edmondson
When replying to complex messages, some part headers may be shown. Update the expected test output accordingly. --- test/T310-emacs.sh | 12 1 file changed, 12 insertions(+) diff --git a/test/T310-emacs.sh b/test/T310-emacs.sh index 95bb67e..fa15e03 100755 --- a/test/T310-emacs.sh

[PATCH v3 8/9] emacs/mua: Insert part headers depending on the message

2014-05-12 Thread David Edmondson
Whether to insert part headers should depend on the details of the message being cited. --- emacs/notmuch-mua.el | 45 +++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index c800c38..239cc1a

[PATCH v3 7/9] test: Update the test output to accord with the reply changes

2014-05-12 Thread David Edmondson
Replying to a message with multiple parts will now typically include content from several parts (whereas previously only the first part was used). Update the expected output from the emacs reply tests accordingly. --- test/T310-emacs.sh | 32 1 file changed, 32

[PATCH v3 6/9] emacs/mua: Don't insert part headers in citations

2014-05-12 Thread David Edmondson
Avoid inserting part headers when rendering a message body for citation purposes. --- emacs/notmuch-mua.el | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index 09c922f..c800c38 100644 --- a/emacs/notmuch-mua.el +++

[PATCH v3 5/9] emacs/show: Remove the 'no-buttons option of `notmuch-show-insert-bodypart'

2014-05-12 Thread David Edmondson
No code uses the 'no-buttons argument to `notmuch-show-insert-bodypart', so remove it. --- emacs/notmuch-show.el | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index e511655..981b922 100644 --- a/emacs/notmuch-show.el +++

[PATCH v3 3/9] emacs/show: Accommodate the lack of part header buttons

2014-05-12 Thread David Edmondson
Various pieces of code assumed (reasonably) that part header buttons are present. Modify them to avoid problems if no part headers were inserted. --- emacs/notmuch-show.el | 88 --- 1 file changed, 48 insertions(+), 40 deletions(-) diff --git

[PATCH v3 1/9] emacs/show: Re-arrange determination if a part header is necessary

2014-05-12 Thread David Edmondson
Move the determination of whether a part header is required to a distinct function. --- emacs/notmuch-show.el | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 10fc872..ec99141 100644 ---

[PATCH v3 0/9] emacs: Improve the cited message included in replies

2014-05-12 Thread David Edmondson
headers using a function. - Fix the tests. David Edmondson (9): emacs/show: Re-arrange determination if a part header is necessary emacs/show: Allow the user to decide when part headers should be inserted emacs/show: Accommodate the lack of part header buttons emacs/mua: Generate improved

[PATCH v2] emacs: Improve the cited message included in replies

2014-05-12 Thread David Edmondson
On Mon, May 12 2014, Mark Walters wrote: >>> Secondly, the existing code only includes text sub-parts of the >>> message. I would think your version might include any sub-parts show is >>> configured to display, including, say images. (However, in my testing >>> images didn't seem to be included:

[PATCH v2] emacs: Add support for saved search accelerators

2014-05-12 Thread David Edmondson
On Sat, May 10 2014, Aaron Ecay wrote: > 2014ko maiatzak 8an, Mark Walters-ek idatzi zuen: >> >> Hi >> >> This version looks good to me. >> >> The only slight query I have is which key to bind it to: Austin used g >> in notmuch-go and this uses j. Austin said on irc that he chose g >> because it

[PATCH v2] emacs: Improve the cited message included in replies

2014-05-12 Thread David Edmondson
On Sat, May 10 2014, Mark Walters wrote: > On Thu, 08 May 2014, David Edmondson wrote: >> emacs: Improve the cited message included in replies >> >> v2: >> - Don't run the text/plain hooks when generating the message to quote. >> > > In principle I lik

Re: [PATCH v2] emacs: Improve the cited message included in replies

2014-05-12 Thread David Edmondson
On Sat, May 10 2014, Mark Walters wrote: On Thu, 08 May 2014, David Edmondson d...@dme.org wrote: emacs: Improve the cited message included in replies v2: - Don't run the text/plain hooks when generating the message to quote. In principle I like this approach: keeping show and reply

Re: [PATCH v2] emacs: Improve the cited message included in replies

2014-05-12 Thread David Edmondson
On Mon, May 12 2014, Mark Walters wrote: Secondly, the existing code only includes text sub-parts of the message. I would think your version might include any sub-parts show is configured to display, including, say images. (However, in my testing images didn't seem to be included: I am not

[PATCH v3 3/9] emacs/show: Accommodate the lack of part header buttons

2014-05-12 Thread David Edmondson
Various pieces of code assumed (reasonably) that part header buttons are present. Modify them to avoid problems if no part headers were inserted. --- emacs/notmuch-show.el | 88 --- 1 file changed, 48 insertions(+), 40 deletions(-) diff --git

[PATCH v3 2/9] emacs/show: Allow the user to decide when part headers should be inserted

2014-05-12 Thread David Edmondson
Make the function that determines whether a part header should be inserted a user controlled, with some example functions. --- emacs/notmuch-show.el | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index

[PATCH v3 4/9] emacs/mua: Generate improved cited text for replies

2014-05-12 Thread David Edmondson
Use the message display code to generate message text to cite in replies. --- emacs/notmuch-mua.el | 38 -- 1 file changed, 8 insertions(+), 30 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index 95e4a4d..09c922f 100644 ---

[PATCH v3 6/9] emacs/mua: Don't insert part headers in citations

2014-05-12 Thread David Edmondson
Avoid inserting part headers when rendering a message body for citation purposes. --- emacs/notmuch-mua.el | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index 09c922f..c800c38 100644 --- a/emacs/notmuch-mua.el +++

[PATCH v3 1/9] emacs/show: Re-arrange determination if a part header is necessary

2014-05-12 Thread David Edmondson
Move the determination of whether a part header is required to a distinct function. --- emacs/notmuch-show.el | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 10fc872..ec99141 100644 ---

[PATCH v3 8/9] emacs/mua: Insert part headers depending on the message

2014-05-12 Thread David Edmondson
Whether to insert part headers should depend on the details of the message being cited. --- emacs/notmuch-mua.el | 45 +++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index c800c38..239cc1a

[PATCH v3 5/9] emacs/show: Remove the 'no-buttons option of `notmuch-show-insert-bodypart'

2014-05-12 Thread David Edmondson
No code uses the 'no-buttons argument to `notmuch-show-insert-bodypart', so remove it. --- emacs/notmuch-show.el | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index e511655..981b922 100644 --- a/emacs/notmuch-show.el +++

[PATCH v3 7/9] test: Update the test output to accord with the reply changes

2014-05-12 Thread David Edmondson
Replying to a message with multiple parts will now typically include content from several parts (whereas previously only the first part was used). Update the expected output from the emacs reply tests accordingly. --- test/T310-emacs.sh | 32 1 file changed, 32

[PATCH v3 9/9] test: Update the test output to accord with more reply changes

2014-05-12 Thread David Edmondson
When replying to complex messages, some part headers may be shown. Update the expected test output accordingly. --- test/T310-emacs.sh | 12 1 file changed, 12 insertions(+) diff --git a/test/T310-emacs.sh b/test/T310-emacs.sh index 95bb67e..fa15e03 100755 --- a/test/T310-emacs.sh

Re: [PATCH 6/7] emacs: hello: add highlight newly arrived messages option

2014-05-12 Thread David Edmondson
On Sun, May 11 2014, Mark Walters wrote: This adds a function that highlights searches which have newly arrived messages (ones which arrived since the previous refresh of notmuch-hello). It does that by getting a full list of matching message ids and checking whether any new messages have

Re: [PATCH 2/7] emacs: hello: allow saved search display functions

2014-05-12 Thread David Edmondson
On Sun, May 11 2014, Mark Walters wrote: Extend the saved search plist to include a :display-function property that can customise the display of the saved search. It can change the count string displayed and the name string. Thus the user can customise so that a particular search: does not

[PATCH v1 0/3] emacs: Allow saving of threads and messages

2014-05-09 Thread David Edmondson
On Fri, May 09 2014, Mark Walters wrote: > The first two patches are fine, although I think I like constructing a > query then quoting rather than quoting bits of a query and bolting them > together (even the both work). Agreed. I've no idea what I was thinking. > My concern is that the current

[PATCH v4 0/2] emacs: show: redesign unread/read logic

2014-05-09 Thread David Edmondson
On Fri, May 09 2014, Mark Walters wrote: >> Just to confirm: you can get your desired behaviour by writing an >> alternative `notmuch-show-mark-read-function'? > > Yes I can confirm that. So if this went in I can get the behaviour of > the earlier series without needing to patch notmuch. > > We

[PATCH v4 0/2] emacs: show: redesign unread/read logic

2014-05-09 Thread David Edmondson
On Fri, May 09 2014, Mark Walters wrote: > This is v4 of this set. v3 is at > id:139593-13297-1-git-send-email-markwalters1009 at gmail.com > > David (dme) was not keen on the logic in the previous patch so I have > tried to make it rather more customisable and made this version much > closer

[PATCH v1 3/3] emacs: Add `notmuch-show-save-message' to save messages

2014-05-09 Thread David Edmondson
Following `notmuch-show-pipe-message', add a binding 'S' to save either the current or all open messages, depending on prefix argument. --- emacs/notmuch-show.el | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/emacs/notmuch-show.el

[PATCH v1 2/3] emacs: Minor re-work of `notmuch-show-pipe-message'

2014-05-09 Thread David Edmondson
Stylistic only - no functional change. --- emacs/notmuch-show.el | 59 +-- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 2ed221a..62c0be6 100644 --- a/emacs/notmuch-show.el +++

[PATCH v1 0/3] emacs: Allow saving of threads and messages

2014-05-09 Thread David Edmondson
emacs: Allow saving of threads and messages Similar to the pipe (|) support, allow saving of threads and messages. David Edmondson (3): emacs: Fix indentation. emacs: Minor re-work of `notmuch-show-pipe-message' emacs: Add `notmuch-show-save-message' to save messages emacs/notmuch

[PATCH v1 0/3] emacs: Allow saving of threads and messages

2014-05-09 Thread David Edmondson
emacs: Allow saving of threads and messages Similar to the pipe (|) support, allow saving of threads and messages. David Edmondson (3): emacs: Fix indentation. emacs: Minor re-work of `notmuch-show-pipe-message' emacs: Add `notmuch-show-save-message' to save messages emacs/notmuch

[PATCH v1 2/3] emacs: Minor re-work of `notmuch-show-pipe-message'

2014-05-09 Thread David Edmondson
Stylistic only - no functional change. --- emacs/notmuch-show.el | 59 +-- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 2ed221a..62c0be6 100644 --- a/emacs/notmuch-show.el +++

[PATCH v1 3/3] emacs: Add `notmuch-show-save-message' to save messages

2014-05-09 Thread David Edmondson
Following `notmuch-show-pipe-message', add a binding 'S' to save either the current or all open messages, depending on prefix argument. --- emacs/notmuch-show.el | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/emacs/notmuch-show.el

Re: [PATCH v4 0/2] emacs: show: redesign unread/read logic

2014-05-09 Thread David Edmondson
On Fri, May 09 2014, Mark Walters wrote: This is v4 of this set. v3 is at id:139593-13297-1-git-send-email-markwalters1...@gmail.com David (dme) was not keen on the logic in the previous patch so I have tried to make it rather more customisable and made this version much closer to the

Re: [PATCH v4 0/2] emacs: show: redesign unread/read logic

2014-05-09 Thread David Edmondson
On Fri, May 09 2014, Mark Walters wrote: Just to confirm: you can get your desired behaviour by writing an alternative `notmuch-show-mark-read-function'? Yes I can confirm that. So if this went in I can get the behaviour of the earlier series without needing to patch notmuch. We can decide

Re: [PATCH v1 0/3] emacs: Allow saving of threads and messages

2014-05-09 Thread David Edmondson
On Fri, May 09 2014, Mark Walters wrote: The first two patches are fine, although I think I like constructing a query then quoting rather than quoting bits of a query and bolting them together (even the both work). Agreed. I've no idea what I was thinking. My concern is that the current

Re: [RFC PATCH] emacs: show: mark messages unread if seen in buffer

2014-05-09 Thread David Edmondson
On Fri, May 09 2014, Mark Walters wrote: To use set notmuch-show-mark-read-function to #'notmuch-show-do-seen I haven't test this function, but I'd expect it to be an option when manipulating `notmuch-show-mark-read-function' using custom. ___ notmuch

emacs reply fills X clipboard with reply message body

2014-05-08 Thread David Edmondson
[ I'm cycling around back through some old mail. ] On Tue, Sep 17 2013, Jameson Graef Rollins wrote: > I've just started noticing that when I reply to messages from the emacs > UI, my X clipboard is filled with the body of the reply message, > displacing whatever was in there previously. This

[Patch v3 0/3] emacs: show: redesign unread/read logic

2014-05-08 Thread David Edmondson
On Thu, May 08 2014, Mark Walters wrote: >>> 3) viewing or entering a message using arrow keys, page-up page-down, >>> ctrl-v mouse clicks etc > > This is perhaps a key one: should the above mark it read. I would be happy to have that be the case. >>> The other problem with the current approach

[PATCH v2] emacs/notmuch-mua: Generate improved cited text for replies

2014-05-08 Thread David Edmondson
Use the message display code to generate message text to cite in replies. --- emacs/notmuch-mua.el | 38 -- 1 file changed, 8 insertions(+), 30 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index 95e4a4d..09c922f 100644 ---

[PATCH v2] emacs: Improve the cited message included in replies

2014-05-08 Thread David Edmondson
emacs: Improve the cited message included in replies v2: - Don't run the text/plain hooks when generating the message to quote. David Edmondson (1): emacs/notmuch-mua: Generate improved cited text for replies emacs/notmuch-mua.el | 38 -- 1 file changed

[Patch v3 0/3] emacs: show: redesign unread/read logic

2014-05-08 Thread David Edmondson
On Wed, May 07 2014, Mark Walters wrote: > A message is marked read if: > > 1) if you navigate to a message using n/p (next/prev open message) > > 2) if you navigate to it using N/P (next/prev message) regardless of > whether the message is open or closed. > > 3) if you go to it using

Re: [Patch v3 0/3] emacs: show: redesign unread/read logic

2014-05-08 Thread David Edmondson
On Wed, May 07 2014, Mark Walters wrote: A message is marked read if: 1) if you navigate to a message using n/p (next/prev open message) 2) if you navigate to it using N/P (next/prev message) regardless of whether the message is open or closed. 3) if you go to it using

[PATCH v2] emacs/notmuch-mua: Generate improved cited text for replies

2014-05-08 Thread David Edmondson
Use the message display code to generate message text to cite in replies. --- emacs/notmuch-mua.el | 38 -- 1 file changed, 8 insertions(+), 30 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index 95e4a4d..09c922f 100644 ---

[PATCH v2] emacs: Improve the cited message included in replies

2014-05-08 Thread David Edmondson
emacs: Improve the cited message included in replies v2: - Don't run the text/plain hooks when generating the message to quote. David Edmondson (1): emacs/notmuch-mua: Generate improved cited text for replies emacs/notmuch-mua.el | 38 -- 1 file changed

Re: emacs reply fills X clipboard with reply message body

2014-05-08 Thread David Edmondson
[ I'm cycling around back through some old mail. ] On Tue, Sep 17 2013, Jameson Graef Rollins wrote: I've just started noticing that when I reply to messages from the emacs UI, my X clipboard is filled with the body of the reply message, displacing whatever was in there previously. This

[PATCH v2] emacs: Add support for saved search accelerators

2014-05-07 Thread David Edmondson
Extended the saved search definition to allow the inclusion of an accelerator key for the search. Bind 'j' in the common mode map as a leader for such accelerator keys. --- emacs/notmuch-hello.el | 5 - emacs/notmuch-lib.el | 46 ++ 2 files

[PATCH v2] emacs: Add support for saved search accelerator keys

2014-05-07 Thread David Edmondson
-get'. - Use key-sequence rather than string in the custom definition. - Add a ? binding to display the accelerators. - Use the minibuffer-local-map as parent for the new keymap. - Fix external declarations. - Remove the display of the accelerators in notmuch-hello. David Edmondson (1

[PATCH] emacs: hello: allow arbitrary lisp for generating the count.

2014-05-07 Thread David Edmondson
Looks good, two nits: On Tue, May 06 2014, Mark Walters wrote: > This allows a function to be given for the count-query of a saved > search. The function will be called with the query plist as an > argument to generate the count shown and should return either a string > or a number to be

[PATCH v2] emacs: Add support for saved search accelerator keys

2014-05-07 Thread David Edmondson
-get'. - Use key-sequence rather than string in the custom definition. - Add a ? binding to display the accelerators. - Use the minibuffer-local-map as parent for the new keymap. - Fix external declarations. - Remove the display of the accelerators in notmuch-hello. David Edmondson (1

[PATCH v2] emacs: Add support for saved search accelerators

2014-05-07 Thread David Edmondson
Extended the saved search definition to allow the inclusion of an accelerator key for the search. Bind 'j' in the common mode map as a leader for such accelerator keys. --- emacs/notmuch-hello.el | 5 - emacs/notmuch-lib.el | 46 ++ 2 files

Re: [Patch v3 0/3] emacs: show: redesign unread/read logic

2014-05-07 Thread David Edmondson
On Tue, Mar 25 2014, Mark Walters wrote: The third patch adds my attempt at a plausible logic. I find it works very well: it usually does both what I expect and what I want. Whilst I think that the patch is well done, I don't like the resulting behaviour. That is a personal preference, of

Re: [PATCH v4 2/3] emacs: `notmuch-show-buttonize-links' only `notmuch-show's a message if it exists

2014-05-07 Thread David Edmondson
[ Trimmed to/cc list. ] On Sun, Jan 22 2012, Pieter Praet wrote: * emacs/notmuch-show.el (notmuch-show-found-target-p): new predicate function that uses notmuch(1) 'count' to see if a query turns up any results. * emacs/notmuch-show.el (notmuch-show-if-found): new function that only shows

[RFC] [PATCH] emacs/notmuch-mua: Generate improved cited text for replies

2014-05-07 Thread David Edmondson
Use the message display code to generate message text to cite in replies. --- This breaks the tests, which know about the details of how the reply buffer looks in emacs. I will fix that of course, if this approach is considered acceptable. The original implementation took a simplistic view of

[RFC] [PATCH] emacs: Add support for saved search accelerators.

2014-05-06 Thread David Edmondson
Extended the saved search definition to allow the inclusion of an accelerator key for the search. Bind 'j' in the common mode map as a leader for such accelerator keys. --- This arose out a conversation in #notmuch and Mark's patch to extend the saved search custom specification based on

[PATCH] emacs: Correct the documentation for `notmuch-search-line-faces'.

2014-05-06 Thread David Edmondson
Sorry for the duplicates - MTA troubles. The two versions are the same. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 310 bytes Desc: not available URL:

[PATCH] emacs: Correct the documentation for `notmuch-search-line-faces'.

2014-05-06 Thread David Edmondson
The implementation and documentation for `notmuch-search-line-faces' disagreed in how elements in the list were merged. Correct the documentation to match the implementation (that is, the earlier elements in the list have precedence over later elements). --- emacs/notmuch.el | 10 +- 1

[PATCH] emacs: Correct the documentation for `notmuch-search-line-faces'.

2014-05-06 Thread David Edmondson
The implementation and documentation for `notmuch-search-line-faces' disagreed in how elements in the list were merged. Correct the documentation to match the implementation (that is, the earlier elements in the list have precedence over later elements). --- emacs/notmuch.el | 10 +- 1

precedence in `notmuch-search-line-faces'

2014-05-06 Thread David Edmondson
On Sun, May 04 2014, Mark Walters wrote: > I have a slight preference for making it do the comment (ie reverse the > list). My reason is that we have some other cases such as > notmuch-tag-format that apply the first match, so users might be used to > having the specific first and the more general

[PATCH] emacs: put current query as default value in notmuch-read-query

2014-05-06 Thread David Edmondson
On Tue, May 06 2014, Mark Walters wrote: > Hi > > On Tue, 06 May 2014, David Edmondson wrote: >> On Sat, May 03 2014, Mark Walters wrote: >>> An alternative to putting the logic in notmuch-read-query would be to >>> store the query in a consistently n

[PATCH] emacs: put current query as default value in notmuch-read-query

2014-05-06 Thread David Edmondson
On Sat, May 03 2014, Mark Walters wrote: > An alternative to putting the logic in notmuch-read-query would be to > store the query in a consistently named buffer local variable in all > the modes. If we want to show the actually run query in notmuch-show > above then this is probably the neatest

Re: [PATCH] emacs: put current query as default value in notmuch-read-query

2014-05-06 Thread David Edmondson
On Sat, May 03 2014, Mark Walters wrote: An alternative to putting the logic in notmuch-read-query would be to store the query in a consistently named buffer local variable in all the modes. If we want to show the actually run query in notmuch-show above then this is probably the neatest

Re: precedence in `notmuch-search-line-faces'

2014-05-06 Thread David Edmondson
On Sun, May 04 2014, Mark Walters wrote: I have a slight preference for making it do the comment (ie reverse the list). My reason is that we have some other cases such as notmuch-tag-format that apply the first match, so users might be used to having the specific first and the more general

Re: [PATCH] emacs: Correct the documentation for `notmuch-search-line-faces'.

2014-05-06 Thread David Edmondson
Sorry for the duplicates - MTA troubles. The two versions are the same. signature.asc Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[RFC] [PATCH] emacs: Add support for saved search accelerators.

2014-05-06 Thread David Edmondson
Extended the saved search definition to allow the inclusion of an accelerator key for the search. Bind 'j' in the common mode map as a leader for such accelerator keys. --- This arose out a conversation in #notmuch and Mark's patch to extend the saved search custom specification based on

Re: [PATCH] emacs: hello: allow arbitrary lisp for generating the count.

2014-05-06 Thread David Edmondson
Looks good, two nits: On Tue, May 06 2014, Mark Walters markwalters1...@gmail.com wrote: This allows a function to be given for the count-query of a saved search. The function will be called with the query plist as an argument to generate the count shown and should return either a string or a

[PATCH] NEWS: make it explicit that wildcard matching is no longer supported

2014-05-02 Thread David Edmondson
Good for me, thank you. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 310 bytes Desc: not available URL:

Add support for specifying tags during "notmuch new"

2014-05-02 Thread David Edmondson
On Fri, May 02 2014, Austin Clements wrote: >> 2) A periodic mail processing script wants to add new messages to >>the database, then process those newly added messages to add >>convenience tags, etc. without worrying about the user or other >>instances of the script

[PATCH] NEWS: folder:, path:, and database upgrade

2014-05-02 Thread David Edmondson
(maybe case sensitivity is different?) I'm not too upset about exactly what it says. I wonder how many users care about "the removal of stemming" as opposed to "wildcards no longer work", though :-) > On Thu, 01 May 2014, David Edmondson wrote: >> On Sun, Apr 27 2014, Jan

[PATCH 5/5] Test: Add tests for "notmuch new" command line tags

2014-05-02 Thread David Edmondson
Add a simple set of tests for adding, removing and both adding and removing tags when running "notmuch new". --- test/T540-new-tags.sh | 28 1 file changed, 28 insertions(+) create mode 100755 test/T540-new-tags.sh diff --git a/test/T540-new-tags.sh

[PATCH 4/5] NEWS: Add information about "notmuch new" command line tags.

2014-05-02 Thread David Edmondson
--- NEWS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/NEWS b/NEWS index bcd311d..13ae593 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,12 @@ Command-Line Interface This option suppresses the progress and summary reports. +`notmuch new` allows tag addition/removal to be specified + +

[PATCH 3/5] notmuch-new: Manual: Add command line tags.

2014-05-02 Thread David Edmondson
Describe the addition of command line tags for "notmuch new". --- doc/man1/notmuch-new.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/man1/notmuch-new.rst b/doc/man1/notmuch-new.rst index 787ed78..84203de 100644 --- a/doc/man1/notmuch-new.rst +++

[PATCH 2/5] notmuch-new: Allow the tags of new messages to be manipulated.

2014-05-02 Thread David Edmondson
Add support for specifying a set of tags to be added/removed from messages added to the database by 'notmuch new'. These tags are addition to those specified in .notmuch-config. They can be used to override the pre-configured tags (e.g. -inbox). --- notmuch-new.c | 5 + tag-util.c| 20

[PATCH 1/5] notmuch-new: Use tag_op_list_apply() rather than hand-coding the same.

2014-05-02 Thread David Edmondson
Rather than hand-coding the application of tags to new messages, use the existing tag_op_list_apply(). fixup. --- notmuch-new.c | 31 --- tag-util.c| 8 tag-util.h| 10 +++--- 3 files changed, 31 insertions(+), 18 deletions(-) diff --git

[PATCH v2 0/5] Add support for specifying tags during "notmuch new"

2014-05-02 Thread David Edmondson
v1: This patch set allows a user to specify a list of tags to be added/removed to messages discovered during "notmuch new". Two use-cases are envisaged: 1) A chunk of messages was just dumped into the configured directory by hand, and the user doesn't want the 'inbox' tag

precedence in `notmuch-search-line-faces'

2014-05-02 Thread David Edmondson
The documentation for `notmuch-search-line-faces' says: > The attributes defined for matching tags are merged, with later > attributes overriding earlier. A comment in `notmuch-search-color-line', which implements this, says: > ;; Reverse the list so earlier entries take precedence Clearly

[PATCH 4/5] NEWS: Add information about "notmuch new" command line tags.

2014-05-02 Thread David Edmondson
--- NEWS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/NEWS b/NEWS index bcd311d..13ae593 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,12 @@ Command-Line Interface This option suppresses the progress and summary reports. +`notmuch new` allows tag addition/removal to be specified + +

[PATCH 3/5] notmuch-new: Manual: Add command line tags.

2014-05-02 Thread David Edmondson
Describe the addition of command line tags for "notmuch new". --- doc/man1/notmuch-new.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/man1/notmuch-new.rst b/doc/man1/notmuch-new.rst index 787ed78..84203de 100644 --- a/doc/man1/notmuch-new.rst +++

[PATCH 2/5] notmuch-new: Allow the tags of new messages to be manipulated.

2014-05-02 Thread David Edmondson
Add support for specifying a set of tags to be added/removed from messages added to the database by 'notmuch new'. These tags are addition to those specified in .notmuch-config. They can be used to override the pre-configured tags (e.g. -inbox). --- notmuch-new.c | 5 + tag-util.c| 20

[PATCH 1/5] notmuch-new: Use tag_op_list_apply() rather than hand-coding the same.

2014-05-02 Thread David Edmondson
Rather than hand-coding the application of tags to new messages, use the existing tag_op_list_apply(). --- notmuch-new.c | 31 --- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/notmuch-new.c b/notmuch-new.c index d269c7c..b53401a 100644 ---

Add support for specifying tags during "notmuch new"

2014-05-02 Thread David Edmondson
This patch set allows a user to specify a list of tags to be added/removed to messages discovered during "notmuch new". Two use-cases are envisaged: 1) A chunk of messages was just dumped into the configured directory by hand, and the user doesn't want the 'inbox' tag applied to

[PATCH 2/5] notmuch-new: Allow the tags of new messages to be manipulated.

2014-05-02 Thread David Edmondson
Add support for specifying a set of tags to be added/removed from messages added to the database by 'notmuch new'. These tags are addition to those specified in .notmuch-config. They can be used to override the pre-configured tags (e.g. -inbox). --- notmuch-new.c | 5 + tag-util.c| 20

Add support for specifying tags during notmuch new

2014-05-02 Thread David Edmondson
This patch set allows a user to specify a list of tags to be added/removed to messages discovered during notmuch new. Two use-cases are envisaged: 1) A chunk of messages was just dumped into the configured directory by hand, and the user doesn't want the 'inbox' tag applied to

[PATCH 5/5] Test: Add tests for notmuch new command line tags

2014-05-02 Thread David Edmondson
Add a simple set of tests for adding, removing and both adding and removing tags when running notmuch new. --- test/T540-new-tags.sh | 28 1 file changed, 28 insertions(+) create mode 100755 test/T540-new-tags.sh diff --git a/test/T540-new-tags.sh

[PATCH 1/5] notmuch-new: Use tag_op_list_apply() rather than hand-coding the same.

2014-05-02 Thread David Edmondson
Rather than hand-coding the application of tags to new messages, use the existing tag_op_list_apply(). --- notmuch-new.c | 31 --- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/notmuch-new.c b/notmuch-new.c index d269c7c..b53401a 100644 ---

[PATCH 3/5] notmuch-new: Manual: Add command line tags.

2014-05-02 Thread David Edmondson
Describe the addition of command line tags for notmuch new. --- doc/man1/notmuch-new.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/man1/notmuch-new.rst b/doc/man1/notmuch-new.rst index 787ed78..84203de 100644 --- a/doc/man1/notmuch-new.rst +++

[PATCH 4/5] NEWS: Add information about notmuch new command line tags.

2014-05-02 Thread David Edmondson
--- NEWS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/NEWS b/NEWS index bcd311d..13ae593 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,12 @@ Command-Line Interface This option suppresses the progress and summary reports. +`notmuch new` allows tag addition/removal to be specified +

precedence in `notmuch-search-line-faces'

2014-05-02 Thread David Edmondson
The documentation for `notmuch-search-line-faces' says: The attributes defined for matching tags are merged, with later attributes overriding earlier. A comment in `notmuch-search-color-line', which implements this, says: ;; Reverse the list so earlier entries take precedence Clearly these

[PATCH v2 0/5] Add support for specifying tags during notmuch new

2014-05-02 Thread David Edmondson
v1: This patch set allows a user to specify a list of tags to be added/removed to messages discovered during notmuch new. Two use-cases are envisaged: 1) A chunk of messages was just dumped into the configured directory by hand, and the user doesn't want the 'inbox' tag applied

[PATCH 3/5] notmuch-new: Manual: Add command line tags.

2014-05-02 Thread David Edmondson
Describe the addition of command line tags for notmuch new. --- doc/man1/notmuch-new.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/man1/notmuch-new.rst b/doc/man1/notmuch-new.rst index 787ed78..84203de 100644 --- a/doc/man1/notmuch-new.rst +++

[PATCH 1/5] notmuch-new: Use tag_op_list_apply() rather than hand-coding the same.

2014-05-02 Thread David Edmondson
Rather than hand-coding the application of tags to new messages, use the existing tag_op_list_apply(). fixup. --- notmuch-new.c | 31 --- tag-util.c| 8 tag-util.h| 10 +++--- 3 files changed, 31 insertions(+), 18 deletions(-) diff --git

[PATCH 2/5] notmuch-new: Allow the tags of new messages to be manipulated.

2014-05-02 Thread David Edmondson
Add support for specifying a set of tags to be added/removed from messages added to the database by 'notmuch new'. These tags are addition to those specified in .notmuch-config. They can be used to override the pre-configured tags (e.g. -inbox). --- notmuch-new.c | 5 + tag-util.c| 20

[PATCH 5/5] Test: Add tests for notmuch new command line tags

2014-05-02 Thread David Edmondson
Add a simple set of tests for adding, removing and both adding and removing tags when running notmuch new. --- test/T540-new-tags.sh | 28 1 file changed, 28 insertions(+) create mode 100755 test/T540-new-tags.sh diff --git a/test/T540-new-tags.sh

[PATCH 4/5] NEWS: Add information about notmuch new command line tags.

2014-05-02 Thread David Edmondson
--- NEWS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/NEWS b/NEWS index bcd311d..13ae593 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,12 @@ Command-Line Interface This option suppresses the progress and summary reports. +`notmuch new` allows tag addition/removal to be specified +

Re: [PATCH] NEWS: make it explicit that wildcard matching is no longer supported

2014-05-02 Thread David Edmondson
Good for me, thank you. signature.asc Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH] NEWS: folder:, path:, and database upgrade

2014-05-01 Thread David Edmondson
On Sun, Apr 27 2014, Jani Nikula wrote: > +The `folder:` search prefix now requires an exact match I think that it would be clearer to say: The `folder:` search prefix no longer supports wildcard matching (Or something like that.)

[PATCH 11/11] emacs: Support cid: references with shr renderer

2014-05-01 Thread David Edmondson
On Mon, Apr 21 2014, Austin Clements wrote: > +(defun notmuch-show--insert-part-text/html-shr (msg part) > + ;; Make sure shr is loaded before we start let-binding its globals > + (require 'shr) > + (let ((dom (let (process-crypto notmuch-show-process-crypto) Missing brackets? (You let-bind

Re: [PATCH 11/11] emacs: Support cid: references with shr renderer

2014-05-01 Thread David Edmondson
On Mon, Apr 21 2014, Austin Clements wrote: +(defun notmuch-show--insert-part-text/html-shr (msg part) + ;; Make sure shr is loaded before we start let-binding its globals + (require 'shr) + (let ((dom (let (process-crypto notmuch-show-process-crypto) Missing brackets? (You let-bind both

[PATCH] emacs: Add configurable wrapping width for notmuch-wash-wrap-long-lines

2012-02-17 Thread David Edmondson
* daniel at schoepe.org [2012-02-17 Fri 18:34] > This introduces a variable to control after how many characters a line > is wrapped by notmuch-wash-wrap-long-lines (still wrapping at the > window width if it is lower). What do you use this for? -- next part -- A non-text

Re: [PATCH] emacs: Add configurable wrapping width for notmuch-wash-wrap-long-lines

2012-02-17 Thread David Edmondson
* dan...@schoepe.org [2012-02-17 Fri 18:34] This introduces a variable to control after how many characters a line is wrapped by notmuch-wash-wrap-long-lines (still wrapping at the window width if it is lower). What do you use this for? pgps2H1ob2IRX.pgp Description: PGP signature

<    1   2   3   4   5   6   7   8   9   10   >