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

Re: Bug#658139: evince: missing mime entry



On 2012-02-29, Andreas Tille <tille@debian.org> wrote:
> On Wed, Feb 29, 2012 at 04:59:32PM +0100, Raphael Hertzog wrote:
>> Russ Alberry gave some tentative spec for such a tool:
>> [🔎] 87k446oqzh.fsf@windlord.stanford.edu">http://lists.debian.org/[🔎] 87k446oqzh.fsf@windlord.stanford.edu
> Quoting this mail:
>
>    I think one has to make the
>    assumption that one can add %s after Exec in order to load a file, since
>    the desktop entry doesn't have an equivalent of the command. 
>
> So in such a tool some kind of wild guessing is involved even if I do
> not know any tool which contradicts this guess.

Then please stop handwaving and show the problems with that approach.  AFAIK
desktop applications generally do it that way.  Heck, even (g)vim does it that
way.  (Now if people come and say it's not an editor but the beast:
emacs(client) does it likewise, thanks.)

> It was discussed in this thread that mime contains more features than you can
> drain from desktop files and that it is definitely not straightforeward to
> turn the proposed "one liner that does 50%" of the job into a simple tool
> which does 100%.

Yep.  As long as the 100% - x of the packages are still able to override the
autogenerated output of the .desktop file converter with proper MIME info,
that's fine, no?

That said, as an avid mutt users I think this should be solved.  :-P

Kind regards
Philipp Kern


Reply to: