[notmuch] JSON based emacs UI

2010-03-29 Thread Sebastian Spaeth
On Mon, 29 Mar 2010 10:17:01 +0100, David Edmondson wrote: > > I fear this is not correct. I cloned notmuch from Carl's git repository, > > and whenever I press 'RET' while the point is over the subject line, the > > result is the same as pressing 'h': the subject information gets toggled. > >

[notmuch] JSON based emacs UI

2010-03-29 Thread Aneesh Kumar K. V
On Mon, 29 Mar 2010 10:17:01 +0100, David Edmondson wrote: > On Sun, 28 Mar 2010 14:03:44 -0300, Fernando Carrijo yahoo.com.br> wrote: > > David Edmondson wrote: > > > 'RET' anywhere in the message is supposed to toggle visibility of the > > > message. That was not working perfectly - a little

[notmuch] JSON based emacs UI

2010-03-29 Thread Fernando Carrijo
David Edmondson wrote: > On Sun, 28 Mar 2010 14:03:44 -0300, Fernando Carrijo yahoo.com.br> wrote: > > David Edmondson wrote: > > > 'RET' anywhere in the message is supposed to toggle visibility of the > > > message. That was not working perfectly - a little forced redisplay > > > helped (just

[notmuch] JSON based emacs UI

2010-03-29 Thread Michal Sojka
On Mon, 29 Mar 2010, Sebastian Spaeth wrote: > On Sun, 28 Mar 2010 07:46:40 +0200, Michal Sojka > wrote: > > I don't think this can be solved only in Makefile. From my look at dme's > > repo, he adds a new subcomand 'part', which is used by the UI. So if you > > want to use the new UI and your

[notmuch] JSON based emacs UI

2010-03-29 Thread David Edmondson
On Sun, 28 Mar 2010 03:41:32 +0200, "Sebastian Spaeth" wrote: > It works really nice and I get the (unmeasured) feeling that it is > faster too (but then it might just be the lack of my additional patches > which slow things down :-)). I'm not sure why it would be faster. If you have a long

[notmuch] JSON based emacs UI

2010-03-29 Thread David Edmondson
On Sun, 28 Mar 2010 14:03:44 -0300, Fernando Carrijo wrote: > David Edmondson wrote: > > 'RET' anywhere in the message is supposed to toggle visibility of the > > message. That was not working perfectly - a little forced redisplay > > helped (just pushed). > > > > Toggling the visibility of

[notmuch] JSON based emacs UI

2010-03-29 Thread Sebastian Spaeth
On Sun, 28 Mar 2010 07:46:40 +0200, Michal Sojka wrote: > I don't think this can be solved only in Makefile. From my look at dme's > repo, he adds a new subcomand 'part', which is used by the UI. So if you > want to use the new UI and your other features, you need to merge the > things together.

Re: [notmuch] JSON based emacs UI

2010-03-29 Thread Michal Sojka
On Mon, 29 Mar 2010, Sebastian Spaeth wrote: On Sun, 28 Mar 2010 07:46:40 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: I don't think this can be solved only in Makefile. From my look at dme's repo, he adds a new subcomand 'part', which is used by the UI. So if you want to use the new UI

Re: [notmuch] JSON based emacs UI

2010-03-29 Thread David Edmondson
On Sun, 28 Mar 2010 14:03:44 -0300, Fernando Carrijo fcarr...@yahoo.com.br wrote: David Edmondson d...@dme.org wrote: 'RET' anywhere in the message is supposed to toggle visibility of the message. That was not working perfectly - a little forced redisplay helped (just pushed).

Re: [notmuch] JSON based emacs UI

2010-03-29 Thread Aneesh Kumar K. V
On Mon, 29 Mar 2010 10:17:01 +0100, David Edmondson d...@dme.org wrote: On Sun, 28 Mar 2010 14:03:44 -0300, Fernando Carrijo fcarr...@yahoo.com.br wrote: David Edmondson d...@dme.org wrote: 'RET' anywhere in the message is supposed to toggle visibility of the message. That was not

