[PATCH v2 4b/4] NEWS: added information about new --stderr=FILE top level option

2013-05-27 Thread Tomi Ollila
--- NEWS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/NEWS b/NEWS index a7f2ec6..990b038 100644 --- a/NEWS +++ b/NEWS @@ -35,6 +35,12 @@ Top level option to specify configuration file It's now possible to specify the configuration file to use on the command line using the

[PATCH 4/5] emacs: Streaming S-expression parser

2013-05-27 Thread Mark Walters
Austin Clements writes: > Quoth Mark Walters on May 25 at 9:59 am: >> >> Hi >> >> On Wed, 22 May 2013, Austin Clements wrote: >> > On Tue, 21 May 2013, Mark Walters wrote: >> >> Hi >> >> >> >> This patch looks good to me. Some minor comments below. >> > >> > Some minor replies below. >> >

[PATCH] emacs: Fix trimming regexp in notmuch-check-exit-status

2013-05-27 Thread David Bremner
Austin Clements writes: > For such a simple regexp, this was broken in a very complicated way. > pushed, for real this time. d

[PATCH v2 3/4] man: documented --stderr=FILE in notmuch.1 manual page

2013-05-27 Thread Austin Clements
Quoth Tomi Ollila on May 26 at 11:45 am: > --- > man/man1/notmuch.1 | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/man/man1/notmuch.1 b/man/man1/notmuch.1 > index 033cc10..fbd575a 100644 > --- a/man/man1/notmuch.1 > +++ b/man/man1/notmuch.1 > @@ -76,7 +76,14 @@ Print the

[PATCH v2 1/4] cli: add global option --stderr=FILE

2013-05-27 Thread Austin Clements
Quoth Tomi Ollila on May 26 at 11:45 am: > With this option all writes to stderr are redirected to the spesified > FILE (or to stdout on case FILE is '-'). This is immediately useful > in emacs interface as some of its exec intefaces do not provide > separation of stdout and stderr. > --- >

[PATCH 4/4] emacs: Bind MIME part commands to "." submap

2013-05-27 Thread Austin Clements
Since the part commands are no longer tied to a button, but can be applied with point anywhere within a part, bind the part commands keymap to "." everywhere in the show buffer. This lets you save or view parts without having to navigate to the part button, and is particularly useful for parts

[PATCH 3/4] emacs: Simplify MIME part command implementation

2013-05-27 Thread Austin Clements
This unifies the part button actions and the underlying part action functions into single interactive command that simply applies to the part containing point using the just-added part p-list text property instead of button properties. Since all part actions can be performed by applying the

[PATCH 2/4] emacs: Record part p-list in a text property

2013-05-27 Thread Austin Clements
This is similar to what we already do with the message p-list, though we apply the part's text property to the whole part's text, in contrast with the message p-list, which is (rather obscurely) only applied to the first character. --- emacs/notmuch-lib.el | 16

[PATCH 1/4] emacs: Retain text properties when toggling buttons

2013-05-27 Thread Austin Clements
Previously, we lost any text properties applied to part buttons or wash buttons when they were toggled because `insert' directly copies the text properties of the string being inserted. Fix this by capturing the properties applied to the button beforehand and re-applying them after inserting the

[PATCH 0/4] emacs: Part command improvements

2013-05-27 Thread Austin Clements
This is a follow-up of sorts to id:"8761ycc19t.fsf at qmul.ac.uk", where Mark suggested that the part handling commands could all use the correponding mm-* functions. I ran with the idea and wound up with this series, which, in addition to standardizing on the mm-* functions for everything and

[PATCH 4/5] emacs: Streaming S-expression parser

2013-05-27 Thread Austin Clements
Quoth Mark Walters on May 25 at 9:59 am: > > Hi > > On Wed, 22 May 2013, Austin Clements wrote: > > On Tue, 21 May 2013, Mark Walters wrote: > >> Hi > >> > >> This patch looks good to me. Some minor comments below. > > > > Some minor replies below. > > > > In building some other code on top

The Python bindings are now back on PyPI

2013-05-27 Thread Julian Berman
there (autogenerated from pypi > packages?). > > Justus > -- next part -- An HTML attachment was scrubbed... URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20130527/4c0f2629/attachment-0001.html>

The Python bindings are now back on PyPI

2013-05-27 Thread Justus Winter
attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20130527/963e50ad/attachment.pgp>

[PATCH 1/2] contrib: pick: add thread based utility functions

2013-05-27 Thread Mark Walters
Hi David Bremner writes: > Mark Walters writes: > >> Previously notmuch-pick had no thread based functionality. This adds a >> macro to iterate through all messages in a thread. To simplify this it >> adds a text-property marker to the first message of each thread. > > >> +(defun

[PATCH 6/6] man: document notmuch count --output=files

2013-05-27 Thread Mark Walters
David Bremner writes: > Other than the bikeshed about starting from zero instead of one, and not > being completely happy with the option name --duplicate (but not being > inspired to suggest a better one), this series looks OK to me. > > It seems like it would be quite useful to query based on

handle CPPFLAGS in configure and make

2013-05-27 Thread Tomi Ollila
On Sun, May 26 2013, david at tethera.net wrote: > I wanted to enable hardening flags in the debian build (I guess other > distros will want to do the same); I realized this is made more > difficult by the fact that we don't handle CPPFLAGS in our build > system. Well, if it makes us feel any

Re: converting notmuch email to 'TODO' entry in org-mode

2013-05-27 Thread Nicholas Peihl
Hi David, When you say org-mode template are you referring to Capture templates for creating TODO items? Does having the %i variable in the Capture template copy the email text you are looking for? http://orgmode.org/manual/Template-expansion.html#Template-expansion Nick Peihl On 5/24/2013

The Python bindings are now back on PyPI

2013-05-27 Thread Julian Berman
Hi, I've queried gently to find out if anyone was interested in putting the Python bindings back on PyPI a few times in IRC before, and didn't really see much interest one way or the other. I saw a mailing list post that seemed indifferent, though it brought up that version mismatches would cause

Re: [PATCH 1/2] contrib: pick: add thread based utility functions

2013-05-27 Thread Mark Walters
Hi David Bremner da...@tethera.net writes: Mark Walters markwalters1...@gmail.com writes: Previously notmuch-pick had no thread based functionality. This adds a macro to iterate through all messages in a thread. To simplify this it adds a text-property marker to the first message of each

Re: The Python bindings are now back on PyPI

2013-05-27 Thread Justus Winter
Hi :) Quoting Julian Berman (2013-05-26 16:27:31) I've queried gently to find out if anyone was interested in putting the Python bindings back on PyPI a few times in IRC before, and didn't really see much interest one way or the other. I saw a mailing list post that seemed indifferent, though

Re: [PATCH 4/5] emacs: Streaming S-expression parser

2013-05-27 Thread Austin Clements
Quoth Mark Walters on May 25 at 9:59 am: Hi On Wed, 22 May 2013, Austin Clements amdra...@mit.edu wrote: On Tue, 21 May 2013, Mark Walters markwalters1...@gmail.com wrote: Hi This patch looks good to me. Some minor comments below. Some minor replies below. In building some

[PATCH v2 4b/4] NEWS: added information about new --stderr=FILE top level option

2013-05-27 Thread Tomi Ollila
--- NEWS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/NEWS b/NEWS index a7f2ec6..990b038 100644 --- a/NEWS +++ b/NEWS @@ -35,6 +35,12 @@ Top level option to specify configuration file It's now possible to specify the configuration file to use on the command line using the

[PATCH 0/4] emacs: Part command improvements

2013-05-27 Thread Austin Clements
This is a follow-up of sorts to id:8761ycc19t@qmul.ac.uk, where Mark suggested that the part handling commands could all use the correponding mm-* functions. I ran with the idea and wound up with this series, which, in addition to standardizing on the mm-* functions for everything and

[PATCH 1/4] emacs: Retain text properties when toggling buttons

2013-05-27 Thread Austin Clements
Previously, we lost any text properties applied to part buttons or wash buttons when they were toggled because `insert' directly copies the text properties of the string being inserted. Fix this by capturing the properties applied to the button beforehand and re-applying them after inserting the

