Re: Header and other questions

2011-05-16 Thread Daniel Schoepe
On Sun, 15 May 2011 18:16:31 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: It's possible, and works the way you'd think it would -- just select a bunch of threads in the search list, and then tag them. It will apply the tag to the messages in the region. (In fact, tagging a single thread is

[PATCH] emacs: Add notmuch-before/after-tag-hook

2011-05-16 Thread Daniel Schoepe
anyway. Of course, any comments or criticism is appreciated. -- Daniel From 1acc99736a84e5294ba44368690dd79001e2e347 Mon Sep 17 00:00:00 2001 From: Daniel Schoepe daniel.scho...@googlemail.com Date: Sun, 15 May 2011 17:48:58 +0200 Subject: [PATCH] emacs: add notmuch-before- and notmuch-after-tag

[PATCH] emacs: Make the queries used in the all-tags section

2011-05-19 Thread Daniel Schoepe
Sep 17 00:00:00 2001 From: Daniel Schoepe daniel.scho...@googlemail.com Date: Fri, 20 May 2011 00:53:50 +0200 Subject: [PATCH] emacs: Make queries used in the all-tags section configurable This patch adds a customization variable that controls what queries are used to construct the all-tags section

Re: [PATCH] emacs: Make the queries used in the all-tags section

2011-05-24 Thread Daniel Schoepe
On Tue, 24 May 2011 13:39:44 -0700, Carl Worth cwo...@cworth.org wrote: This seems like a useful feature, but perhaps it's a little too general? I'm imagining a user wanting to use this functionality but not knowing anything about writing an emacs-lisp function. For such a user, this

Re: [PATCH] emacs: Make the queries used in the all-tags section

2011-05-25 Thread Daniel Schoepe
On Wed, 25 May 2011 00:10:43 -0400, Austin Clements amdra...@mit.edu wrote: Out of curiosity, what use cases do you envision for this? So far I've only heard two, both of which seem like great ideas, but neither of which require such a heavy-handed solution: displaying unread counts for tags

Re: [PATCH] emacs: Make the queries used in the all-tags section

2011-05-25 Thread Daniel Schoepe
get bitten by precedence and wind up with a query that counts messages that don't even have that tag. Good point, I attached an updated patch that implements this. From 6a4a5fd3e2a1baa25f86f85d6c3324db26582b82 Mon Sep 17 00:00:00 2001 From: Daniel Schoepe daniel.scho...@googlemail.com Date: Fri

Re: [PATCH] emacs: Make the queries used in the all-tags section

2011-05-25 Thread Daniel Schoepe
I accidentally used `filter' in the previous patch which isn't defined by default during runtime, updated version in the attachment. From e8f5e997b7082a50f75d7329a69fccc126a21e5e Mon Sep 17 00:00:00 2001 From: Daniel Schoepe daniel.scho...@googlemail.com Date: Fri, 20 May 2011 00:53:50 +0200

Re: [PATCH] emacs: Make the queries used in the all-tags section

2011-05-25 Thread Daniel Schoepe
without thinking about performance. I incorporated most of you recommendations in the attached patch. From 2056a455cdec6b980426552b8dcd7055f6cd0805 Mon Sep 17 00:00:00 2001 From: Daniel Schoepe daniel.scho...@googlemail.com Date: Fri, 20 May 2011 00:53:50 +0200 Subject: [PATCH] emacs: Make queries used

Re: [PATCH] emacs: Make the queries used in the all-tags section

2011-05-25 Thread Daniel Schoepe
On Wed, 25 May 2011 18:42:30 -0400, Austin Clements amdra...@mit.edu wrote: 'Doh. That's what I get for not reading the surrounding code. I misunderstood what your patch was going for and assumed it was what *I* wanted notmuch to do, which is to show me useful counts (e.g., unread count),

[PATCH] emacs: User-defined sections in notmuch-hello

2011-05-27 Thread Daniel Schoepe
bca5a58d7910b6d46a782db787dfe07e2fcf21e1 Mon Sep 17 00:00:00 2001 From: Daniel Schoepe daniel.scho...@googlemail.com Date: Thu, 26 May 2011 23:03:22 +0200 Subject: [PATCH] emacs: User-defined sections in notmuch-hello This patch allows the user to define various sections that will be displayed in notmuch

Re: [PATCH] emacs: User-defined sections in notmuch-hello

2011-05-27 Thread Daniel Schoepe
I forgot to run the test suite with the previous patch, which revealed some minor formatting problems, updated patch in the attachment. From bca5a58d7910b6d46a782db787dfe07e2fcf21e1 Mon Sep 17 00:00:00 2001 From: Daniel Schoepe daniel.scho...@googlemail.com Date: Thu, 26 May 2011 23:03:22 +0200

Re: [PATCH] emacs: User-defined sections in notmuch-hello

2011-05-27 Thread Daniel Schoepe
Accidentally attached the old file again, sorry for the noise. From cafc93e3364955cab70885fec740fee87bc3248e Mon Sep 17 00:00:00 2001 From: Daniel Schoepe daniel.scho...@googlemail.com Date: Thu, 26 May 2011 23:03:22 +0200 Subject: [PATCH] emacs: User-defined sections in notmuch-hello This patch

Re: [PATCH] emacs: Tab completion for notmuch-search and notmuch-search-filter

2011-06-04 Thread Daniel Schoepe
words and have emacs handle separating the input string into individual words, but I couldn't find any options to accomplish that. An updated patch is attached. From 70642aecbf63428d9bcedc108c55f65574a792e7 Mon Sep 17 00:00:00 2001 From: Daniel Schoepe daniel.scho...@googlemail.com Date: Sat, 4 Jun

Re: [PATCH] emacs: Tab completion for notmuch-search and notmuch-search-filter

2011-06-04 Thread Daniel Schoepe
Sorry, forgot to actually test notmuch-search entirely with this change and not just the completion. From cb172efc1dea2507566db587f960c073373e0159 Mon Sep 17 00:00:00 2001 From: Daniel Schoepe daniel.scho...@googlemail.com Date: Sat, 4 Jun 2011 14:17:44 +0200 Subject: [PATCH] emacs: Tab completion

Re: [PATCH] emacs: Tab completion for notmuch-search and notmuch-search-filter

2011-06-04 Thread Daniel Schoepe
forgot that using macros from cl is fine even in library code. From 7768f41ac44213c5e2c1dc3b0f13e3edf1d97a26 Mon Sep 17 00:00:00 2001 From: Daniel Schoepe daniel.scho...@googlemail.com Date: Sat, 4 Jun 2011 14:17:44 +0200 Subject: [PATCH] emacs: Tab completion for notmuch-search and notmuch-search

Re: [PATCH] emacs: Tab completion for notmuch-search and notmuch-search-filter

2011-06-06 Thread Daniel Schoepe
I accidentally left a, now unnecessary, defvar in the patch from one of the previous attempts, here is the updated version (thanks Austin for noticing). From f3bc7376edc66e947d8fdf5931a9aa697b9be5cf Mon Sep 17 00:00:00 2001 From: Daniel Schoepe daniel.scho...@googlemail.com Date: Sat, 4 Jun 2011

[PATCH] emacs: thread outlining

2011-06-12 Thread Daniel Schoepe
Unfortunately, this implementation does not yet highlight the currently selected message in the notmuch-show buffer in the corresponding outline buffer. The point-entered and point-left text properties sound like they should be useful for implementing this, but behaved somewhat erratically for me

[PATCH 1/3] emacs: Document notmuch-show-get-message-properties

2011-06-12 Thread Daniel Schoepe
--- emacs/notmuch-show.el |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index fb91c83..aecd35f 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1017,6 +1017,12 @@ All currently available key bindings:

[PATCH 3/3] emacs: Test for thread-outlining

2011-06-12 Thread Daniel Schoepe
--- test/emacs |5 + .../notmuch-show-thread-outline|7 +++ 2 files changed, 12 insertions(+), 0 deletions(-) create mode 100644 test/emacs.expected-output/notmuch-show-thread-outline diff --git a/test/emacs

[PATCH 0/2] emacs: User-defined sections in notmuch-hello

2011-06-29 Thread Daniel Schoepe
Unfortunately the customize-interface for more customized entries in notmuch-hello-sections looks a bit weird, but I couldn't figure out how to get rid of the empty lines produced by generating the lambda expression needed. To avoid unnecessary complexity in the code this patch removes aligning

[PATCH 2/2] emacs: Tests for user-defined sections

2011-06-29 Thread Daniel Schoepe
--- test/emacs | 37 test/emacs.expected-output/notmuch-hello |3 +- .../notmuch-hello-new-section |4 ++ .../notmuch-hello-no-saved-searches|3 +-

[PATCH 1/2] emacs: User-defined sections in notmuch-hello

2011-06-29 Thread Daniel Schoepe
This patch makes the notmuch-hello screen fully customizable by allowing the user to add and remove arbitrary sections. It also provides some convenience functions for constructing sections, e.g. showing the unread message count for each tag. This is done by specifying a list of functions that

[PATCH v2 0/2] emacs: User-defined sections in notmuch-hello

2011-07-02 Thread Daniel Schoepe
Rebased against current master and some improvements for using customize. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH 1/2] emacs: User-defined sections in notmuch-hello

2011-07-02 Thread Daniel Schoepe
This patch makes the notmuch-hello screen fully customizable by allowing the user to add and remove arbitrary sections. It also provides some convenience functions for constructing sections, e.g. showing the unread message count for each tag. This is done by specifying a list of functions that

[PATCH 2/2] emacs: Tests for user-defined sections

2011-07-02 Thread Daniel Schoepe
--- test/emacs | 37 test/emacs.expected-output/notmuch-hello |3 +- .../notmuch-hello-new-section |4 ++ .../notmuch-hello-no-saved-searches|3 +-

Re: [PATCH 0/2] emacs: User-defined sections in notmuch-hello

2011-07-05 Thread Daniel Schoepe
On Tue, 05 Jul 2011 02:00:33 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: First, the customization interface for the custom sections (not the predefined ones) is very confusing. I was not able to use it at all. Instead I hacked the source code (see below) to add my section to the

[PATCH v3 0/2] emacs: User-defined sections in notmuch-hello

2011-07-05 Thread Daniel Schoepe
This version incorporates the changes suggested by Michal Sojka; thanks for your help with this, Michal. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH v3 2/2] emacs: Tests for user-defined sections

2011-07-05 Thread Daniel Schoepe
--- test/emacs | 37 test/emacs.expected-output/notmuch-hello |3 +- .../notmuch-hello-new-section |4 ++ .../notmuch-hello-no-saved-searches|3 +-

[PATCH v3 1/2] emacs: User-defined sections in notmuch-hello

2011-07-05 Thread Daniel Schoepe
This patch makes the notmuch-hello screen fully customizable by allowing the user to add and remove arbitrary sections. It also provides some convenience functions for constructing sections, e.g. showing the unread message count for each tag. This is done by specifying a list of functions that

Re: [PATCH 0/2] emacs: User-defined sections in notmuch-hello

2011-07-05 Thread Daniel Schoepe
On Tue, 05 Jul 2011 16:09:14 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: I wanted to say that it might be useful to have the similar options for saved searches. For example, what I do in my notmuch-hello-insert-inbox is to take the saved searches and filter them by tag:inbox. I guess that

[PATCH] emacs: Turn id:message-id elements into buttons for notmuch searches

2011-07-05 Thread Daniel Schoepe
This fixes the minor annoyance that message ids were parsed as mail addresses by goto-address-mode in notmuch-show buffers. --- emacs/notmuch-show.el | 23 --- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index

Re: [PATCH v3 1/2] emacs: User-defined sections in notmuch-hello

2011-07-06 Thread Daniel Schoepe
On Wed, 06 Jul 2011 13:34:13 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: -(defcustom notmuch-hello-tag-list-make-query nil - Function or string to generate queries for the all tags list. I'm not sure it is a good thing to remove customizations that are included in a released version.

[PATCH v2] emacs: Turn id:message-id elements into buttons for

2011-07-06 Thread Daniel Schoepe
I forgot to (require 'goto-addr), which caused a warning about goto-address-mail-face. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH v2] emacs: Turn id:message-id elements into buttons for notmuch searches

2011-07-06 Thread Daniel Schoepe
This fixes the minor annoyance that message ids were parsed as mail addresses by goto-address-mode in notmuch-show buffers. --- emacs/notmuch-show.el | 24 +--- 1 files changed, 21 insertions(+), 3 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el

Re: [PATCH v2] emacs: Turn id:message-id elements into buttons for notmuch searches

2011-07-07 Thread Daniel Schoepe
Hi Dmitry, On Thu, 07 Jul 2011 11:16:03 +0400, Dmitry Kurochkin dmitry.kuroch...@gmail.com wrote: Why do we need to remove `goto-address-mode' overlays if it is not enabled ((goto-address-mode t) is below is removed)? [..] `goto-address-mode' creates buttons not only for email addresses but

[PATCH v4 0/2] emacs: User-defined sections in notmuch-hello

2011-07-07 Thread Daniel Schoepe
Fourth time's the charm. Some more improvements by Michal Sojka, thanks. A few more opinions about whether or not to leave in the different filters for queries and counts, would also be very much appreciated. ___ notmuch mailing list

[PATCH v4 2/2] emacs: Tests for user-defined sections

2011-07-07 Thread Daniel Schoepe
--- test/emacs | 37 test/emacs.expected-output/notmuch-hello |5 ++- .../notmuch-hello-new-section |4 ++ .../notmuch-hello-no-saved-searches|4 ++-

[PATCH v4 1/2] emacs: User-defined sections in notmuch-hello

2011-07-07 Thread Daniel Schoepe
This patch makes the notmuch-hello screen fully customizable by allowing the user to add and remove arbitrary sections. It also provides some convenience functions for constructing sections, e.g. showing the unread message count for each tag. This is done by specifying a list of functions that

[PATCH v2 0/3] emacs: Document notmuch-show-get-message-properties

2011-07-08 Thread Daniel Schoepe
This version fixes the issues mentioned by Austin and highlights the currently displayed message in the outline buffer. My previous issues with 'point-entered and 'point-left were caused by linum-mode, so don't enable it for notmuch-show buffers. I haven't had time yet to implement a more

[PATCH v2 1/3] emacs: Document notmuch-show-get-message-properties

2011-07-08 Thread Daniel Schoepe
--- emacs/notmuch-show.el |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index f96743b..262addb 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -999,6 +999,12 @@ All currently available key bindings:

[PATCH v2 3/3] emacs: Test for thread-outlining

2011-07-08 Thread Daniel Schoepe
--- test/emacs |7 +++ .../notmuch-show-thread-outline|7 +++ 2 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 test/emacs.expected-output/notmuch-show-thread-outline diff --git a/test/emacs

Re: [PATCH v3 1/2] emacs: User-defined sections in notmuch-hello

2011-07-08 Thread Daniel Schoepe
On Fri, 08 Jul 2011 23:23:40 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: OK. I changed my mind. I thought that the approach with 'notmuch search-tags QEURY' followed by 'notmuch count tag:XXX and QUERY' for returned tags would be faster then 'notmuch search-tags' followed by 'notmuch count

Re: [PATCH v4 1/2] emacs: User-defined sections in notmuch-hello

2011-07-08 Thread Daniel Schoepe
On Sat, 09 Jul 2011 01:00:03 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: Yes, this is definitely a good idea. My last comment to the patch is that I do not like the use of plists in customization interface. It is especially weird in the case of boolean options like hide-if-empty, because

[PATCH v5 0/2] emacs: User-defined sections in notmuch-hello

2011-07-09 Thread Daniel Schoepe
More documentation/customize improvements. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH v5 2/2] emacs: Tests for user-defined sections

2011-07-09 Thread Daniel Schoepe
--- test/emacs | 37 test/emacs.expected-output/notmuch-hello |4 ++- .../notmuch-hello-new-section |4 ++ .../notmuch-hello-no-saved-searches|4 ++-

[PATCH v5 1/2] emacs: User-defined sections in notmuch-hello

2011-07-09 Thread Daniel Schoepe
This patch makes the notmuch-hello screen fully customizable by allowing the user to add and remove arbitrary sections. It also provides some convenience functions for constructing sections, e.g. showing the unread message count for each tag. This is done by specifying a list of functions that

Re: Preventing the user shooting themself in the foot

2011-07-09 Thread Daniel Schoepe
On Sat, 09 Jul 2011 10:09:09 -0700, Neeum Zawan mailingli...@nawaz.org wrote: 3. One thing I *sorely* would like: Keybindings to go to the next/previous messages *in the query*. This would be my primary way of dealing with emails. If only one message in the middle of the thread

[PATCH] emacs: NEWS entry for user-defined sections

2011-07-11 Thread Daniel Schoepe
--- NEWS | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/NEWS b/NEWS index f3fefad..98a6b28 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,16 @@ +Notmuch 0.7 (-MM-DD) +=== +New emacs-interface features +

Re: notmuch Digest, Vol 20, Issue 57

