[ANNOUNCE] notmuchfs - A virtual maildir file system for notmuch queries

2012-10-01 Thread Tim Stoakes
Vladimir Marek(Vladimir.Marek at Oracle.COM)@011012-11:40:
> > Why?

I know - proceed to the next paragraph for my explanation. Summary -
mutt-kz wasn't done when I did this.

Tim

-- 
Tim Stoakes


[ANNOUNCE] notmuchfs - A virtual maildir file system for notmuch queries

2012-10-01 Thread Vladimir Marek
> > > Why?
> 
> I know - proceed to the next paragraph for my explanation. Summary -
> mutt-kz wasn't done when I did this.

Uh, oh, overlooked that. Sorry for the noise
-- 
Vlad


[ANNOUNCE] notmuchfs - A virtual maildir file system for notmuch queries

2012-10-01 Thread Vladimir Marek
Hi,

[...]

> Why?
> 
> I wanted to use notmuch with mutt. I didn't feel that ploughing though mutt's
> codebase to add tight integration was the quickest way to a result, so
> notmuchfs was born.

Someone else already created mutt's fork using notmuch directly.

https://github.com/karelzak/mutt-kz/wiki

Just saying ...

-- 
Vlad


[ANNOUNCE] notmuchfs - A virtual maildir file system for notmuch queries

2012-10-01 Thread Felipe Contreras
On Mon, Oct 1, 2012 at 2:55 AM, David Bremner  wrote:
> Tim Stoakes  writes:
>
>> Hello fellow notmuch-ers,
>>
>> What is notmuchfs?
>> --
>> Notmuchfs implements a virtual file system which creates maildirs from 
>> notmuch
>> mail query results. This is useful for using notmuch with tools which are not
>> aware of notmuch, only maildirs - such as mutt.
>>
>> Basically you 'mkdir' your query strings, then point your tool of choice at
>> that directory, and it turns into a virtual maildir containing the query
>> results.
>>
>
> Well, since nobody else said it, let me be the first to say, that's a
> pretty cool hack!

I agree. Genius :)

-- 
Felipe Contreras


Re: [ANNOUNCE] notmuchfs - A virtual maildir file system for notmuch queries

2012-10-01 Thread Felipe Contreras
On Mon, Oct 1, 2012 at 2:55 AM, David Bremner da...@tethera.net wrote:
 Tim Stoakes notm...@stoakes.net writes:

 Hello fellow notmuch-ers,

 What is notmuchfs?
 --
 Notmuchfs implements a virtual file system which creates maildirs from 
 notmuch
 mail query results. This is useful for using notmuch with tools which are not
 aware of notmuch, only maildirs - such as mutt.

 Basically you 'mkdir' your query strings, then point your tool of choice at
 that directory, and it turns into a virtual maildir containing the query
 results.


 Well, since nobody else said it, let me be the first to say, that's a
 pretty cool hack!

I agree. Genius :)

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


Re: [ANNOUNCE] notmuchfs - A virtual maildir file system for notmuch queries

2012-10-01 Thread Vladimir Marek
Hi,

[...]

 Why?
 
 I wanted to use notmuch with mutt. I didn't feel that ploughing though mutt's
 codebase to add tight integration was the quickest way to a result, so
 notmuchfs was born.

Someone else already created mutt's fork using notmuch directly.

https://github.com/karelzak/mutt-kz/wiki

Just saying ...

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


Re: [ANNOUNCE] notmuchfs - A virtual maildir file system for notmuch queries

2012-10-01 Thread Tim Stoakes
Vladimir Marek(vladimir.ma...@oracle.com)@011012-11:40:
  Why?

I know - proceed to the next paragraph for my explanation. Summary -
mutt-kz wasn't done when I did this.

Tim

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


Re: [ANNOUNCE] notmuchfs - A virtual maildir file system for notmuch queries

2012-10-01 Thread Vladimir Marek
   Why?
 
 I know - proceed to the next paragraph for my explanation. Summary -
 mutt-kz wasn't done when I did this.

Uh, oh, overlooked that. Sorry for the noise
-- 
Vlad
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


[ANNOUNCE] notmuchfs - A virtual maildir file system for notmuch queries

2012-09-30 Thread David Bremner
Tim Stoakes  writes:

> Hello fellow notmuch-ers,
>
> What is notmuchfs?
> --
> Notmuchfs implements a virtual file system which creates maildirs from notmuch
> mail query results. This is useful for using notmuch with tools which are not
> aware of notmuch, only maildirs - such as mutt.
>
> Basically you 'mkdir' your query strings, then point your tool of choice at
> that directory, and it turns into a virtual maildir containing the query
> results.
>

Well, since nobody else said it, let me be the first to say, that's a
pretty cool hack!

All the best,

David


Re: [ANNOUNCE] notmuchfs - A virtual maildir file system for notmuch queries

2012-09-30 Thread David Bremner
Tim Stoakes notm...@stoakes.net writes:

 Hello fellow notmuch-ers,

 What is notmuchfs?
 --
 Notmuchfs implements a virtual file system which creates maildirs from notmuch
 mail query results. This is useful for using notmuch with tools which are not
 aware of notmuch, only maildirs - such as mutt.

 Basically you 'mkdir' your query strings, then point your tool of choice at
 that directory, and it turns into a virtual maildir containing the query
 results.


Well, since nobody else said it, let me be the first to say, that's a
pretty cool hack!

All the best,

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


[ANNOUNCE] notmuchfs - A virtual maildir file system for notmuch queries

2012-09-29 Thread Tim Stoakes
Hello fellow notmuch-ers,

What is notmuchfs?
--
Notmuchfs implements a virtual file system which creates maildirs from notmuch
mail query results. This is useful for using notmuch with tools which are not
aware of notmuch, only maildirs - such as mutt.

Basically you 'mkdir' your query strings, then point your tool of choice at
that directory, and it turns into a virtual maildir containing the query
results.


How does it work?
-
A notmuchfs virtual file system is mounted referencing a particular existing
(real) directory called the 'backing store'.

Directories created within the backing store, when read, appear to have the
standard maildir format (e.g. cur/, new/, tmp/ sub-directories).

Notmuchfs interprets the names of these backing store directories as notmuch
queries, and fills the cur/ virtual maildir sub-directory with virtual messages
which are the result of executing that query (at the instant in time that the
directory is read).

Each virtual maildir message file, when read, appears to have the exact content
of the message referenced by the notmuch query, augmented with an 'X-Label'
header generated automatically by notmuchfs, containing the notmuch tags of
that message.


Additional 'glue' scripts are provided to augment this, to integrate it more
tightly with MUA-like tools, specifically 'mutt', giving the ability to alter
notmuch tags, create new queries, etc.



Why?

I wanted to use notmuch with mutt. I didn't feel that ploughing though mutt's
codebase to add tight integration was the quickest way to a result, so
notmuchfs was born.

I developed notmuchfs in 2011, but I am only now able to release it. In the
mean-time, the excellent 'mutt-kz' was released, scratching my initial itch.

Notmuchfs solves a broader problem - e.g. a notmuch-aware courier-imap is not
too much of a stretch - so I think there is room for the different approaches.


More information

 https://github.com/tsto/notmuchfs
 https://github.com/tsto/notmuchfs/blob/master/README.md
 https://github.com/tsto/notmuchfs/blob/master/README.MUTT.md
 https://github.com/tsto/notmuchfs/blob/master/ISSUES



Perhaps this will scratch someone else's itch too.

Tim

-- 
Tim Stoakes


[ANNOUNCE] notmuchfs - A virtual maildir file system for notmuch queries

2012-09-29 Thread Tim Stoakes
Hello fellow notmuch-ers,

What is notmuchfs?
--
Notmuchfs implements a virtual file system which creates maildirs from notmuch
mail query results. This is useful for using notmuch with tools which are not
aware of notmuch, only maildirs - such as mutt.

Basically you 'mkdir' your query strings, then point your tool of choice at
that directory, and it turns into a virtual maildir containing the query
results.


How does it work?
-
A notmuchfs virtual file system is mounted referencing a particular existing
(real) directory called the 'backing store'.

Directories created within the backing store, when read, appear to have the
standard maildir format (e.g. cur/, new/, tmp/ sub-directories).

Notmuchfs interprets the names of these backing store directories as notmuch
queries, and fills the cur/ virtual maildir sub-directory with virtual messages
which are the result of executing that query (at the instant in time that the
directory is read).

Each virtual maildir message file, when read, appears to have the exact content
of the message referenced by the notmuch query, augmented with an 'X-Label'
header generated automatically by notmuchfs, containing the notmuch tags of
that message.


Additional 'glue' scripts are provided to augment this, to integrate it more
tightly with MUA-like tools, specifically 'mutt', giving the ability to alter
notmuch tags, create new queries, etc.



Why?

I wanted to use notmuch with mutt. I didn't feel that ploughing though mutt's
codebase to add tight integration was the quickest way to a result, so
notmuchfs was born.

I developed notmuchfs in 2011, but I am only now able to release it. In the
mean-time, the excellent 'mutt-kz' was released, scratching my initial itch.

Notmuchfs solves a broader problem - e.g. a notmuch-aware courier-imap is not
too much of a stretch - so I think there is room for the different approaches.


More information

 https://github.com/tsto/notmuchfs
 https://github.com/tsto/notmuchfs/blob/master/README.md
 https://github.com/tsto/notmuchfs/blob/master/README.MUTT.md
 https://github.com/tsto/notmuchfs/blob/master/ISSUES



Perhaps this will scratch someone else's itch too.

Tim

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