--- sampleconf/mimeview 2019-09-17 18:28:40.000000000 +0200
+++ sampleconf/mimeview.mac 2019-09-17 18:20:09.000000000 +0200
## ##########################################
# External viewers, launched by the recoll GUI when you click on a result
+# On the MAC, we use "open" for everything...
# Mime types which we should not uncompress if they are found gzipped or
# bzipped because the native viewer knows how to handle. These would be
# Use xallexcepts- and xallexcepts+ in a user file to add or remove from
# the default xallexcepts list
-xallexcepts = application/pdf application/postscript application/x-dvi \
- text/html|gnuinfo text/html|chm text/html|epub \
- application/x-fsdirectory|parentopen inode/directory|parentopen
+#xallexcepts = application/pdf application/postscript application/x-dvi \
+# text/html|gnuinfo text/html|chm text/html|epub \
+# application/x-fsdirectory|parentopen inode/directory|parentopen
# Pseudo entry used if the 'use desktop' preference is set in the GUI.
# Note that we use %U to url-encode the parameter
-application/x-all = xdg-open %U
+application/x-all = open %f
application/epub+zip = ebook-viewer %f
# Open the parent epub document for epub parts instead of opening them as
application/x-7z-compressed = ark %f
-application/javascript = emacsclient --no-wait %f
-application/x-awk = emacsclient --no-wait %f
-application/x-bibtex = emacsclient --no-wait %f
-application/x-csharp = emacsclient --no-wait %f
-application/x-java = emacsclient --no-wait %f
-application/x-perl = emacsclient --no-wait %f
-application/x-php = emacsclient --no-wait %f
-application/x-shellscript = emacsclient --no-wait %f
-text/x-bibtex = emacsclient --no-wait %f
-text/css = emacsclient --no-wait %f
-text/x-csharp = emacsclient --no-wait %f
-text/x-java = emacsclient --no-wait %f
-text/x-perl = emacsclient --no-wait %f
-text/x-shellscript = emacsclient --no-wait %f
-text/x-srt = emacsclient --no-wait %f
+application/javascript = emacsclient %f
+application/x-awk = emacsclient %f
+application/x-bibtex = emacsclient %f
+application/x-csharp = emacsclient %f
+application/x-java = emacsclient %f
+application/x-perl = emacsclient %f
+application/x-php = emacsclient %f
+application/x-shellscript = emacsclient %f
+text/x-bibtex = emacsclient %f
+text/css = emacsclient %f
+text/x-csharp = emacsclient %f
+text/x-java = emacsclient %f
+text/x-perl = emacsclient %f
+text/x-shellscript = emacsclient %f