[PATCH] Add configurable changed tag to messages that have been changed on disk

2014-04-06 Thread David Mazieres
Gaute Hope writes: > When one of the source files for a message is changed on disk, renamed, > deleted or a new source file is added. A configurable changed tag is > is added. The tag can be configured under the option 'changed_tags' in > the [new] section, the default is none. Tests have been

[PATCH v2 0/5] emacs: hello: convert saved-searches to plists

2014-04-06 Thread Austin Clements
LGTM. Quoth Mark Walters on Apr 06 at 6:44 am: > This is v2 of the series; v1 is at > id:1396733065-32602-1-git-send-email-markwalters1009 at gmail.com > > I have made all the changes suggested by Austin in his review of v1. I > include the diff from v1 below. > > There is now one slight

[PATCH v2] cli: add a tool for starting new message in the emacs ui

2014-04-06 Thread Jameson Graef Rollins
ailto:foo at example.com jamie. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20140406/d651cb59/attachment.pgp>

[PATCH v2] cli: add a tool for starting new message in the emacs ui

2014-04-06 Thread Jani Nikula
Add a tool to start composing an email in the Notmuch Emacs UI with the specified subject, recipients, and message body. --- doc/man1/notmuch-emacs-mua.rst | 50 + notmuch-emacs-mua | 122 + 2 files changed, 172 insertions(+)

Feature suggestion. Indexing encrypted mail?

2014-04-06 Thread Daniel Kahn Gillmor
1010 bytes Desc: OpenPGP digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20140406/473ede55/attachment.pgp>

[PATCH v4 2/3] emacs: add notmuch-version.el.tmpl and create notmuch-version.el from it

