[PATCH] emacs: Remove duplicate declaration of `notmuch-folders'

2010-04-26 Thread Carl Worth
not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/80da418b/attachment.pgp>

[PATCH] emacs: More DWIM when editing messages

2010-04-26 Thread Dirk Hohndel
On Mon, 26 Apr 2010 10:28:33 -0700, Carl Worth wrote: > On Mon, 26 Apr 2010 09:31:49 -0700, Dirk Hohndel > wrote: > > On Mon, 26 Apr 2010 15:01:25 +0100, David Edmondson wrote: > > > For composing new messages and forwarding, leave the cursor on the > > > 'To:' field. For replies, leave the cur

Re: [PATCH] emacs: `notmuch' should display the `notmuch-hello' interface

2010-04-26 Thread Carl Worth
On Mon, 26 Apr 2010 17:30:04 +0100, David Edmondson wrote: > On Mon, 26 Apr 2010 09:11:07 -0700, Dirk Hohndel > wrote: > > This is lacking a committ message... Thanks for the review, Dirk! Much appreciated. > I wasn't sure what else to say. Here's what I came up with in my --amend of the comm

[PATCH] emacs: `notmuch' should display the `notmuch-hello' interface

2010-04-26 Thread Carl Worth
next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/29dc6d70/attachment.pgp>

Re: [PATCH] emacs: Add notmuch-hello.el, a friendly frontend to notmuch

2010-04-26 Thread Jameson Rollins
On Mon, 26 Apr 2010 10:16:42 -0700, Carl Worth wrote: > What do you think? This will give new users the ability to just type a > search string as their first interaction. Users with a little more > experience, (enough to have saved a search), will have easier access to > those, and will not have t

[PATCH] emacs: Add notmuch-hello.el, a friendly frontend to notmuch

2010-04-26 Thread David Edmondson
On Fri, 23 Apr 2010 13:13:01 -0700, Carl Worth wrote: > * This should be integrated such that (require 'notmuch) provides the > notmuch-hello functionality. That's our documented access point for > getting at notmuch functionality. I'll do this, but I wonder if it is actually good advic

Re: [PATCH] emacs: Fix `notmuch-show-rewind' in the presence of invisible text

2010-04-26 Thread Carl Worth
> From: David Edmondson > > When determining whether or not to re-align the head of the current > message with the top of the window, use `count-screen-lines' rather > than `count-lines' to allow for invisible text in the preceding > message. Sounds good to me. Pushed without any additional test

[PATCH] emacs: Fix `notmuch-show-rewind' in the presence of invisible text

2010-04-26 Thread Carl Worth
gnature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/66bb2417/attachment.pgp>

Re: [PATCH] emacs: More DWIM when editing messages

2010-04-26 Thread Carl Worth
On Mon, 26 Apr 2010 09:31:49 -0700, Dirk Hohndel wrote: > On Mon, 26 Apr 2010 15:01:25 +0100, David Edmondson wrote: > > For composing new messages and forwarding, leave the cursor on the > > 'To:' field. For replies, leave the cursor at the start of the > > body. In all cases, mark the buffer as

[PATCH] emacs: More DWIM when editing messages

2010-04-26 Thread Carl Worth
David! This is pushed. -Carl -- carl.d.worth at intel.com -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/deaf070a/attachment.pgp>

[PATCH 3/3] emacs: Add a search to the 'recent searches' list once only

2010-04-26 Thread David Edmondson
Avoiding adding the same search string to the 'recent searches' list more than once by testing whether the string was already used with `member' rather than `memq'. --- emacs/notmuch-hello.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/n

[PATCH 2/3] emacs: Remove the accelerator keys from the hello buffer

2010-04-26 Thread David Edmondson
Carl though that the recent search accelerator keys are not useful, so remove them. --- emacs/notmuch-hello.el | 44 ++-- 1 files changed, 18 insertions(+), 26 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 3a74ebd..52f162

[PATCH 1/3] emacs: Adapt the logo background colour to that of the frame

2010-04-26 Thread David Edmondson
The notmuch logo uses transparency. That can display poorly when inserting the image into an emacs buffer (black logo on a black background), so force the background colour of the image. We use a face (`notmuch-hello-logo-background') to represent the colour so that `defface' can be used to declare

[PATCH v3 4/4] Integrate notmuch-fcc mechansim

2010-04-26 Thread Sebastian Spaeth
I have gone wild and added a defcustom "notmuch-fcc-dirs". Depending on the value of that variable we will not do any maildir fcc at all (nil, the default), or it is of the format (("defaultsentbox") ("full name " . "Work/sentbox") ("full name2 " . "Work2/sentbox")) The outbox name will be conca

[PATCH v3 3/4] notmuch-maildir-fcc: elisp syntax fixes

2010-04-26 Thread Sebastian Spaeth
1)use insert-buffer-substring Rather than the insert-buffer. Emacs complains that it is for interactive use and not for use within elisp. So use insert-buffer-substring which does the same thing when not handed any 'begin' 'end' parameters. 2)replace caddr with (car (cdr (cdr))) The former requi