[PATCH 2/4] emacs: Record part p-list in a text property

2013-05-27 Thread Austin Clements
This is similar to what we already do with the message p-list, though we apply the part's text property to the whole part's text, in contrast with the message p-list, which is (rather obscurely) only applied to the first character. --- emacs/notmuch-lib.el | 16

[PATCH 4/4] emacs: Bind MIME part commands to . submap

2013-05-27 Thread Austin Clements
Since the part commands are no longer tied to a button, but can be applied with point anywhere within a part, bind the part commands keymap to . everywhere in the show buffer. This lets you save or view parts without having to navigate to the part button, and is particularly useful for parts that

[PATCH 3/4] emacs: Simplify MIME part command implementation

2013-05-27 Thread Austin Clements
This unifies the part button actions and the underlying part action functions into single interactive command that simply applies to the part containing point using the just-added part p-list text property instead of button properties. Since all part actions can be performed by applying the

Re: [PATCH 4/5] emacs: Streaming S-expression parser

2013-05-27 Thread Mark Walters
Austin Clements amdra...@mit.edu writes: Quoth Mark Walters on May 25 at 9:59 am: Hi On Wed, 22 May 2013, Austin Clements amdra...@mit.edu wrote: On Tue, 21 May 2013, Mark Walters markwalters1...@gmail.com wrote: Hi This patch looks good to me. Some minor comments below. Some

Re: [PATCH] emacs: Fix trimming regexp in notmuch-check-exit-status

2013-05-27 Thread David Bremner
Austin Clements amdra...@mit.edu writes: For such a simple regexp, this was broken in a very complicated way. pushed, for real this time. d ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: [PATCH v2 1/4] cli: add global option --stderr=FILE

2013-05-27 Thread Austin Clements
Quoth Tomi Ollila on May 26 at 11:45 am: With this option all writes to stderr are redirected to the spesified FILE (or to stdout on case FILE is '-'). This is immediately useful in emacs interface as some of its exec intefaces do not provide separation of stdout and stderr. ---

Re: [PATCH v2 3/4] man: documented --stderr=FILE in notmuch.1 manual page

2013-05-27 Thread Austin Clements
Quoth Tomi Ollila on May 26 at 11:45 am: --- man/man1/notmuch.1 | 7 +++ 1 file changed, 7 insertions(+) diff --git a/man/man1/notmuch.1 b/man/man1/notmuch.1 index 033cc10..fbd575a 100644 --- a/man/man1/notmuch.1 +++ b/man/man1/notmuch.1 @@ -76,7 +76,14 @@ Print the installed

Re: [PATCH 2/4] emacs: Record part p-list in a text property

2013-05-27 Thread Mark Walters
A couple of small nits: Austin Clements amdra...@mit.edu writes: This is similar to what we already do with the message p-list, though we apply the part's text property to the whole part's text, in contrast with the message p-list, which is (rather obscurely) only applied to the first

Re: [PATCH 0/4] emacs: Part command improvements

2013-05-27 Thread Mark Walters
Austin Clements amdra...@mit.edu writes: This is a follow-up of sorts to id:8761ycc19t@qmul.ac.uk, where Mark suggested that the part handling commands could all use the correponding mm-* functions. I ran with the idea and wound up with this series, which, in addition to standardizing on