2011-07-11 Thread Daniel Schoepe
On Mon, 11 Jul 2011 15:22:24 +0200, Sebastian Spaeth sebast...@sspaeth.de wrote: Support for tags is mentioned in the RFC for IMAP, but it's optional. As far as I know, must servers today support them though. I can't speak for Gmail, but all major servers, ie Cyrus, Dovecot, and even

Re: [PATCH] emacs: Tab completion for notmuch-search and notmuch-search-filter

2011-08-05 Thread Daniel Schoepe
On Mon, 06 Jun 2011 18:32:41 +0200, Daniel Schoepe daniel.scho...@googlemail.com wrote: [..] I've been using this patch for the past two months now and it has been working fine. Are there any more suggestions or criticisms about this? Cheers, Daniel pgpoxgMn2II98.pgp Description: PGP

Re: [PATCH] emacs: Tab completion for notmuch-search and notmuch-search-filter

2011-08-09 Thread Daniel Schoepe
On Fri, 05 Aug 2011 23:09:23 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: Hey, Daniel. I actually just ran into a little bug with this patch. After applying this patch, if I try to scroll/search through my mini-buffer history after a search I get the following error:

[PATCH] emacs: Tab completion for notmuch-search and notmuch-search-filter

2011-08-09 Thread Daniel Schoepe
This patch adds completion with tab in the minibuffer for notmuch-search and notmuch-search-filter. --- emacs/notmuch.el | 37 +++-- 1 files changed, 35 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index f11ec24..bb7565c 100644

