[Feature Request] Integrate the `dervish-open-with-programs` mechanism with `~/.config/mimeapps.list`
Is your feature request related to a problem? Please describe.
It is annoying to have to specify filetype-to-program associations both in ~/.config/mimeapps.list and in dervish-open-with-programs.
Describe the solution you'd like
The function that looks at dervish-open-with-programs should instead pull data from ~/.config/mimeapps.list by default, probably with a customization to turn off this behaviour.
Additional context
There exists an xdg-open CLI command that may make this easy.
I assume non-XDG-compliant desktop environments (e.g. OSX, Windows) have equivalent annoyances, but XDG-compliants are probably the easiest to provide this integration for.
embark-open-externally (https://github.com/oantolin/embark/blob/4882b395cef98a517d530ffe483aa0dc7201158c/embark.el#L3645) does this.
If you configure mailcap to use xdg-open but you don't need to configure something inside Emacs. This feature request is redundant.
@Thaodan what is mimecap?
Sorry Mailcap.