[PATCH v3 2/4] Integrate notmuch-maildir-fcc into notmuch

2010-04-26 Thread Sebastian Spaeth
Require notmuch-maildir-fcc and also install it. Rename all jkr/* functions to notmuch-maildir-fcc-* Signed-off-by: Sebastian Spaeth --- emacs/Makefile.local |1 + emacs/notmuch-maildir-fcc.el | 42 ++ emacs/notmuch.el |1 + 3

[PATCH v3 1/4] Add elisp file for FCC to maildir solution

2010-04-26 Thread Sebastian Spaeth
From: Jesse Rosenthal File grabbed from http://jkr.acm.jhu.edu/jkr-maildir.el but not integrated yet. Signed-off-by: Sebastian Spaeth --- The patch series needed rebasing as it conflicts now with some of the notmuch-hello and notmuch-mua additions. Also, I integrated Dirk's proposal to use a

Re: [PATCH] emacs: Add notmuch-hello.el, a friendly frontend to notmuch

2010-04-26 Thread Carl Worth
> On Mon, 26 Apr 2010 10:36:28 +0100, David Edmondson wrote: > > > * It would be great if point were in the search bar right when this > > > mode started. > > > > This is customisable, and I see that you changed the default ;-) > > Yes. I'm still on the fence about this change, (as we are

[PATCH] emacs: Add notmuch-hello.el, a friendly frontend to notmuch

2010-04-26 Thread Carl Worth
signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/7793eb24/attachment.pgp>

Re: [PATCH] emacs: Add more functions to clean up text/plain parts

2010-04-26 Thread Carl Worth
> None of these is enabled by default - add them to > `notmuch-show-insert-text/plain-hook' to use. > --- > > Another attempt :-) > > - Functions renamed to be clearer about what they do, > - Function documentation both more concise (for display in customisation > buffers) and more complete, >

[PATCH] emacs: Add more functions to clean up text/plain parts

2010-04-26 Thread Carl Worth
pushing the old version before I'd seen this. So I just reverted that and pushed this. Thanks again, -Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http:/

Re: [PATCH] emacs: `notmuch' should display the `notmuch-hello' interface

2010-04-26 Thread Dirk Hohndel
On Mon, 26 Apr 2010 17:30:04 +0100, David Edmondson wrote: > On Mon, 26 Apr 2010 09:11:07 -0700, Dirk Hohndel > wrote: > > This is lacking a committ message... > > I wasn't sure what else to say. > > > > > And this doesn't seem related to the subject... > > They are both due to re-arranging

[PATCH] emacs: `notmuch' should display the `notmuch-hello' interface

2010-04-26 Thread Dirk Hohndel
On Mon, 26 Apr 2010 17:30:04 +0100, David Edmondson wrote: > On Mon, 26 Apr 2010 09:11:07 -0700, Dirk Hohndel > wrote: > > This is lacking a committ message... > > I wasn't sure what else to say. > > > > > And this doesn't seem related to the subject... > > They are both due to re-arranging

Re: [PATCH] emacs: Add notmuch-address.el for address completion using notmuch

2010-04-26 Thread Dirk Hohndel
On Mon, 26 Apr 2010 17:28:47 +0100, David Edmondson wrote: > >To: David Edmondson , notmuch@notmuchmail.org, > d...@yoom.home.cworth.org Looks like I now have an account on Carl's machine >Cc: c...@ut.hh.sledj.net Which is only fair, given that he has gotten himself an account somewhe

[PATCH] emacs: Add notmuch-address.el for address completion using notmuch

2010-04-26 Thread Dirk Hohndel
On Mon, 26 Apr 2010 17:28:47 +0100, David Edmondson wrote: > >To: David Edmondson , notmuch at notmuchmail.org, dirk at > yoom.home.cworth.org Looks like I now have an account on Carl's machine >Cc: carl at ut.hh.sledj.net Which is only fair, given that he has gotten himself an accoun

Re: [PATCH] emacs: More DWIM when editing messages

2010-04-26 Thread Dirk Hohndel
On Mon, 26 Apr 2010 15:01:25 +0100, David Edmondson wrote: > For composing new messages and forwarding, leave the cursor on the > 'To:' field. For replies, leave the cursor at the start of the > body. In all cases, mark the buffer as not modified so that the user > is not prompted if she decides t

[PATCH] emacs: More DWIM when editing messages

2010-04-26 Thread Dirk Hohndel
On Mon, 26 Apr 2010 15:01:25 +0100, David Edmondson wrote: > For composing new messages and forwarding, leave the cursor on the > 'To:' field. For replies, leave the cursor at the start of the > body. In all cases, mark the buffer as not modified so that the user > is not prompted if she decides t

Re: Kudos! Also: +1 PGP!

2010-04-26 Thread David Edmondson
On Mon, 26 Apr 2010 12:19:26 -0400, Jameson Rollins wrote: > On Mon, 26 Apr 2010 17:11:33 +0100, David Edmondson wrote: > > multipart/signed really needs the re-worked JSON output so that the UI > > can know what is going on. It might be possible to kludge something > > together with the current

Re: [PATCH] emacs: `notmuch' should display the `notmuch-hello' interface

2010-04-26 Thread David Edmondson
On Mon, 26 Apr 2010 09:11:07 -0700, Dirk Hohndel wrote: > This is lacking a committ message... I wasn't sure what else to say. > On Mon, 26 Apr 2010 16:07:04 +0100, d...@dme.org wrote: > > From: David Edmondson > > --- a/emacs/notmuch-lib.el > > +++ b/emacs/notmuch-lib.el > > @@ -33,6 +33,11 @@

Re: [PATCH] emacs: Add notmuch-address.el for address completion using notmuch

2010-04-26 Thread David Edmondson
To: David Edmondson , notmuch@notmuchmail.org, d...@yoom.home.cworth.org Cc: c...@ut.hh.sledj.net Date: Mon, 26 Apr 2010 08:21:51 -0700 Something interesting is happening here :-) dme. -- David Edmondson, http://dme.org pgpgH6xAit11l.pgp Description: PGP signature __

Re: [PATCH] emacs: Allow headers to be shown by default in show mode

2010-04-26 Thread Dirk Hohndel
On Mon, 26 Apr 2010 11:55:33 +0100, David Edmondson wrote: > On Sat, 24 Apr 2010 05:42:54 -0700, Carl Worth wrote: > > On Fri, 23 Apr 2010 21:08:48 +0100, David Edmondson wrote: > > > I like the current behaviour, but changing the default would be fine. > > > > Which parts of it do you like? Be

[PATCH] emacs: Allow headers to be shown by default in show mode

2010-04-26 Thread Dirk Hohndel
On Mon, 26 Apr 2010 11:55:33 +0100, David Edmondson wrote: > On Sat, 24 Apr 2010 05:42:54 -0700, Carl Worth wrote: > > On Fri, 23 Apr 2010 21:08:48 +0100, David Edmondson wrote: > > > I like the current behaviour, but changing the default would be fine. > > > > Which parts of it do you like? Be

Re: [PATCH] emacs: Add notmuch-address.el for address completion using notmuch

2010-04-26 Thread David Edmondson
On Mon, 26 Apr 2010 08:21:51 -0700, Carl Worth wrote: > > > Finally, though, I haven't figured out how to get more than a single > > > match from this. If the first match isn't what I want, how do I see and > > > choose later matches? > > > > M-n to move forward in the list, M-p to move backwards

Re: [PATCH] RFC: Add From guessing when forwarding email

2010-04-26 Thread Dirk Hohndel
On Mon, 26 Apr 2010 11:43:45 +0100, David Edmondson wrote: > On Fri, 23 Apr 2010 15:52:15 -0700, Dirk Hohndel > wrote: > > Given how little elisp I know I'm quite interested in feedback > > and better implementations > > I think that: > > (defun notmuch-show-forward-message () > "Forward the

[PATCH] RFC: Add From guessing when forwarding email

2010-04-26 Thread Dirk Hohndel
On Mon, 26 Apr 2010 11:43:45 +0100, David Edmondson wrote: > On Fri, 23 Apr 2010 15:52:15 -0700, Dirk Hohndel > wrote: > > Given how little elisp I know I'm quite interested in feedback > > and better implementations > > I think that: > > (defun notmuch-show-forward-message () > "Forward the

[PATCH] emacs: Tell the user how many addresses matched when completing

2010-04-26 Thread dme
From: David Edmondson When completing an address, tell the user how many addresses in the database matched the query. --- emacs/notmuch-address.el |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch-address.el b/emacs/notmuch-address.el index 69a52a2..a295

Re: Some messages show only headers.

2010-04-26 Thread Jameson Rollins
On Mon, 26 Apr 2010 09:13:20 -0700, Dirk Hohndel wrote: > I think Carl already pushed the fix. Yes, he did, and it appears to have fixed the problem. jamie. pgp3gqGFbiZG1.pgp Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org

Re: Kudos! Also: +1 PGP!

2010-04-26 Thread Jameson Rollins
On Mon, 26 Apr 2010 17:11:33 +0100, David Edmondson wrote: > multipart/signed really needs the re-worked JSON output so that the UI > can know what is going on. It might be possible to kludge something > together with the current output, but it will be awkward. Actually the emacs UI is current us

Re: [SCM] notmuch - thread-based email index, search and tagging. branch, master, updated. 0.2-191-g38c35f8

2010-04-26 Thread David Edmondson
On Mon, 26 Apr 2010 07:17:47 -0700 (PDT), notmuch-commits-sen...@notmuchmail.org (Carl Worth) wrote: > commit 97570954cb583cacac35b0235cbe449a07630ae3 > Author: David Edmondson > Date: Thu Apr 22 13:26:06 2010 +0100 > > emacs: Add more functions to clean up text/plain parts > > Ad

Re: Some messages show only headers.

2010-04-26 Thread Dirk Hohndel
On Sun, 25 Apr 2010 10:57:10 +0530, Abhishek Dasgupta wrote: > > Hi all, > > I've been using notmuch for some time, and I noticed that some mails > show only the header when pressing [return] on notmuch-show-all. If I > press [return] on the highlighted From: header then the entire message > dis

Some messages show only headers.

2010-04-26 Thread Dirk Hohndel
On Sun, 25 Apr 2010 10:57:10 +0530, Abhishek Dasgupta wrote: > > Hi all, > > I've been using notmuch for some time, and I noticed that some mails > show only the header when pressing [return] on notmuch-show-all. If I > press [return] on the highlighted From: header then the entire message > di

Re: Kudos! Also: +1 PGP!

2010-04-26 Thread David Edmondson
On Mon, 26 Apr 2010 15:52:37 +0200, "Sebastian Spaeth" wrote: > We were discussing on IRC whether decryption should be handled in > notmuch show --decrypt or in emacs and I had a quick look at what it > would take for emacs. Here is a snippet of code that outputs > "Good signature from 5585F58CC8

Re: [PATCH] emacs: `notmuch' should display the `notmuch-hello' interface

2010-04-26 Thread Dirk Hohndel
This is lacking a committ message... On Mon, 26 Apr 2010 16:07:04 +0100, d...@dme.org wrote: > From: David Edmondson > --- a/emacs/notmuch-lib.el > +++ b/emacs/notmuch-lib.el > @@ -33,6 +33,11 @@ >:type '(alist :key-type (string) :value-type (string)) >:group 'notmuch) > > +(defcustom

[PATCH] emacs: `notmuch' should display the `notmuch-hello' interface

2010-04-26 Thread Dirk Hohndel
This is lacking a committ message... On Mon, 26 Apr 2010 16:07:04 +0100, dme at dme.org wrote: > From: David Edmondson > --- a/emacs/notmuch-lib.el > +++ b/emacs/notmuch-lib.el > @@ -33,6 +33,11 @@ >:type '(alist :key-type (string) :value-type (string)) >:group 'notmuch) > > +(defcusto

Re: [PATCH] emacs: Fix `notmuch-search-insert-field'

2010-04-26 Thread Carl Worth
On Mon, 26 Apr 2010 13:16:07 +0100, David Edmondson wrote: > Compare the formatted version of the authors with the formatted sample > string rather than the un-formatted authors with the formatted sample > string. > --- > > Carl, please pull this in for 0.3. Pushed (without testing---just taking

[PATCH] emacs: Fix `notmuch-search-insert-field'

2010-04-26 Thread Carl Worth
out testing---just taking your word for it). :-) -Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/d7080e63/attachment.pgp>

Re: [PATCH] emacs: Add notmuch-address.el for address completion using notmuch

2010-04-26 Thread Carl Worth
On Mon, 26 Apr 2010 11:49:46 +0100, David Edmondson wrote: > On Fri, 23 Apr 2010 17:49:38 -0700, Carl Worth wrote: > > I finally hit on doing (require 'notmuch-address) in .emacs. As noted > > previously, can we please make (require 'notmuch) pull in all notmuch > > functionality rather than havi

[PATCH] emacs: Add notmuch-address.el for address completion using notmuch

2010-04-26 Thread Carl Worth
rl.d.worth at intel.com -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/f49582d2/attachment.pgp>

[PATCH] emacs: Remove duplicate declaration of `notmuch-folders'

2010-04-26 Thread dme
From: David Edmondson --- emacs/notmuch.el |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 428ae6c..e207180 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -659,11 +659,6 @@ characters as well as `_.+-'. (apply '

Re: [PATCH] emacs: Correct message/header/citation/signature hiding

2010-04-26 Thread Carl Worth
On Mon, 26 Apr 2010 11:17:11 +0100, David Edmondson wrote: > Set `buffer-invisibility-spec' to `nil' (a list) if it is just `t' > before inserting any body parts, otherwise removing items from > `buffer-invisibility-spec' (which is what > `notmuch-show-headers-visible' and `notmuch-show-message-vi

[PATCH] emacs: Correct message/header/citation/signature hiding

2010-04-26 Thread Carl Worth
le Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/d3b9dc3c/attachment.pgp>

Re: [PATCH] emacs: Add notmuch-hello.el, a friendly frontend to notmuch

2010-04-26 Thread David Edmondson
On Fri, 23 Apr 2010 13:13:01 -0700, Carl Worth wrote: > Finally, I'm quite inclined to make `notmuch' invoke this mode, so think > about that. See id:1272294424-17363-1-git-send-email-...@dme.org. dme. -- David Edmondson, http://dme.org pgpQwC40hJEu2.pgp Description: PGP signature ___

[PATCH] emacs: `notmuch' should display the `notmuch-hello' interface

2010-04-26 Thread dme
From: David Edmondson --- emacs/notmuch-hello.el |1 - emacs/notmuch-lib.el |5 + emacs/notmuch.el |7 +++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 30b3a5e..bd882b8 100644 --- a/emacs/notmuch-

Re: [PATCH] test: Comment why we need to set TZ

2010-04-26 Thread Carl Worth
On Mon, 26 Apr 2010 12:12:13 +0200, Michal Sojka wrote: > +# Messages contain time/date values with time zone and notmuch > +# displays them converted to the local time zone. We need to set fixed > +# timezone here so that the output of the tests is always the same > +# without regard to the time

[PATCH] test: Comment why we need to set TZ

2010-04-26 Thread Carl Worth
c: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/22ec1d82/attachment.pgp>

Re: sort order regression

2010-04-26 Thread Carl Worth
On Mon, 26 Apr 2010 11:59:12 +0200, Michal Sojka wrote: > > Want to replay all the git test-suite commits other than any from the > > person with the missing ack? > > I do not fully understand what you propose here. You mean to reply the > commits from git repository into notmuch repository and t

sort order regression

2010-04-26 Thread Carl Worth
plication/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/81142759/attachment.pgp>

Re: [PATCH] emacs: Add notmuch-hello.el, a friendly frontend to notmuch

2010-04-26 Thread Carl Worth
-- carl.d.wo...@intel.com On Mon, 26 Apr 2010 10:36:28 +0100, David Edmondson wrote: > I'll do this, but I wonder if it is actually good advice. My primary point is that all of the implemented functionality, (including notmuch-hello and notmuch-addresses), needs to be made available with our do

[PATCH] emacs: Add notmuch-hello.el, a friendly frontend to notmuch

2010-04-26 Thread Carl Worth
o make `notmuch' invoke this mode, so > > think about that. > > It seems straightforward, I'll produce a patch. Excellent. A lot of these would have been easy for me to do of course, but it seems to be working well for you to "own" the coding of our emacs code for now. I really appreciate it! -Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/9f50bab4/attachment.pgp>

[PATCH] emacs: Fix `notmuch-show-rewind' in the presence of invisible text

2010-04-26 Thread dme
From: David Edmondson When determining whether or not to re-align the head of the current message with the top of the window, use `count-screen-lines' rather than `count-lines' to allow for invisible text in the preceding message. When comparing that number of lines against `next-screen-context-l

Re: [PATCH] Makefile: specify libnotmuch.so location with -rpath

2010-04-26 Thread Carl Worth
On Sun, 25 Apr 2010 17:59:35 +0200, Adrien Bustany wrote: > On Sun, 25 Apr 2010 16:38:40 +0100, Chris Wilson > wrote: > > In order to handle installation into user directories, it is convenient > > to encode the library location into the search path for the notmuch > > executable. This is achiev

[PATCH] Makefile: specify libnotmuch.so location with -rpath

2010-04-26 Thread Carl Worth
A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/5709096b/attachment.pgp>

Re: [SCM] notmuch - thread-based email index, search and tagging. branch, master, updated. 0.2-180-gc87d17f

2010-04-26 Thread Carl Worth
-- carl.d.wo...@intel.com On Sun, 25 Apr 2010 08:32:44 +0100, David Edmondson wrote: > On Sat, 24 Apr 2010 06:17:03 -0700 (PDT), > notmuch-commits-sen...@notmuchmail.org (Carl Worth) wrote: > > emacs: Make notmuch-hello jumpt to search bar by default. > > Originally this was the behaviour (

[SCM] notmuch - thread-based email index, search and tagging. branch, master, updated. 0.2-180-gc87d17f

2010-04-26 Thread Carl Worth
urn to notmuch-hello much more frequently than starting it fresh). -Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/7da2ceb0/attachment.pgp>

Some messages show only headers.

2010-04-26 Thread Abhishek Dasgupta
Hi all, I've been using notmuch for some time, and I noticed that some mails show only the header when pressing [return] on notmuch-show-all. If I press [return] on the highlighted From: header then the entire message displays. Is this behaviour expected? The default behaviour in most other MUAs

Re: [PATCH] configure: add ignored options for compatibility.

2010-04-26 Thread Carl Worth
> gentoo's ebuild script expects 2 more options for configure: > --host (same format as --build) > --datadir Thanks. This is pushed now. -Carl -- carl.d.wo...@intel.com pgpUEt0nvM8nz.pgp Description: PGP signature ___ notmuch mailing list notmuc

[PATCH] configure: add ignored options for compatibility.

2010-04-26 Thread Carl Worth
e: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/c3e55b8c/attachment.pgp>

Re: Wrapping up the 0.3 release

2010-04-26 Thread Carl Worth
> On Sat, 24 Apr 2010 08:37:11 -0700, Carl Worth wrote: > > * Reply is now splitting the window > > Patch sent. > > * Composing a new message with 'm' brings up headers in a scrambled > > order. > > Patch sent. Perfect! Both of these are pushed now. Thanks for the quick fixes. -Carl -

Wrapping up the 0.3 release

2010-04-26 Thread Carl Worth
ble URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/a7d4b088/attachment-0001.pgp>

Kudos! Also: +1 PGP!

2010-04-26 Thread Jameson Rollins
Thanks! jamie. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/c10e10be/attachment.pgp>

[PATCH] emacs: More DWIM when editing messages

2010-04-26 Thread David Edmondson
For composing new messages and forwarding, leave the cursor on the 'To:' field. For replies, leave the cursor at the start of the body. In all cases, mark the buffer as not modified so that the user is not prompted if she decides to immediately kill the buffer. --- emacs/notmuch-mua.el | 32

Wrapping up the 0.3 release

2010-04-26 Thread Jameson Rollins
7;ve been noticing this as well. jamie. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/10e27e40/attachment.pgp>

Re: Kudos! Also: +1 PGP!

2010-04-26 Thread Sebastian Spaeth
We were discussing on IRC whether decryption should be handled in notmuch show --decrypt or in emacs and I had a quick look at what it would take for emacs. Here is a snippet of code that outputs "Good signature from 5585F58CC827A062 Sebastian Spaeth (Private Communication) (trust ultimate) creat

[PATCH] emacs: Add more functions to clean up text/plain parts

2010-04-26 Thread David Edmondson
Add: - notmuch-wash-wrap-long-lines: Wrap lines longer than the width of the current window whilst maintaining any citation prefix. - notmuch-wash-tidy-citations: Tidy up citations by: - compress repeated otherwise blank citation lines, - remove otherwise blank citation lines at the head and

[wiki] emacstips: Add GPG signing tip

2010-04-26 Thread Sebastian Spaeth
I just added a short blurb to the wiki page stating how to sign/encrypt outgoing mail conveniently. Please review and improve: http://notmuchmail.org/emacstips/#sign_messages_gpg Sebastian P.S. Do note that this mail should be signed if things are working out :) pgplzkPvrLCyu.pgp Description: PG

[PATCH] emacs: Fix `notmuch-search-insert-field'

2010-04-26 Thread David Edmondson
Compare the formatted version of the authors with the formatted sample string rather than the un-formatted authors with the formatted sample string. --- Carl, please pull this in for 0.3. The previous fix didn't work correctly when the authors string was one character shorter than the length speci

[PATCH] emacs: Hide the "User-Agent:" when composing messages

2010-04-26 Thread David Edmondson
Add a list of headers to those hidden by `message-mode' when composing. By default the list includes only "User-Agent:". --- emacs/notmuch-mua.el | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index 004b50a..bca

Re: [PATCH] emacs: Add notmuch-address.el for address completion using notmuch

2010-04-26 Thread David Edmondson
On Mon, 26 Apr 2010 13:29:42 +0200, "Sebastian Spaeth" wrote: > On 2010-04-26, David Edmondson wrote: > > M-n to move forward in the list, M-p to move backwards (including into > > any history you have accrued). > > Alternatively, some of us have that weird new invention on their > keyboards cal

Re: [PATCH] emacs: Add notmuch-address.el for address completion using notmuch

2010-04-26 Thread Sebastian Spaeth
On 2010-04-26, David Edmondson wrote: > M-n to move forward in the list, M-p to move backwards (including into > any history you have accrued). Alternatively, some of us have that weird new invention on their keyboards called "arrow keys" ;-) ___ notmuch

Re: Wrapping up the 0.3 release

2010-04-26 Thread David Edmondson
On Sat, 24 Apr 2010 08:37:11 -0700, Carl Worth wrote: > Meanwhile, I'm aware of two regressions I'd like to see fixed before > 0.3: > > * Reply is now splitting the window > > We're copying the original message into the new reply buffer, so > what's the advantage of splitting here? Pa

[PATCH] emacs: Sort headers when composing

2010-04-26 Thread David Edmondson
Always sort the headers in the message composition window. --- emacs/notmuch-mua.el |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index b69e31c..004b50a 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -112,6 +11

[PATCH] emacs: Suppress window creation when replying

2010-04-26 Thread David Edmondson
The buffer used to edit a reply should overlay the original message. Encourage this by setting `same-window-regexps' locally. --- emacs/notmuch-mua.el | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index 305275e.

Re: Kudos! Also: +1 PGP!

2010-04-26 Thread Jameson Rollins
On Sun, 25 Apr 2010 19:57:33 +0100, Darren McGuicken wrote: > I've been slowly moving all my day-to-day mailing needs to notmuch over > the last month and the only thing I'm missing is native message > decryption and verification support - is this being actively worked on, > I haven't seen it men

Re: Unhandled Xapian exception

2010-04-26 Thread David Edmondson
On Sat, 24 Apr 2010 07:38:03 -0700, Carl Worth wrote: > Otherwise, we might want to start supporting more clever handling of the > exception. For example, the high-level application might want to retry > an operation if it fails due to a DatabaseModified exception. This is what I would like to do

Re: [PATCH] notmuch.pod: pod version of documentation, converted by rman, massaged by hand.

2010-04-26 Thread David Edmondson
On Sat, 24 Apr 2010 11:04:49 -0300, David Bremner wrote: > As I'm faced with writing docs for output selection, I'd like to revisit > this idea. I didn't get any feedback, positive or negative about the > idea of keeping the docs in pod. I don't care much about the format, > but I think it would

Re: [PATCH] emacs: Allow headers to be shown by default in show mode

2010-04-26 Thread David Edmondson
On Sat, 24 Apr 2010 05:42:54 -0700, Carl Worth wrote: > On Fri, 23 Apr 2010 21:08:48 +0100, David Edmondson wrote: > > I like the current behaviour, but changing the default would be fine. > > Which parts of it do you like? Being able to toggle the header back and > forth? Or just that the hidde

Re: Wrapping up the 0.3 release

2010-04-26 Thread Jameson Rollins
On Mon, 26 Apr 2010 11:51:46 +0530, "Aneesh Kumar K. V" wrote: > * A thread with only one message doesn't show the message body by > default. I need to use 'h' key binding to show the message > body. Multiple message thread seems to work fine. Yeah, I've been noticing this as well. jamie.

Re: [PATCH] emacs: Add notmuch-address.el for address completion using notmuch

2010-04-26 Thread David Edmondson
On Fri, 23 Apr 2010 17:49:38 -0700, Carl Worth wrote: > I finally hit on doing (require 'notmuch-address) in .emacs. As noted > previously, can we please make (require 'notmuch) pull in all notmuch > functionality rather than having it separated like this? Patch sent. > Finally, though, I haven'

[PATCH] emacs: Automatically load "notmuch-address"

2010-04-26 Thread David Edmondson
"notmuch-address.el" tries to be careful to insinuate itself into message mode only if it will do something useful, so it's safe to load it all of the time. --- emacs/notmuch-mua.el |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el

Re: [PATCH] RFC: Add From guessing when forwarding email

2010-04-26 Thread David Edmondson
On Fri, 23 Apr 2010 15:52:15 -0700, Dirk Hohndel wrote: > Given how little elisp I know I'm quite interested in feedback > and better implementations I think that: (defun notmuch-show-forward-message () "Forward the current message." (interactive) (let ((user-mail-address (shell-c

[PATCH] emacs: Correct message/header/citation/signature hiding

2010-04-26 Thread David Edmondson
Set `buffer-invisibility-spec' to `nil' (a list) if it is just `t' before inserting any body parts, otherwise removing items from `buffer-invisibility-spec' (which is what `notmuch-show-headers-visible' and `notmuch-show-message-visible' do) is a no-op and has no effect. This caused threads with on

[PATCH] test: Comment why we need to set TZ

2010-04-26 Thread Michal Sojka
--- test/notmuch-test |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/test/notmuch-test b/test/notmuch-test index 7082344..dc413f7 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -1,6 +1,10 @@ #!/bin/bash set -e +# Messages contain time/date values with ti

Re: sort order regression

2010-04-26 Thread Michal Sojka
> Want to replay all the git test-suite commits other than any from the > person with the missing ack? That should get us pretty close to the > current state in git, would give us code we could use, and might even > make it possible for us to submit improvements directly to the upstream > git repos

Re: [SCM] notmuch - thread-based email index, search and tagging. branch, master, updated. 0.2-180-gc87d17f

2010-04-26 Thread Sebastian Spaeth
On 2010-04-25, David Edmondson wrote: > Originally this was the behaviour (jump to the search box), but I found > that it really annoyed me. To use any of the keybindings it's necessary > to move the cursor out of the search entry area. Actually, a widget can have its own keymap, so it is entirely

Re: [PATCH] emacs: Add notmuch-hello.el, a friendly frontend to notmuch

2010-04-26 Thread David Edmondson
On Fri, 23 Apr 2010 13:13:01 -0700, Carl Worth wrote: > * This should be integrated such that (require 'notmuch) provides the > notmuch-hello functionality. That's our documented access point for > getting at notmuch functionality. I'll do this, but I wonder if it is actually good advic

Re: Unhandled Xapian exception

2010-04-26 Thread Sebastian Spaeth
On 2010-04-24, Carl Worth wrote: > On Fri, 23 Apr 2010 13:21:56 +0200, "Sebastian Spaeth" > wrote: > > I propose to try..catch this code block and rather than returning VOID > > it could return NOTMUCH_STATUS_SUCCESS or NOTMUCH_XAPIAN_EXCEPTION. > > Not sure how "notmuch_database_find_message" wo

[PATCH 2/3] emacs: Remove the accelerator keys from the hello buffer

2010-04-26 Thread David Edmondson
Carl though that the recent search accelerator keys are not useful, so remove them. --- emacs/notmuch-hello.el | 44 ++-- 1 files changed, 18 insertions(+), 26 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 3a74ebd..52f162

[PATCH 3/3] emacs: Add a search to the 'recent searches' list once only

2010-04-26 Thread David Edmondson
Avoiding adding the same search string to the 'recent searches' list more than once by testing whether the string was already used with `member' rather than `memq'. --- emacs/notmuch-hello.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/n

[PATCH 1/3] emacs: Adapt the logo background colour to that of the frame

2010-04-26 Thread David Edmondson
The notmuch logo uses transparency. That can display poorly when inserting the image into an emacs buffer (black logo on a black background), so force the background colour of the image. We use a face (`notmuch-hello-logo-background') to represent the colour so that `defface' can be used to declare

[PATCH v3 4/4] Integrate notmuch-fcc mechansim

2010-04-26 Thread Sebastian Spaeth
I have gone wild and added a defcustom "notmuch-fcc-dirs". Depending on the value of that variable we will not do any maildir fcc at all (nil, the default), or it is of the format (("defaultsentbox") ("full name " . "Work/sentbox") ("full name2 " . "Work2/sentbox")) The outbox name will be conca

<    1   2   3   >