Re: [PATCH v5 0/2] emacs: User-defined sections in notmuch-hello

2011-08-14 Thread Daniel Schoepe
On Sat, 9 Jul 2011 20:03:16 +0200, Daniel Schoepe daniel.scho...@googlemail.com wrote: More documentation/customize improvements. I know this is quite a large commit, but has anyone else had the time to review this? I didn't notice any more flaws since the fifth version and it made the hello

[PATCH v6 0/2] emacs: User-defined sections in notmuch-hello

2011-10-10 Thread Daniel Schoepe
Fixed that and rebased against master. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH v6 2/2] emacs: Tests for user-defined sections

2011-10-10 Thread Daniel Schoepe
From: Daniel Schoepe daniel.scho...@googlemail.com --- test/emacs | 37 test/emacs.expected-output/notmuch-hello |4 ++- .../notmuch-hello-new-section |4 ++ .../notmuch-hello-no-saved-searches

[PATCH v6 1/2] emacs: User-defined sections in notmuch-hello

2011-10-10 Thread Daniel Schoepe
From: Daniel Schoepe daniel.scho...@googlemail.com This patch makes the notmuch-hello screen fully customizable by allowing the user to add and remove arbitrary sections. It also provides some convenience functions for constructing sections, e.g. showing the unread message count for each tag

