dirvish icon indicating copy to clipboard operation
dirvish copied to clipboard

[Feature Request] Integrate the `dervish-open-with-programs` mechanism with `~/.config/mimeapps.list`

Open hab25 opened this issue 2 years ago • 4 comments

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.

hab25 avatar Jan 30 '23 22:01 hab25

embark-open-externally (https://github.com/oantolin/embark/blob/4882b395cef98a517d530ffe483aa0dc7201158c/embark.el#L3645) does this.

hab25 avatar Feb 11 '23 17:02 hab25

If you configure mailcap to use xdg-open but you don't need to configure something inside Emacs. This feature request is redundant.

Thaodan avatar Mar 08 '24 09:03 Thaodan

@Thaodan what is mimecap?

hab25 avatar Mar 08 '24 16:03 hab25

Sorry Mailcap.

Thaodan avatar Mar 08 '24 17:03 Thaodan