Re: [notmuch] JSON based emacs UI

2010-03-29 Thread Sebastian Spaeth
On Mon, 29 Mar 2010 10:17:01 +0100, David Edmondson d...@dme.org wrote: I fear this is not correct. I cloned notmuch from Carl's git repository, and whenever I press 'RET' while the point is over the subject line, the result is the same as pressing 'h': the subject information gets toggled.

[notmuch] JSON based emacs UI

2010-03-28 Thread Fernando Carrijo
Fernando Carrijo wrote: > David Edmondson wrote: > > 'RET' anywhere in the message is supposed to toggle visibility of the > > message. That was not working perfectly - a little forced redisplay > > helped (just pushed). > > > > Toggling the visibility of headers is done with 'h'. There's

[notmuch] JSON based emacs UI

2010-03-28 Thread Fernando Carrijo
David Edmondson wrote: > 'RET' anywhere in the message is supposed to toggle visibility of the > message. That was not working perfectly - a little forced redisplay > helped (just pushed). > > Toggling the visibility of headers is done with 'h'. There's currently > no way to do that by pressing

[notmuch] JSON based emacs UI

2010-03-28 Thread Michal Sojka
On Sun, 28 Mar 2010, Sebastian Spaeth wrote: > On Mon, 22 Mar 2010 14:47:39 +, David Edmondson wrote: > > I'm pushed the first stage of a JSON based emacs UI to the repository at > > http://github.com/dme/notmuch (it's in the "master" branch). > > Despite the switch to daylight savings time

[notmuch] JSON based emacs UI

2010-03-28 Thread Sebastian Spaeth
On Mon, 22 Mar 2010 14:47:39 +, David Edmondson wrote: > I'm pushed the first stage of a JSON based emacs UI to the repository at > http://github.com/dme/notmuch (it's in the "master" branch). Despite the switch to daylight savings time stealing me an hour of this night, I managed to test

Re: [notmuch] JSON based emacs UI

2010-03-28 Thread Fernando Carrijo
David Edmondson d...@dme.org wrote: 'RET' anywhere in the message is supposed to toggle visibility of the message. That was not working perfectly - a little forced redisplay helped (just pushed). Toggling the visibility of headers is done with 'h'. There's currently no way to do that by

Re: [notmuch] JSON based emacs UI

2010-03-28 Thread Fernando Carrijo
Fernando Carrijo fcarr...@yahoo.com.br wrote: David Edmondson d...@dme.org wrote: 'RET' anywhere in the message is supposed to toggle visibility of the message. That was not working perfectly - a little forced redisplay helped (just pushed). Toggling the visibility of headers is done

Re: [notmuch] JSON based emacs UI

2010-03-27 Thread Michal Sojka
On Sun, 28 Mar 2010, Sebastian Spaeth wrote: On Mon, 22 Mar 2010 14:47:39 +, David Edmondson d...@dme.org wrote: I'm pushed the first stage of a JSON based emacs UI to the repository at http://github.com/dme/notmuch (it's in the master branch). Despite the switch to daylight savings

[notmuch] JSON based emacs UI

2010-03-26 Thread Aneesh Kumar K. V
On Mon, 22 Mar 2010 14:47:39 +, David Edmondson wrote: I found another issue. In the notmuch-show-mode "RET" key on from and subject doesn't seem to work. For ex: for the last message "RET" key on from doesn't fold the message. For all the message "RET" key on subject doesn't show the

[notmuch] JSON based emacs UI

2010-03-26 Thread David Edmondson
On Fri, 26 Mar 2010 20:21:46 +0530, "Aneesh Kumar K. V" wrote: > On Mon, 22 Mar 2010 14:47:39 +, David Edmondson wrote: > > I found another issue. In the notmuch-show-mode "RET" key on from and > subject doesn't seem to work. > > For ex: for the last message "RET" key on from doesn't fold

