notmuch webmails

2013-03-02 Thread John Lenz
On 2013-02-28 18:41:08 UTC, Mark Anderson  wrote: 
> John,
> 
> Where should I look to figure out how to resolve these dependencies?
> 

On a fresh install from scratch today I got the same problem, and was able to 
resolve it by first installing yesod-platform and then after that the few 
additional dependencies.  I can't wait until stackage 
(http://www.yesodweb.com/blog/2012/11/solving-cabal-hell) is functional, 
hackage can be great for weeks and then on some random day have dependency 
problems.  Looks like the github project is active 
https://github.com/fpco/stackage so hopefully it will be soon.  In any case, I 
don't think the "--only-dependencies" flag works very well, so "cabal install 
yesod-platform" lets cabal figure out better what to install.

How I got it to work is

rm -r ~/.ghc ~/.cabal
cabal update
cabal install yesod-platform
cd path/to/notmuch-web
cabal install --only-dependencies
yesod devel

As a side note, I plan on creating some binaries and marking the first release 
later today.  Also, if I put it on hackage it should be "cabal install 
notmuch-web", and then cabal seems to be better at figuring out what to do.

John


Re: notmuch webmails

2013-03-02 Thread John Lenz
On 2013-02-28 18:41:08 UTC, Mark Anderson  wrote: 
> John,
> 
> Where should I look to figure out how to resolve these dependencies?
> 

On a fresh install from scratch today I got the same problem, and was able to 
resolve it by first installing yesod-platform and then after that the few 
additional dependencies.  I can't wait until stackage 
(http://www.yesodweb.com/blog/2012/11/solving-cabal-hell) is functional, 
hackage can be great for weeks and then on some random day have dependency 
problems.  Looks like the github project is active 
https://github.com/fpco/stackage so hopefully it will be soon.  In any case, I 
don't think the "--only-dependencies" flag works very well, so "cabal install 
yesod-platform" lets cabal figure out better what to install.

How I got it to work is

rm -r ~/.ghc ~/.cabal
cabal update
cabal install yesod-platform
cd path/to/notmuch-web
cabal install --only-dependencies
yesod devel

As a side note, I plan on creating some binaries and marking the first release 
later today.  Also, if I put it on hackage it should be "cabal install 
notmuch-web", and then cabal seems to be better at figuring out what to do.

John
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


notmuch webmails

2013-02-19 Thread John Lenz
On 2013-02-19 15:50:05 UTC, Nicolas Pouillard  
wrote: 
> Quoting David Bremner (2013-02-17 14:19:55)
> > Nicolas Pouillard  writes:
> > 
> > > Quoting John Lenz (2013-02-16 19:07:47)
> > 
> > >> Hi, I am working on one as well, but am further along.  I am starting
> > >> to use it as my main interface.  I have table view of messages, a
> > >> pager view, tagging and retagging, compose, compose with attachments,
> > >> etc.  Combined with the "Its All Text" firefox plugin, it works
> > >> pretty well.  I was planning on announcing in a week or so, but here
> > >> is the code since this thread showed up.  I will work on some
> > >> instructions on how to set it up soon, plus a little cleanup.
> > >> 
> > >> https://bitbucket.org/wuzzeb/notmuch-web/src
> > >
> > > Wow in Haskell! I'm looking forward to try/use it.
> > 
> > Interesting. I see you are calling out to the CLI.  Ben Gamari (in CC)
> > was working on some Haskell bindings; I'm not sure how far he got. I
> > think there were some conflicts between the memory models of talloc and
> > Haskell.
> 
> Calling the CLI has been of a direct use for me to run the webapp on a
> different machine by simply having notmuch as a script using ssh.
> 

Yes, parsing the JSON from the CLI is pretty easy so I don't see much benefit
to using a direct binding.

The only main issue I am still trying to work out is how to deal with flowed
messages.  I think for viewing, if there is a html alternative, I will use
xss-sanatize (http://hackage.haskell.org/package/xss-sanitize) with perhaps
some additional filtering for images and such.  The problem is format=flowed
messages: the JSON from the CLI does not have the format=flowed header
anywhere in the JSON.  The message body still has spaces at the end of flowed
lines, so if we knew that the message was flowed we could parse the spaces
in haskell.  Alternatively, I have been considering enhancing notmuch itself
to parse the flowed text into paragraphs and stick it into the JSON.  For
compose, I just need to enhance the mime-mail package to send flowed
text, but will have to figure out how to round-trip the reply text through
the textbox.


Re: notmuch webmails

2013-02-19 Thread John Lenz
On 2013-02-19 15:50:05 UTC, Nicolas Pouillard  wrote: 
> Quoting David Bremner (2013-02-17 14:19:55)
> > Nicolas Pouillard  writes:
> > 
> > > Quoting John Lenz (2013-02-16 19:07:47)
> > 
> > >> Hi, I am working on one as well, but am further along.  I am starting
> > >> to use it as my main interface.  I have table view of messages, a
> > >> pager view, tagging and retagging, compose, compose with attachments,
> > >> etc.  Combined with the "Its All Text" firefox plugin, it works
> > >> pretty well.  I was planning on announcing in a week or so, but here
> > >> is the code since this thread showed up.  I will work on some
> > >> instructions on how to set it up soon, plus a little cleanup.
> > >> 
> > >> https://bitbucket.org/wuzzeb/notmuch-web/src
> > >
> > > Wow in Haskell! I'm looking forward to try/use it.
> > 
> > Interesting. I see you are calling out to the CLI.  Ben Gamari (in CC)
> > was working on some Haskell bindings; I'm not sure how far he got. I
> > think there were some conflicts between the memory models of talloc and
> > Haskell.
> 
> Calling the CLI has been of a direct use for me to run the webapp on a
> different machine by simply having notmuch as a script using ssh.
> 

Yes, parsing the JSON from the CLI is pretty easy so I don't see much benefit
to using a direct binding.

The only main issue I am still trying to work out is how to deal with flowed
messages.  I think for viewing, if there is a html alternative, I will use
xss-sanatize (http://hackage.haskell.org/package/xss-sanitize) with perhaps
some additional filtering for images and such.  The problem is format=flowed
messages: the JSON from the CLI does not have the format=flowed header
anywhere in the JSON.  The message body still has spaces at the end of flowed
lines, so if we knew that the message was flowed we could parse the spaces
in haskell.  Alternatively, I have been considering enhancing notmuch itself
to parse the flowed text into paragraphs and stick it into the JSON.  For
compose, I just need to enhance the mime-mail package to send flowed
text, but will have to figure out how to round-trip the reply text through
the textbox.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


notmuch webmails

2013-02-19 Thread Nicolas Pouillard
Quoting David Bremner (2013-02-17 14:19:55)
> Nicolas Pouillard  writes:
> 
> > Quoting John Lenz (2013-02-16 19:07:47)
> 
> >> Hi, I am working on one as well, but am further along.  I am starting
> >> to use it as my main interface.  I have table view of messages, a
> >> pager view, tagging and retagging, compose, compose with attachments,
> >> etc.  Combined with the "Its All Text" firefox plugin, it works
> >> pretty well.  I was planning on announcing in a week or so, but here
> >> is the code since this thread showed up.  I will work on some
> >> instructions on how to set it up soon, plus a little cleanup.
> >> 
> >> https://bitbucket.org/wuzzeb/notmuch-web/src
> >
> > Wow in Haskell! I'm looking forward to try/use it.
> 
> Interesting. I see you are calling out to the CLI.  Ben Gamari (in CC)
> was working on some Haskell bindings; I'm not sure how far he got. I
> think there were some conflicts between the memory models of talloc and
> Haskell.

Calling the CLI has been of a direct use for me to run the webapp on a
different machine by simply having notmuch as a script using ssh.


Re: notmuch webmails

2013-02-19 Thread Nicolas Pouillard
Quoting David Bremner (2013-02-17 14:19:55)
> Nicolas Pouillard  writes:
> 
> > Quoting John Lenz (2013-02-16 19:07:47)
> 
> >> Hi, I am working on one as well, but am further along.  I am starting
> >> to use it as my main interface.  I have table view of messages, a
> >> pager view, tagging and retagging, compose, compose with attachments,
> >> etc.  Combined with the "Its All Text" firefox plugin, it works
> >> pretty well.  I was planning on announcing in a week or so, but here
> >> is the code since this thread showed up.  I will work on some
> >> instructions on how to set it up soon, plus a little cleanup.
> >> 
> >> https://bitbucket.org/wuzzeb/notmuch-web/src
> >
> > Wow in Haskell! I'm looking forward to try/use it.
> 
> Interesting. I see you are calling out to the CLI.  Ben Gamari (in CC)
> was working on some Haskell bindings; I'm not sure how far he got. I
> think there were some conflicts between the memory models of talloc and
> Haskell.

Calling the CLI has been of a direct use for me to run the webapp on a
different machine by simply having notmuch as a script using ssh.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


notmuch webmails

2013-02-17 Thread David Bremner
Nicolas Pouillard  writes:

> Quoting John Lenz (2013-02-16 19:07:47)

>> Hi, I am working on one as well, but am further along.  I am starting
>> to use it as my main interface.  I have table view of messages, a
>> pager view, tagging and retagging, compose, compose with attachments,
>> etc.  Combined with the "Its All Text" firefox plugin, it works
>> pretty well.  I was planning on announcing in a week or so, but here
>> is the code since this thread showed up.  I will work on some
>> instructions on how to set it up soon, plus a little cleanup.
>> 
>> https://bitbucket.org/wuzzeb/notmuch-web/src
>
> Wow in Haskell! I'm looking forward to try/use it.

Interesting. I see you are calling out to the CLI.  Ben Gamari (in CC)
was working on some Haskell bindings; I'm not sure how far he got. I
think there were some conflicts between the memory models of talloc and
Haskell.

d


Re: notmuch webmails

2013-02-17 Thread David Bremner
Nicolas Pouillard  writes:

> Quoting John Lenz (2013-02-16 19:07:47)

>> Hi, I am working on one as well, but am further along.  I am starting
>> to use it as my main interface.  I have table view of messages, a
>> pager view, tagging and retagging, compose, compose with attachments,
>> etc.  Combined with the "Its All Text" firefox plugin, it works
>> pretty well.  I was planning on announcing in a week or so, but here
>> is the code since this thread showed up.  I will work on some
>> instructions on how to set it up soon, plus a little cleanup.
>> 
>> https://bitbucket.org/wuzzeb/notmuch-web/src
>
> Wow in Haskell! I'm looking forward to try/use it.

Interesting. I see you are calling out to the CLI.  Ben Gamari (in CC)
was working on some Haskell bindings; I'm not sure how far he got. I
think there were some conflicts between the memory models of talloc and
Haskell.

d
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


notmuch webmails

2013-02-16 Thread Nicolas Pouillard
Quoting John Lenz (2013-02-16 19:07:47)
> On 2013-02-15 01:14:32 UTC, Nicol??s Reynolds  wrote: 
> > Ruben Pollan  writes:
> > 
> > > As a way to learn javascript I'm experimenting with the idea of a
> > > notmuch based webmail. You can see the dummy demo I did at:
> > > https://gitorious.org/notwebmail It's far from a proper webmail, you
> > > can only search and see your email but not write or modify tags.
> > >
> > > Yesterday on the irc Beamer told me someone was also working on a
> > > webmail. Is someone in the list hacking on that?
> > 
> > hey, i started something on django a while ago and got it to your
> > current status but i lost my interest in python :P
> > 
> > https://github.com/fauno/notmuchwebmail
> 
> Hi, I am working on one as well, but am further along.  I am starting to use 
> it as my main interface.  I have table view of messages, a pager view, 
> tagging and retagging, compose, compose with attachments, etc.  Combined with 
> the "Its All Text" firefox plugin, it works pretty well.  I was planning on 
> announcing in a week or so, but here is the code since this thread showed up. 
>  I will work on some instructions on how to set it up soon, plus a little 
> cleanup.
> 
> https://bitbucket.org/wuzzeb/notmuch-web/src

Wow in Haskell! I'm looking forward to try/use it.


notmuch webmails

2013-02-16 Thread John Lenz
On 2013-02-15 01:14:32 UTC, Nicol??s Reynolds  wrote: 
> Ruben Pollan  writes:
> 
> > As a way to learn javascript I'm experimenting with the idea of a
> > notmuch based webmail. You can see the dummy demo I did at:
> > https://gitorious.org/notwebmail It's far from a proper webmail, you
> > can only search and see your email but not write or modify tags.
> >
> > Yesterday on the irc Beamer told me someone was also working on a
> > webmail. Is someone in the list hacking on that?
> 
> hey, i started something on django a while ago and got it to your
> current status but i lost my interest in python :P
> 
> https://github.com/fauno/notmuchwebmail

Hi, I am working on one as well, but am further along.  I am starting to use it 
as my main interface.  I have table view of messages, a pager view, tagging and 
retagging, compose, compose with attachments, etc.  Combined with the "Its All 
Text" firefox plugin, it works pretty well.  I was planning on announcing in a 
week or so, but here is the code since this thread showed up.  I will work on 
some instructions on how to set it up soon, plus a little cleanup.

https://bitbucket.org/wuzzeb/notmuch-web/src



Re: notmuch webmails

2013-02-16 Thread Nicolas Pouillard
Quoting John Lenz (2013-02-16 19:07:47)
> On 2013-02-15 01:14:32 UTC, Nicol��s Reynolds  wrote: 
> > Ruben Pollan  writes:
> > 
> > > As a way to learn javascript I'm experimenting with the idea of a
> > > notmuch based webmail. You can see the dummy demo I did at:
> > > https://gitorious.org/notwebmail It's far from a proper webmail, you
> > > can only search and see your email but not write or modify tags.
> > >
> > > Yesterday on the irc Beamer told me someone was also working on a
> > > webmail. Is someone in the list hacking on that?
> > 
> > hey, i started something on django a while ago and got it to your
> > current status but i lost my interest in python :P
> > 
> > https://github.com/fauno/notmuchwebmail
> 
> Hi, I am working on one as well, but am further along.  I am starting to use 
> it as my main interface.  I have table view of messages, a pager view, 
> tagging and retagging, compose, compose with attachments, etc.  Combined with 
> the "Its All Text" firefox plugin, it works pretty well.  I was planning on 
> announcing in a week or so, but here is the code since this thread showed up. 
>  I will work on some instructions on how to set it up soon, plus a little 
> cleanup.
> 
> https://bitbucket.org/wuzzeb/notmuch-web/src

Wow in Haskell! I'm looking forward to try/use it.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: notmuch webmails

2013-02-16 Thread John Lenz
On 2013-02-15 01:14:32 UTC, Nicolás Reynolds  wrote: 
> Ruben Pollan  writes:
>
> > As a way to learn javascript I'm experimenting with the idea of a
> > notmuch based webmail. You can see the dummy demo I did at:
> > https://gitorious.org/notwebmail It's far from a proper webmail, you
> > can only search and see your email but not write or modify tags.
> >
> > Yesterday on the irc Beamer told me someone was also working on a
> > webmail. Is someone in the list hacking on that?
>
> hey, i started something on django a while ago and got it to your
> current status but i lost my interest in python :P
>
> https://github.com/fauno/notmuchwebmail

Hi, I am working on one as well, but am further along.  I am starting to use it 
as my main interface.  I have table view of messages, a pager view, tagging and 
retagging, compose, compose with attachments, etc.  Combined with the "Its All 
Text" firefox plugin, it works pretty well.  I was planning on announcing in a 
week or so, but here is the code since this thread showed up.  I will work on 
some instructions on how to set it up soon, plus a little cleanup.

https://bitbucket.org/wuzzeb/notmuch-web/src

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


notmuch webmails

2013-02-14 Thread David Bremner
Nicol?s Reynolds  writes:

> Ruben Pollan  writes:
>
>> As a way to learn javascript I'm experimenting with the idea of a
>> notmuch based webmail. You can see the dummy demo I did at:
>> https://gitorious.org/notwebmail It's far from a proper webmail, you
>> can only search and see your email but not write or modify tags.
>>
>> Yesterday on the irc Beamer told me someone was also working on a
>> webmail. Is someone in the list hacking on that?
>
> hey, i started something on django a while ago and got it to your
> current status but i lost my interest in python :P
>
> https://github.com/fauno/notmuchwebmail

Another, seamingly dormant, project was pointed out to me by "atrus" on
IRC;

https://github.com/dme/noneatall

It seems to be a python wrapper around the notmuch CLI

d


notmuch webmails

2013-02-14 Thread Nicolás Reynolds
Ruben Pollan  writes:

> As a way to learn javascript I'm experimenting with the idea of a
> notmuch based webmail. You can see the dummy demo I did at:
> https://gitorious.org/notwebmail It's far from a proper webmail, you
> can only search and see your email but not write or modify tags.
>
> Yesterday on the irc Beamer told me someone was also working on a
> webmail. Is someone in the list hacking on that?

hey, i started something on django a while ago and got it to your
current status but i lost my interest in python :P

https://github.com/fauno/notmuchwebmail
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: 



notmuch webmails

2013-02-14 Thread Ruben Pollan
As a way to learn javascript I'm experimenting with the idea of a notmuch based 
webmail. You can see the dummy demo I did at:
https://gitorious.org/notwebmail
It's far from a proper webmail, you can only search and see your email but not 
write or modify tags.

Yesterday on the irc Beamer told me someone was also working on a webmail. Is 
someone in the list hacking on that?

Cheers,

-- 
Rub?n Poll?n  | http://meskio.net/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Nos vamos a Croatan.


Re: notmuch webmails

2013-02-14 Thread David Bremner
Nicolás Reynolds  writes:

> Ruben Pollan  writes:
>
>> As a way to learn javascript I'm experimenting with the idea of a
>> notmuch based webmail. You can see the dummy demo I did at:
>> https://gitorious.org/notwebmail It's far from a proper webmail, you
>> can only search and see your email but not write or modify tags.
>>
>> Yesterday on the irc Beamer told me someone was also working on a
>> webmail. Is someone in the list hacking on that?
>
> hey, i started something on django a while ago and got it to your
> current status but i lost my interest in python :P
>
> https://github.com/fauno/notmuchwebmail

Another, seamingly dormant, project was pointed out to me by "atrus" on
IRC;

https://github.com/dme/noneatall

It seems to be a python wrapper around the notmuch CLI

d
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: notmuch webmails

2013-02-14 Thread Nicolás Reynolds
Ruben Pollan  writes:

> As a way to learn javascript I'm experimenting with the idea of a
> notmuch based webmail. You can see the dummy demo I did at:
> https://gitorious.org/notwebmail It's far from a proper webmail, you
> can only search and see your email but not write or modify tags.
>
> Yesterday on the irc Beamer told me someone was also working on a
> webmail. Is someone in the list hacking on that?

hey, i started something on django a while ago and got it to your
current status but i lost my interest in python :P

https://github.com/fauno/notmuchwebmail


pgpXpmUud_S7a.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


notmuch webmails

2013-02-14 Thread Ruben Pollan
As a way to learn javascript I'm experimenting with the idea of a notmuch based 
webmail. You can see the dummy demo I did at:
https://gitorious.org/notwebmail
It's far from a proper webmail, you can only search and see your email but not 
write or modify tags.

Yesterday on the irc Beamer told me someone was also working on a webmail. Is 
someone in the list hacking on that?

Cheers,

-- 
Rubén Pollán  | http://meskio.net/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Nos vamos a Croatan.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch