I have a working compilation error matcher, that contains the path to a file. The compilation buffer correctly adds a hyperlink to that file and I can open it in emacs. However, the file in question is an html report which I would like to open using an external browser. I already know how to modify the file element, so I could change it to give emacs a hint to open it with system tools. I think of something similar to a trump prefix for
find-file, but in this case for overlay hyperlinks. Does such a prefix exist?
As a bonus question: I would like to not use the system default browser but a specific one, say firefox. How could that be done?
Note: I think as a last resort to try something like
openwith, but this would smell more like a hack, because in general I want to open end edit html file in emacs.