And of course, carry whatever we do in the config file over to the :open command (probably has to be a new variation of it, since the original :open passed flags) for specifying the opener as well.
For sent items, I think displaying the recipient is more useful:[ui:folder=Sent] index-format=%D %-17.17t %Z %s
Not sure if the flags are of much value at that point either:[ui:folder=Sent] index-format=%D %-21.21t %s
This is a suggestion rather than a request btw.
And having printf-style substitutions available (at least full path to file [single vs. multiple like xdg .desktop spec]) would also be a plus, since with a few strange programs the last parameter isn't necessarily the input.
Basically a riff on [filters], but for opening things. If not specified for a given mime type, revert to present xdg-open-style functionality. I think tempfiles would be better than piping for this particular feature, since a lot of programs don't have a simple way of pulling input from stdin (like browsers). That's some of the awkwardness of what I'm already doing--making a shell script just to snag stdin to a file & clean up afterward.
ps> Doing this with :pipe, sh, & binds.conf at the moment, but it's kind of awkward. Would also be nice if pipe/exec could expand environment variables (or $HOME at least).
With html parts, I like the w3m-style filtering for the terminal, but sometimes I'd like to view in a browser. When I do that, I prefer to use a dumber browser than my system browser, socksify it, and add the flags that disable scripts/caching/cookies/etc.
Am I overlooking a way to achieve this with the built-ins? If not, would you welcome a patch to add this feature?