Re: maildir file extensions

2013-04-17 Thread Armin Wolfermann
* Tim Gray [16.04.2013 19:01]: > How difficult would this be to implement? I know this is an open > source project, and if I want a feature, I should implement it > myself. I'll be honest with you, I don't really know C and mutt is > a pretty mature project; it's a bit intimidating to jump into.

Re: maildir file extensions

2013-04-16 Thread Tim Gray
On Apr 16, 2013 at 06:01 PM -0700, Will Yardley wrote: You're not, but obviously such a patch should never be implemented in mutt itself. I wasn't suggesting it should be.

Re: maildir file extensions

2013-04-16 Thread Will Yardley
On Tue, Apr 16, 2013 at 08:47:46PM -0400, Tim Gray wrote: > On Apr 16, 2013 at 05:24 PM -0700, Gary Johnson wrote: > >When the maildir format was created, it was decided to put a lot of > >information in the file name to avoid having to open each file to > >obtain or change that information. The f

Re: maildir file extensions

2013-04-16 Thread Tim Gray
On Apr 16, 2013 at 05:24 PM -0700, Gary Johnson wrote: When the maildir format was created, it was decided to put a lot of information in the file name to avoid having to open each file to obtain or change that information. The format of the name was standardized (to a point) so that any MUA cla

Re: maildir file extensions

2013-04-16 Thread Gary Johnson
On 2013-04-16, Tim Gray wrote: > On Apr 16, 2013 at 03:23 PM -0700, Gary Johnson wrote: > >Charles wrote that changing the file extension avoids having to > >rewrite a _file_, not a file _name_. > > Understood. My point is that I don't see how having an extra four > characters at the end of the f

Re: maildir file extensions

2013-04-16 Thread Tim Gray
On Apr 16, 2013 at 03:23 PM -0700, Gary Johnson wrote: Charles wrote that changing the file extension avoids having to rewrite a _file_, not a file _name_. Understood. My point is that I don't see how having an extra four characters at the end of the file name changes that. You still only h

Re: maildir file extensions

2013-04-16 Thread Gary Johnson
On 2013-04-16, Tim Gray wrote: > On Apr 16, 2013 at 01:44 PM -0600, Charles Cazabon wrote: > >Not difficult. The trouble is that it violates the maildir specification; > >message filenames have a defined format, and ending with ".eml" breaks that > >format, which as you noticed, is used for storin

Re: maildir file extensions

2013-04-16 Thread Tim Gray
On Apr 16, 2013 at 02:17 PM -0600, Kyle Wheeler wrote: You can do the following: find /path/to/maildir -type f -exec /Developer/Tools/SetFile -t TEXT {} \; Thanks for the link. I actually found this earlier today. What this does I believe is sets the file type, which I thought was deprec

Re: maildir file extensions

2013-04-16 Thread Tim Gray
On Apr 16, 2013 at 01:44 PM -0600, Charles Cazabon wrote: Not difficult. The trouble is that it violates the maildir specification; message filenames have a defined format, and ending with ".eml" breaks that format, which as you noticed, is used for storing flags (so you don't have to rewrite a

Re: maildir file extensions

2013-04-16 Thread Kyle Wheeler
On Tuesday, April 16 at 12:25 PM, quoth Tim Gray: I run mutt on OS X. As I'm sure many of you know, OS X has a system wide content indexing and search system called Spotlight. Spotlight already indexes and searches emails stored individually as files (similar to maildir) and OS X also has a p

Re: maildir file extensions

2013-04-16 Thread Charles Cazabon
Tim Gray wrote: > > If mutt simply wrote out messages in a maildir format with a '.eml' > extension, you'd get system wide search integration for free on OS X. [...] > How difficult would this be to implement? Not difficult. The trouble is that it violates the maildir specification; message fi

maildir file extensions

2013-04-16 Thread Tim Gray
Hi, First off I want to say how much I've enjoyed using mutt for the last 5 years. It really is a great program and does almost everything I could want. In recent years, everyone seems to want instant searching/virtual folder type of features. I know that's a bit out of mutt's scope. I kn