Re: [PATCH] emacs: logically group def{custom,face}s

2011-10-10 Thread Daniel Schoepe
On Tue, 5 Jul 2011 20:33:00 +0200, Pieter Praet pie...@praet.org wrote: To allow for expansion whilst keeping everything tidy and organized, move all defcustom/defface variables to the following subgroups, defined in notmuch-lib.el: Since the customize page for notmuch is getting pretty

Re: [PATCH v2] emacs: Turn id:message-id elements into buttons for notmuch searches

2011-10-11 Thread Daniel Schoepe
On Wed, 6 Jul 2011 16:18:01 +0200, Daniel Schoepe daniel.scho...@googlemail.com wrote: This fixes the minor annoyance that message ids were parsed as mail addresses by goto-address-mode in notmuch-show buffers. Due to the frequent references to other threads on this mailing list, I found my

Re: [PATCH v2] emacs: Turn id:message-id elements into buttons for notmuch searches

2011-10-17 Thread Daniel Schoepe
On Mon, 17 Oct 2011 11:16:45 +0200, Thomas Schwinge tho...@schwinge.name wrote: Is it permissible for message IDs to contain double quotes? If not (and I hope so), might id:\[^\]+\ be a better regexp? (Untested.) As it appears to me, this would allow proper matching in text like this, too:

Re: [PATCH v2] emacs: Turn id:message-id elements into buttons for notmuch searches

2011-10-17 Thread Daniel Schoepe
On Mon, 17 Oct 2011 15:11:47 +0200, Thomas Schwinge tho...@schwinge.name wrote: Ah, of course, right... Yet, won't yours -- id:\[^ ]+\ -- match too much in this example: Bla, bla, see id:some@thing--some famous quote is bla. How about this one? id:\(\?\)[^[:space:]]+\1 You're

Re: [notmuch] [PATCH] Calls to notmuch get queued and executed asynchronously.

2011-10-21 Thread Daniel Schoepe
On Tue, 23 Feb 2010 11:32:51 -0500, James Vasile ja...@hackervisions.org wrote: Added notmuch-enqueue-asynch to replace calls to notmuch-call-notmuch-process. Calls to notmuch are then queued and executed asynchronously. If the db is busy and we get an error saying it was locked, keep

Re: notmuchmail and rmail

2011-10-21 Thread Daniel Schoepe
On Wed, 19 Oct 2011 19:14:16 -0400, Richard Stallman r...@gnu.org wrote: Is it feasible to use notmuchmail to search old mail, but use Rmail to read incoming mail? Hello, notmuch can only index and search through mail that is stored in a maildir[1], but not in an mbox file. As far as I can

Re: search for date received possible?

2011-10-24 Thread Daniel Schoepe
On Sun, 23 Oct 2011 23:42:54 +0200, Gregor Zattler telegr...@gmx.net wrote: Obviously I miss something here? There are already Received:-Headers in emails which contain the date when the mail was received. How do I search on arbitrary headers? This is especially difficult since date

Re: how do you do everyday mail catchup with notmuch? (was: Re: search for date received possible?)

2011-10-25 Thread Daniel Schoepe
On Tue, 25 Oct 2011 19:31:01 +0200, Gregor Zattler telegr...@gmx.net wrote: How do you make sure you don't miss emails while using notmuch? My setup is similar to Thomas Jost's setup described in his reply to this, except for a few points: - I am subscribed to many mailing lists, but read few

Patch review/application process

2011-10-25 Thread Daniel Schoepe
Hello, as many of you have probably noticed, the time after which patches are reviewed and/or applied is considerably higher lately than it was, for example, earlier this year. My subjective impression is that there is also a recent increase in contributions and general activity for/about

Re: Emacs/bug? additional email headers not shown

2011-10-26 Thread Daniel Schoepe
On Sun, 23 Oct 2011 16:46:14 +0200, Gregor Zattler telegr...@gmx.net wrote: Hi notmuch users and developers, i'd like to see the Message-Id in thread view. Therefore I customised notmuch-message-headers via the customisation interface like so: (notmuch-message-headers (quote (Received

Re: [PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with id:.

2011-10-28 Thread Daniel Schoepe
On Wed, 26 Oct 2011 19:52:59 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: In point of fact, do we need these quotes around message IDs at all? Can message IDs have characters that would need to be escaped for the shell? Message ID syntax is defined in RFC 2822[1]:

[PATCH v3] emacs: Turn id:message-id elements into buttons for

2011-10-28 Thread Daniel Schoepe
Rebased and replaced regex by the one suggested by Thomas Schwinge. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH v3] emacs: Turn id:message-id elements into buttons for notmuch searches

2011-10-28 Thread Daniel Schoepe
From: Daniel Schoepe daniel.scho...@googlemail.com This fixes the minor annoyance that message ids were parsed as mail addresses by goto-address-mode in notmuch-show buffers. --- emacs/notmuch-show.el | 24 +--- 1 files changed, 21 insertions(+), 3 deletions(-) diff --git

Re: [RFC PATCH 3/3] emacs: support limiting the number of messages shown in search results

2011-10-29 Thread Daniel Schoepe
On Fri, 28 Oct 2011 23:59:31 +0300, Jani Nikula j...@nikula.org wrote: Add support for limiting the maximum number of messages initially displayed in search results. When enabled, the search results will contain push buttons to double the number of messages displayed or to show unlimited

Re: [RFC PATCH 2/3] cli: add support for limiting the number of search results

2011-10-29 Thread Daniel Schoepe
On Fri, 28 Oct 2011 23:59:30 +0300, Jani Nikula j...@nikula.org wrote: @@ -412,6 +413,14 @@ notmuch_search_command (void *ctx, int argc, char *argv[]) fprintf (stderr, Invalid value for --sort: %s\n, opt); return 1; } + } else if (STRNCMP_LITERAL

Re: [RFC PATCH 2/3] cli: add support for limiting the number of search results

2011-10-29 Thread Daniel Schoepe
On Sat, 29 Oct 2011 23:08:04 +0300, Jani Nikula j...@nikula.org wrote: strtoul() won't touch the data pointed to by p (it only modifies p), so in that sense it could be const, but you're right in that it really should be 'char *', just for a more complicated reason. Thanks for making me look

Re: [PATCH 3/3] Add notmuch-hello-mode-hook

2011-10-30 Thread Daniel Schoepe
On Sun, 30 Oct 2011 11:54:07 -0400, Ivy Foster joyfulg...@archlinux.us wrote: Oh, I meant populating the hello buffer with the list of tags, not around adding or removing a message's tags. I sent a patch[1] a while ago that changes notmuch-hello such that the buffer contents are generated by a

Re: Displaying tags with many messages very slow in Emacs

2011-10-31 Thread Daniel Schoepe
On Mon, 31 Oct 2011 16:43:22 +0100, bnt webserv...@bontempi.net wrote: I am not too proficient with the patch utility. Is there some kind of scheduled git commits timeline? Unfortunately, there's a huge number of outstanding patches at the moment, so it's impossible to say when/if it will be

Re: [PATCH] Store from and subject headers in the database.

2011-11-06 Thread Daniel Schoepe
On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements amdra...@mit.edu wrote: Search retrieves these headers for every message in the search results. Previously, this required opening and parsing every message file. Storing them directly in the database significantly reduces IO and

Re: [PATCH] Store from and subject headers in the database.

2011-11-06 Thread Daniel Schoepe
On Sun, 06 Nov 2011 23:07:51 +0200, Jani Nikula j...@nikula.org wrote: ...what's the most convenient way of rebuilding the database while preserving my tags etc.? If this was merged, would an older version of notmuch choke on the rebuilt database with these headers? (To me it looks like it

[PATCH 0/2] Missing NEWS entries

2011-11-16 Thread Daniel Schoepe
Here are the two missing news entries for the two patches of mine that were applied recently. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH 1/2] NEWS entry for adding tab-completion to notmuch-search

2011-11-16 Thread Daniel Schoepe
Add a news entry for commit6a280088e6769015ade7758b9790384997a21ff3. --- NEWS |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/NEWS b/NEWS index f236505..ff12ca6 100644 --- a/NEWS +++ b/NEWS @@ -33,6 +33,14 @@ Add notmuch count --output option The count command

[PATCH 2/2] NEWS entry for id-links

2011-11-16 Thread Daniel Schoepe
This adds a NEWS entry for commit 4a4ada73b751b1916c5dc4d408a8056411566e38 --- NEWS |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/NEWS b/NEWS index ff12ca6..a2fa69f 100644 --- a/NEWS +++ b/NEWS @@ -41,6 +41,11 @@ Add tab-completion for notmuch-search and

Re: [PATCH v6 1/2] emacs: User-defined sections in notmuch-hello

2011-11-24 Thread Daniel Schoepe
On Thu, 24 Nov 2011 09:54:50 -0400, David Bremner da...@tethera.net wrote: On Mon, 10 Oct 2011 15:39:41 +0200, Daniel Schoepe dan...@schoepe.org wrote: From: Daniel Schoepe daniel.scho...@googlemail.com This patch makes the notmuch-hello screen fully customizable by allowing the user

[PATCH v2 0/2] emacs: Add thread-outline functionality

2011-12-16 Thread Daniel Schoepe
Rebased to master, only one trivial conflict anyway. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH v2 1/2] emacs: Add thread-outline functionality

2011-12-16 Thread Daniel Schoepe
From: Daniel Schoepe daniel.scho...@googlemail.com This patch adds some functionality to display the outline for threads displayed by notmuch-show. The entries in the outline buffer are links to the corresponding message in the notmuch-show buffer. --- emacs/notmuch-lib.el | 12 +++ emacs

[PATCH v2 2/2] emacs: Test for thread-outlining

2011-12-16 Thread Daniel Schoepe
From: Daniel Schoepe daniel.scho...@googlemail.com --- test/emacs |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/test/emacs b/test/emacs index 6e922de..e706909 100755 --- a/test/emacs +++ b/test/emacs @@ -71,6 +71,13 @@ test_emacs (let ((notmuch-indent-messages

[PATCH v3 1/2] emacs: Add thread-outline functionality

2011-12-16 Thread Daniel Schoepe
I somehow managed to forget the actual test file in the previous version... ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH v3 1/2] emacs: Add thread-outline functionality

2011-12-16 Thread Daniel Schoepe
From: Daniel Schoepe daniel.scho...@googlemail.com This patch adds some functionality to display the outline for threads displayed by notmuch-show. The entries in the outline buffer are links to the corresponding message in the notmuch-show buffer. --- emacs/notmuch-lib.el | 12 +++ emacs

[no subject]

2011-12-16 Thread Daniel Schoepe
Fixed whitespace error reported by Jameson. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH v4 1/2] emacs: Add thread-outline functionality

2011-12-16 Thread Daniel Schoepe
From: Daniel Schoepe daniel.scho...@googlemail.com This patch adds some functionality to display the outline for threads displayed by notmuch-show. The entries in the outline buffer are links to the corresponding message in the notmuch-show buffer. --- emacs/notmuch-lib.el | 12 +++ emacs

[PATCH v4 2/2] emacs: Test for thread-outlining

2011-12-16 Thread Daniel Schoepe
From: Daniel Schoepe daniel.scho...@googlemail.com --- test/emacs |7 +++ .../notmuch-show-thread-outline|7 +++ 2 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 test/emacs.expected-output/notmuch

Re: [PATCH v6 0/2] emacs: User-defined sections in notmuch-hello

2012-01-16 Thread Daniel Schoepe
On Mon, 16 Jan 2012 10:59:39 +, David Edmondson d...@dme.org wrote: Daniel, there was a bunch of feedback from Dmitry about the patch and a couple of other comments. Do you plan to produce a new version? Yes, I plan to do that (I know I already said that in December) and already have a

Re: [PATCH] emacs-hello: Do not calculate the count of the messages in

2012-01-16 Thread Daniel Schoepe
On Mon, 16 Jan 2012 11:33:59 +, David Edmondson d...@dme.org wrote: Daniel, will you include this in your next version? (I'd like to mark it 'obsolete'.) Yes, it sounds like a great improvement. pgpKKoT3xeVRl.pgp Description: PGP signature ___

Re: [PATCH v6 1/2] emacs: User-defined sections in notmuch-hello

2012-01-21 Thread Daniel Schoepe
On Wed, 14 Dec 2011 07:11:21 +0400, Dmitry Kurochkin dmitry.kuroch...@gmail.com wrote: Hi Daniel. I have finished reviewing this patch at last. Sorry, it is a bit messy. Overall, I like the patch. It is a very nice improvement. I am sure I have missed some important points, but I guess

[PATCH v7 2/2] emacs: Tests for user-defined sections

2012-01-21 Thread Daniel Schoepe
From: Daniel Schoepe daniel.scho...@googlemail.com --- test/emacs | 37 test/emacs.expected-output/notmuch-hello |4 ++- .../notmuch-hello-new-section |4 ++ .../notmuch-hello-no-saved-searches

[PATCH v8 0/2] emacs: User-defined sections in notmuch-hello

2012-01-28 Thread Daniel Schoepe
Rebased against master. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH v8 1/2] emacs: User-defined sections in notmuch-hello

2012-01-28 Thread Daniel Schoepe
From: Daniel Schoepe daniel.scho...@googlemail.com This patch makes the notmuch-hello screen fully customizable by allowing the user to add and remove arbitrary sections. It also provides some convenience functions for constructing sections, e.g. showing the unread message count for each tag

Re: [PATCH v7 2/2] emacs: Tests for user-defined sections

2012-01-28 Thread Daniel Schoepe
Hi Dmitry. On Sun, 29 Jan 2012 02:48, Dmitry Kurochkin dmitry.kuroch...@gmail.com wrote: I only meant trailing whitespaces in test/emacs file in the lines added by the patch. Trailing whitespaces in expected results are obviously fine. Ah, okay. I fixed those with delete-trailing-whitespace,

[PATCH 0/1] emacs: Make highlight-faces for pick configurable

2012-02-12 Thread Daniel Schoepe
This makes the faces notmuch-pick uses for high/lowlighting configurable. Obviously, this requires the rest of the patch series from this thread. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH] emacs: Make highlight-faces for pick configurable

2012-02-12 Thread Daniel Schoepe
--- emacs/notmuch-pick.el | 21 ++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/emacs/notmuch-pick.el b/emacs/notmuch-pick.el index 4c91d7c..2bf1ae4 100644 --- a/emacs/notmuch-pick.el +++ b/emacs/notmuch-pick.el @@ -42,6 +42,22 @@ :group 'notmuch

Re: [PATCH v4 1/2] emacs: Add thread-outline functionality

2012-02-12 Thread Daniel Schoepe
I think notmuch-pick [1] is a better approach and also provides thread-outlining, so these patches should be obsolete now. [1] id:87d39k1gvi@qmul.ac.uk Cheers, Daniel pgptBCwFOhEua.pgp Description: PGP signature ___ notmuch mailing list

Re: RFC notmuch-pick: an emacs threaded message view with split-pane

2012-02-12 Thread Daniel Schoepe
On Sun, 12 Feb 2012 12:46:36 -0800, Jameson Graef Rollins jroll...@finestructure.net wrote: Hey, Mark. I really like the idea, since I've been looking for something like this for a while, but there's something I'm confused about. Is this meant to replace notmuch-search, or notmuch-show? I

Re: [RFC PATCH v2 1/3] cli: notmuch-show changes to support pick

2012-02-12 Thread Daniel Schoepe
On Sun, 12 Feb 2012 18:49:37 +, Mark Walters markwalters1...@gmail.com wrote: +int opt_index, ret, entire_thread; +notmuch_sort_t sort = NOTMUCH_SORT_NEWEST_FIRST; const notmuch_show_format_t *format = format_text; notmuch_show_params_t params = { .part = -1 }; int

  1   2   3   >