2014-04-06 Thread David Bremner
Tomi Ollila writes: > +;; You should have received a copy of the GNU General Public License > +;; along with Notmuch. If not, see . Do you think we need a copyright header in a generated file? > + > +(defconst notmuch-emacs-version %VERSION% > + "Version string

[Patch v7 2/6] util: add gz_readline

2014-04-06 Thread Tomi Ollila
On Sat, Apr 05 2014, David Bremner wrote: > The idea is to provide a more or less drop in replacement for readline > to read from zlib/gzip streams. Take the opportunity to replace > malloc with talloc. > --- > util/Makefile.local | 3 +- > util/util.c | 24 +++ >

[PATCH 5/7] doc: Allow rst2man.py as an alternative to rst2man

2014-04-06 Thread Tomi Ollila
On Sat, Apr 05 2014, "W. Trevor King" wrote: > On Sat, Apr 05, 2014 at 10:05:31PM +0300, Tomi Ollila wrote: >> On Sat, Apr 05 2014, W. Trevor King wrote: >> > I use POSIX's 'command -v' [1] to find the path to rst2man? >> > >> > [1]:

[PATCH 7/7] doc/INSTALL: Remove rst2man reference and other updates

2014-04-06 Thread Tomi Ollila
On Sat, Apr 05 2014, David Bremner wrote: > "W. Trevor King" writes: > >> >> * Converted doc/INSTALL to reStructuredText, so I can link to Sphinx >> and Docutils directly. Not everyone has access to Debian's >> python-docutils, so it's better to be genric here. > > Finally, I don't really

Feature suggestion. Indexing encrypted mail?

2014-04-06 Thread Guyzmo
Hi! On Sat, Apr 05, 2014 at 12:09:32PM -0700, Jameson Graef Rollins wrote: > On Sat, Apr 05 2014, David Bremner wrote: > > john.wyzer at gmx.de writes: > >> Would it be possible to add the configurable option to also decrypt > >> encrypted messages on the fly while indexing to make them

[PATCH 0/5] emacs: hello: convert saved-searches to plists

2014-04-06 Thread Tomi Ollila
On Sun, Apr 06 2014, David Bremner wrote: > Mark Walters writes: > >> This series converts the saved-search format to plists. This should >> make it much easier to extend their functionality. The final patch >> illustrates this by adding a sort-order option to the saved >> searches. It also

[PATCH] debian: add build conflicts against ruby1.8

2014-04-06 Thread David Bremner
Debian stable has ruby 1.9, so this should be OK. The issue is that the ruby bindings don't build if "ruby" points to ruby1.8 --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index dd528c5..1623136 100644 --- a/debian/control +++

[PATCH v2] nmbug: Add 'clone' and replace FETCH_HEAD with @{upstream}

2014-04-06 Thread David Bremner
"W. Trevor King" writes: > With two branches getting fetched (master and config), the branch > referenced by FETCH_HEAD is ambiguous. For example, I have: > > $ cat FETCH_HEAD > 41d7bfa7184cc93c9dac139d1674e9530799e3b0 \ > not-for-merge branch 'config' of

[PATCH v2 5/5] emacs: Add a sort-order option to saved-searches

2014-04-06 Thread Mark Walters
This adds a sort-order option to saved-searches, stores it in the saved-search buttons (widgets), and uses the stored value when the button is pressed. Storing the sort-order in the widget was suggested by Jani in id:4c3876274126985683e888641b29cf18142a5eb8.1391771337.git.jani at nikula.org. ---

[PATCH v2 4/5] emacs: hello: switch notmuch-hello-insert-buttons to plists

2014-04-06 Thread Mark Walters
Switching notmuch-hello-insert-buttons to plists means we can easily pass extra options through to the buttons. --- emacs/notmuch-hello.el | 35 --- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el

[PATCH v2 3/5] emacs: hello: add a customize for saved-searches

2014-04-06 Thread Mark Walters
Make the defcustom for notmuch-saved-searches use the new plist format. It should still work with oldstyle saved-searches but will write the newstyle form. --- emacs/notmuch-hello.el |2 +- emacs/notmuch-lib.el | 46 ++ 2 files changed, 43

[PATCH v2 2/5] emacs: hello: use the saved-search helper functions

2014-04-06 Thread Mark Walters
This uses the helper functions: the saved searches format has not changed yet but backwards compatibility means everything still works. --- emacs/notmuch-hello.el | 48 ++-- emacs/notmuch.el |6 +++--- 2 files changed, 25 insertions(+), 29

[PATCH v2 0/5] emacs: hello: convert saved-searches to plists

2014-04-06 Thread Mark Walters
This is v2 of the series; v1 is at id:1396733065-32602-1-git-send-email-markwalters1009 at gmail.com I have made all the changes suggested by Austin in his review of v1. I include the diff from v1 below. There is now one slight oddity in the patch ordering: the documentation for the plist form

[PATCH 0/5] emacs: hello: convert saved-searches to plists

2014-04-06 Thread Mark Walters
On Sun, 06 Apr 2014, David Bremner wrote: > Mark Walters writes: > >> This series converts the saved-search format to plists. This should >> make it much easier to extend their functionality. The final patch >> illustrates this by adding a sort-order option to the saved >> searches. It also

[PATCH 5/5] emacs: Add a sort-order option to saved-searches

2014-04-06 Thread Mark Walters
Hi On Sun, 06 Apr 2014, Austin Clements wrote: > Quoth Mark Walters on Apr 05 at 10:24 pm: >> This adds a sort-order option to saved-searches, stores it in the >> saved-search buttons (widgets), and uses the stored value when the >> button is pressed. >> >> Storing the sort-order in the widget

[PATCH 4/5] emacs: hello: switch notmuch-hello-insert-buttons to plists

2014-04-06 Thread Mark Walters
Hello >> @@ -455,23 +457,26 @@ (defun notmuch-hello-query-counts (query-list >> options) >> #'identity >> (mapcar >>(lambda (elem) >> -(let ((name (notmuch-saved-search-get elem :name)) >> - (search-query (notmuch-saved-search-get elem :query)) >> -

[PATCH 2/2] doc: build and install doxygen api docs

2014-04-06 Thread David Bremner
Add to the build-man and install-man targets. We also stop hardcoding the version information into doxygen.cfg --- doc/Makefile.local | 14 -- doc/doxygen.cfg| 4 ++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/doc/Makefile.local b/doc/Makefile.local index

[PATCH 1/2] doc: move doxgen config from devel/ to doc/

2014-04-06 Thread David Bremner
a first step towards actually instally the API docs --- devel/doxygen.cfg | 304 -- doc/doxygen.cfg | 304 ++ 2 files changed, 304 insertions(+), 304 deletions(-) delete mode 100644

build and install doxygen api docs

2014-04-06 Thread David Bremner
I'm not sure if we really want to install the API docs yet, but I was reviewing Tomi's patch and it occured to me that this was one more place where we could stop hardcoding the version number.

Re: [PATCH 0/5] emacs: hello: convert saved-searches to plists

2014-04-06 Thread Tomi Ollila
On Sun, Apr 06 2014, David Bremner da...@tethera.net wrote: Mark Walters markwalters1...@gmail.com writes: This series converts the saved-search format to plists. This should make it much easier to extend their functionality. The final patch illustrates this by adding a sort-order option to

Re: [PATCH 7/7] doc/INSTALL: Remove rst2man reference and other updates

2014-04-06 Thread Tomi Ollila
On Sat, Apr 05 2014, David Bremner da...@tethera.net wrote: W. Trevor King wk...@tremily.us writes: * Converted doc/INSTALL to reStructuredText, so I can link to Sphinx and Docutils directly. Not everyone has access to Debian's python-docutils, so it's better to be genric here.

Re: Feature suggestion. Indexing encrypted mail?

2014-04-06 Thread Guyzmo
Hi! On Sat, Apr 05, 2014 at 12:09:32PM -0700, Jameson Graef Rollins wrote: On Sat, Apr 05 2014, David Bremner da...@tethera.net wrote: john.wy...@gmx.de writes: Would it be possible to add the configurable option to also decrypt encrypted messages on the fly while indexing to make them

Re: [Patch v7 2/6] util: add gz_readline

2014-04-06 Thread Tomi Ollila
On Sat, Apr 05 2014, David Bremner da...@tethera.net wrote: The idea is to provide a more or less drop in replacement for readline to read from zlib/gzip streams. Take the opportunity to replace malloc with talloc. --- util/Makefile.local | 3 +- util/util.c | 24 +++

Re: [PATCH v2] nmbug: Add 'clone' and replace FETCH_HEAD with @{upstream}

2014-04-06 Thread David Bremner
W. Trevor King wk...@tremily.us writes: With two branches getting fetched (master and config), the branch referenced by FETCH_HEAD is ambiguous. For example, I have: $ cat FETCH_HEAD 41d7bfa7184cc93c9dac139d1674e9530799e3b0 \ not-for-merge branch 'config' of

[PATCH] debian: add build conflicts against ruby1.8

2014-04-06 Thread David Bremner
Debian stable has ruby 1.9, so this should be OK. The issue is that the ruby bindings don't build if ruby points to ruby1.8 --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index dd528c5..1623136 100644 --- a/debian/control +++

[PATCH] Add configurable changed tag to messages that have been changed on disk

2014-04-06 Thread Gaute Hope
When one of the source files for a message is changed on disk, renamed, deleted or a new source file is added. A configurable changed tag is is added. The tag can be configured under the option 'changed_tags' in the [new] section, the default is none. Tests have been updated to accept the new

Re: [PATCH v4 2/3] emacs: add notmuch-version.el.tmpl and create notmuch-version.el from it

2014-04-06 Thread David Bremner
Tomi Ollila tomi.oll...@iki.fi writes: +;; You should have received a copy of the GNU General Public License +;; along with Notmuch. If not, see http://www.gnu.org/licenses/. Do you think we need a copyright header in a generated file? + +(defconst notmuch-emacs-version %VERSION% +

Re: [PATCH] Add configurable changed tag to messages that have been changed on disk

2014-04-06 Thread David Mazieres
Gaute Hope e...@gaute.vetsj.com writes: When one of the source files for a message is changed on disk, renamed, deleted or a new source file is added. A configurable changed tag is is added. The tag can be configured under the option 'changed_tags' in the [new] section, the default is none.

Re: Feature suggestion. Indexing encrypted mail?

2014-04-06 Thread Daniel Kahn Gillmor
On 04/06/2014 05:15 AM, Guyzmo wrote: I indeed agree with this view, and I think the best process would be to have the MUA decrypt and index an encrypted mail when the user wants it to be indexed. So the user do not get really highly secret messages disclosable by the index, and for the

Re: [PATCH v2 0/5] emacs: hello: convert saved-searches to plists

2014-04-06 Thread Austin Clements
LGTM. Quoth Mark Walters on Apr 06 at 6:44 am: This is v2 of the series; v1 is at id:1396733065-32602-1-git-send-email-markwalters1...@gmail.com I have made all the changes suggested by Austin in his review of v1. I include the diff from v1 below. There is now one slight oddity in the