avoid using .srt suffix for text/plain temp files

This commit is contained in:
Jean-Francois Dockes 2015-10-09 16:14:32 +02:00
parent bca0f1dff0
commit 937c2cf4b3
5 changed files with 5 additions and 1 deletions

View File

@ -157,6 +157,7 @@ text/x-purple-log = exec rclpurple
text/x-purple-html-log = internal text/html text/x-purple-html-log = internal text/html
text/x-python = exec rclpython text/x-python = exec rclpython
text/x-shellscript = internal text/plain text/x-shellscript = internal text/plain
text/x-srt = internal text/plain
text/x-tex = exec rcltex text/x-tex = exec rcltex
application/xml = exec rclxml application/xml = exec rclxml

View File

@ -3,7 +3,7 @@
.txt = text/plain .txt = text/plain
.text = text/plain .text = text/plain
.srt = text/plain .srt = text/x-srt
.ini = text/x-ini .ini = text/x-ini
.csv = text/x-csv .csv = text/x-csv

View File

@ -134,6 +134,7 @@ application/x-perl = emacsclient --no-wait %f
text/x-perl = emacsclient --no-wait %f text/x-perl = emacsclient --no-wait %f
application/x-shellscript = emacsclient --no-wait %f application/x-shellscript = emacsclient --no-wait %f
text/x-shellscript = emacsclient --no-wait %f text/x-shellscript = emacsclient --no-wait %f
text/x-srt = emacsclient --no-wait %f
# Or firefox -remote "openFile(%u)" # Or firefox -remote "openFile(%u)"
text/html = firefox %u text/html = firefox %u

View File

@ -146,6 +146,7 @@ text/x-mail = internal
text/x-perl = internal text/plain text/x-perl = internal text/plain
text/x-python = exec python rclpython text/x-python = exec python rclpython
text/x-shellscript = internal text/plain text/x-shellscript = internal text/plain
text/x-srt = internal text/plain
application/xml = execm python rclxml application/xml = execm python rclxml
text/xml = execm python rclxml text/xml = execm python rclxml

View File

@ -139,6 +139,7 @@ application/x-perl = emacsclient --no-wait %f
text/x-perl = emacsclient --no-wait %f text/x-perl = emacsclient --no-wait %f
application/x-shellscript = emacsclient --no-wait %f application/x-shellscript = emacsclient --no-wait %f
text/x-shellscript = emacsclient --no-wait %f text/x-shellscript = emacsclient --no-wait %f
text/x-srt = emacsclient --no-wait %f
# Or firefox -remote "openFile(%u)" # Or firefox -remote "openFile(%u)"
text/html = firefox %u text/html = firefox %u