Re: [evolution-patches] Re: [Evolution] Patch to handle "file://" uri in Mail-component.



Hi,

On Wed, 2005-07-27 at 11:24 +0800, Not Zed wrote:
> You already have determined it is a maildir file, otherwise you wouldn't
> be using evolution or kmail to show it.

Well, gnome-vfs has determined it to be a maildir file, and when we open
it, we're just passing the URI to gnome-open, which opens it in whatever
the appropriate viewer is.  There isn't any special handling for maildir
files, just as there isn't for OpenOffice files or PDFs, except when
extracting format-specific data as part of our indexing process.

> Evolution (nor kmail for that matter) is not a file browser; it
> shouldn't be looking at generic file uri's to determine what to do with
> them.

No, I certainly agree that Evo shouldn't be opening random MS Word
files.  But it can use gnome-vfs to trivially determine if they're
message/rfc822.  (Of course, the only time this would come up in a
properly configured system is if someone explicitly tried to open such a
file with Evolution from the command-line.)

> But you're adding another arbitrary layer into the file url too, so it
> isn't just a file url anymore, so that argument falls down.

Do you mean the "action=reply" stuff?  I don't care about that, and I'd
rather it not go into Evolution if it didn't also work with at least
KMail.  Butchering the URIs in an incompatible manner isn't the right
way to go here.  I'd prefer that Evo had a --reply option and just took
the plain file URI.

> Who would have maildir files they care about in locations they aren't
> acesssing through evolution already, if they want evolution to access
> them?

I think it's mostly a power user feature, but people archive mail on
their hard drives, and Beagle's job is to search everything.  It's come
up.

Joe




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]