[notmuch] JSON based emacs UI

2010-03-26 Thread David Edmondson
On Fri, 26 Mar 2010 05:07:49 -0400, Jesse Rosenthal wrote: > There's a complaint when I open a (multipart?) message: > > invalid function: mm-make-handle > > Adding "(require 'mm-decode)" to notmuch-show.el fixes this problem. Sorry about that. The repository is updated accordingly. dme. --

[notmuch] JSON based emacs UI

2010-03-26 Thread Aneesh Kumar K. V
On Thu, 25 Mar 2010 09:14:09 +, David Edmondson wrote: > On Thu, 25 Mar 2010 10:11:38 +0530, "Aneesh Kumar K. V" linux.vnet.ibm.com> wrote: > > Is there a way to get the inline patches shown similar to > > diff-mode not just the attached patches ? > > A new hook function for text/plain

[notmuch] JSON based emacs UI

2010-03-26 Thread David Edmondson
On Fri, 26 Mar 2010 10:16:12 +0530, "Aneesh Kumar K. V" wrote: > That worked. Thanks. BTW is there a way to get '=' to reload the thread > details. Something similar to notmuch-search-refresh-view. for the show > window. I'll look at adding it. > That would make sure i can get the tag updated

[notmuch] JSON based emacs UI

2010-03-26 Thread Jesse Rosenthal
Hi David, Thanks for this -- it really looks great so far. > As always, feedback (especially if something breaks) appreciated. There's a complaint when I open a (multipart?) message: invalid function: mm-make-handle Adding "(require 'mm-decode)" to notmuch-show.el fixes this problem. Best,

Re: [notmuch] JSON based emacs UI

2010-03-26 Thread David Edmondson
On Fri, 26 Mar 2010 10:16:12 +0530, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: That worked. Thanks. BTW is there a way to get '=' to reload the thread details. Something similar to notmuch-search-refresh-view. for the show window. I'll look at adding it. That would make sure i

Re: [notmuch] JSON based emacs UI

2010-03-26 Thread Jesse Rosenthal
Hi David, Thanks for this -- it really looks great so far. As always, feedback (especially if something breaks) appreciated. There's a complaint when I open a (multipart?) message: invalid function: mm-make-handle Adding (require 'mm-decode) to notmuch-show.el fixes this problem. Best,

Re: [notmuch] JSON based emacs UI

2010-03-26 Thread David Edmondson
On Fri, 26 Mar 2010 05:07:49 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: There's a complaint when I open a (multipart?) message: invalid function: mm-make-handle Adding (require 'mm-decode) to notmuch-show.el fixes this problem. Sorry about that. The repository is updated accordingly.

Re: [notmuch] JSON based emacs UI

2010-03-26 Thread Aneesh Kumar K. V
On Mon, 22 Mar 2010 14:47:39 +, David Edmondson d...@dme.org wrote: I found another issue. In the notmuch-show-mode RET key on from and subject doesn't seem to work. For ex: for the last message RET key on from doesn't fold the message. For all the message RET key on subject doesn't show the

Re: [notmuch] JSON based emacs UI

2010-03-26 Thread David Edmondson
On Fri, 26 Mar 2010 20:21:46 +0530, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Mon, 22 Mar 2010 14:47:39 +, David Edmondson d...@dme.org wrote: I found another issue. In the notmuch-show-mode RET key on from and subject doesn't seem to work. For ex: for the last

[notmuch] JSON based emacs UI

2010-03-25 Thread Aneesh Kumar K. V
On Wed, 24 Mar 2010 07:32:41 +, David Edmondson wrote: > On Mon, 22 Mar 2010 14:47:39 +, David Edmondson wrote: > > I've pushed the first stage of a JSON based emacs UI to the repository > > at http://github.com/dme/notmuch (it's in the "master" branch). > > > > This is intended to be

[notmuch] JSON based emacs UI

2010-03-25 Thread David Edmondson
On Thu, 25 Mar 2010 10:11:38 +0530, "Aneesh Kumar K. V" wrote: > Is there a way to get the inline patches shown similar to > diff-mode not just the attached patches ? A new hook function for text/plain parts called `notmuch-wash-inline-patch' is added that attempts to do this by converting the

Re: [notmuch] JSON based emacs UI

2010-03-25 Thread David Edmondson
On Thu, 25 Mar 2010 10:11:38 +0530, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: Is there a way to get the inline patches shown similar to diff-mode not just the attached patches ? A new hook function for text/plain parts called `notmuch-wash-inline-patch' is added that attempts to

Re: [notmuch] JSON based emacs UI

2010-03-25 Thread Aneesh Kumar K. V
On Thu, 25 Mar 2010 09:14:09 +, David Edmondson d...@dme.org wrote: On Thu, 25 Mar 2010 10:11:38 +0530, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: Is there a way to get the inline patches shown similar to diff-mode not just the attached patches ? A new hook function for

[notmuch] JSON based emacs UI

2010-03-24 Thread David Edmondson
On Wed, 24 Mar 2010 07:32:41 +, David Edmondson wrote: > Image inlining doesn't work, even for simple image/jpeg attachments. I'm > still puzzling over this - the output from 'notmuch part' seems fine, > but the lisp code to generate the image and insert it at the right place > is broken.

[notmuch] JSON based emacs UI

2010-03-24 Thread David Edmondson
On Mon, 22 Mar 2010 14:47:39 +, David Edmondson wrote: > I've pushed the first stage of a JSON based emacs UI to the repository > at http://github.com/dme/notmuch (it's in the "master" branch). > > This is intended to be functionally equivalent to the current UI, though > HTML display is not

Re: [notmuch] JSON based emacs UI

2010-03-24 Thread David Edmondson
On Mon, 22 Mar 2010 14:47:39 +, David Edmondson d...@dme.org wrote: I've pushed the first stage of a JSON based emacs UI to the repository at http://github.com/dme/notmuch (it's in the master branch). This is intended to be functionally equivalent to the current UI, though HTML display

Re: [notmuch] JSON based emacs UI

2010-03-24 Thread Aneesh Kumar K. V
On Wed, 24 Mar 2010 07:32:41 +, David Edmondson d...@dme.org wrote: On Mon, 22 Mar 2010 14:47:39 +, David Edmondson d...@dme.org wrote: I've pushed the first stage of a JSON based emacs UI to the repository at http://github.com/dme/notmuch (it's in the master branch). This is

[notmuch] JSON based emacs UI

2010-03-22 Thread David Edmondson
On Mon, 22 Mar 2010 14:47:39 +, David Edmondson wrote: > This is lightly tested, but if anyone else wants to give it a try I > would be interested in feedback. There were a couple of places in the > current code where I wasn't completely sure of the intention, so I may > have inadvertently

[notmuch] JSON based emacs UI

2010-03-22 Thread David Edmondson
I'm pushed the first stage of a JSON based emacs UI to the repository at http://github.com/dme/notmuch (it's in the "master" branch). This is intended to be functionally equivalent to the current UI, though HTML display is not present (see below). This is lightly tested, but if anyone else wants

[notmuch] JSON based emacs UI

2010-03-22 Thread David Edmondson
I'm pushed the first stage of a JSON based emacs UI to the repository at http://github.com/dme/notmuch (it's in the master branch). This is intended to be functionally equivalent to the current UI, though HTML display is not present (see below). This is lightly tested, but if anyone else wants

Re: [notmuch] JSON based emacs UI

2010-03-22 Thread David Edmondson
On Mon, 22 Mar 2010 14:47:39 +, David Edmondson d...@dme.org wrote: This is lightly tested, but if anyone else wants to give it a try I would be interested in feedback. There were a couple of places in the current code where I wasn't completely sure of the intention, so I may have